RE: pkg upgrade with inverting match? (proposal)
- Reply: Mark Millard : "Re: pkg upgrade with inverting match? (proposal)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 20 Mar 2026 09:54:27 UTC
Added my proposal for additional pkg(8) aliases here:
- https://github.com/freebsd/pkg/issues/2626
In short:
```
% grep -E 'FreeBSD-(p|b)' /usr/local/etc/pkg.conf
upgrade-packages = "upgrade -r FreeBSD-ports -r FreeBSD-ports-kmods";
upg-pkgs = "upgrade -r FreeBSD-ports -r FreeBSD-ports-kmods";
upgrade-base = "upgrade -r FreeBSD-base";
upg-base = "upgrade -r FreeBSD-base";
```
So now one can:
# pkg upgrade-packages
To only upgrade pkg(8) 3rd party packages w/o touching PKGBASE Base System.
... and with that:
# pkg upgrade-base
To only upgrade PKGBASE Base System and do not mess with 3rd party software.
Hope that helps.
Regards,
vermaden
Temat: Re: pkg upgrade with inverting match?
Data: 2026-03-19 16:24
Nadawca: "Kurt Jaeger" <pi@freebsd.org>
Adresat: "Charles Sprickman" <spork@bway.net>;
DW: "freebsd-stable@FreeBSD.org" <freebsd-stable@freebsd.org>;
> This is where bugs.freebsd.org waits for
> patches and submissions.
>
> And wiki.freebsd.org pages to update 8-}
>
> Well, at least, before the Big AI in the Sky
> comes to do all this for us 8-}
>
> --
> pi@FreeBSD.org +49 171 3101372 Now what ?