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





On Fri, 12 Dec 2025, Van Ly wrote:

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)
  }

This works, but it might not rebuild dependencies. pkg_rolling-replace and pkgrrxx will mark some packages as "unsafe dependencies" and also rebuild those if needed.

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

The pkgchkxx package contains pkgrrxx as a (much much faster!) pkg_rolling-replace drop-in replacement.

--
Benny


Home | Main Index | Thread Index | Old Index