Hi.

Temat: pkg upgrade with inverting match?
Data: 2026-03-19 10:34
Nadawca: "Nikos Vassiliadis" <[email protected]>
Adresat: [email protected]; 


>> Hi,
> 
> Is there a way to invert a match when upgrading? Since I've started
> using pkgbase I find myself wanting to upgrade only non-base packages
> and I haven't found a quick way to do it. It would be great to have
> an option to invert -g or -x matches.
> 
> Thanks,
> Nikos

You can upgrade only with specified 'FreeBSD-ports' and 'FreeBSD-ports-kmods' 
repos:

root@freebsd15:~ # pkg upg -r FreeBSD-ports -r FreeBSD-ports-kmods
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
FreeBSD-ports, FreeBSD-ports-kmods are up to date.
Checking for upgrades (0 candidates): 100%
Processing candidates (0 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.

So PKGBASE 'Base System' will not be upgraded because its in the 'FreeBSD-base' 
repo.

Regards,
vermaden

Reply via email to