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" <[email protected]>
Adresat: "Charles Sprickman" <[email protected]>;
DW: "[email protected]" <[email protected]>;
> 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-}
>
> --
> [email protected] +49 171 3101372 Now what ?