pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD 11 beta users: please update base and rebuild pkgs



Benny Siegert <bsiegert%netbsd.org@localhost> writes:

> On Wed, 10 Dec 2025, Van Ly wrote:
>
>>
>> Jonathan Perkin <jperkin%pkgsrc.org@localhost> writes:
>>
>>>    $ pkg_info -Xa \
>>>      | awk -F= '/^PKGNAME/ {p = $2} /^REQUIRES/ && $2 ~ /pthread|crypto/ {print p}' \
>>>      | uniq
>
> Now you add
>
> | xargs pkg_admin set rebuild=YES
>
> and run pkg_rolling-replace, or pkgrrxx.

I experimented with the following.  Is it less ideal?

   my @pkgs = qw( .. );
   for my $p (@pkgs) {
     my $d = "/usr/pkgsrc/$p";
     print "dir: $d\n";
     chdir $d;
     my @c = ('bmake', 'replace', 'clean', 'clean-depends');
     system(@c)
   }

`pkgchkxx' is the nearest to `pkgrrxx' if that is a typo.

-- 
vl


Home | Main Index | Thread Index | Old Index