Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 2026 11:14:11 +0100
From:      vermaden <vermaden@interia.pl>
To:        Nikos Vassiliadis <nvass@gmx.com>, "freebsd-stable@FreeBSD.org" <freebsd-stable@FreeBSD.org>
Subject:   Re: pkg upgrade with inverting match?
Message-ID:  <lsbeaiwlskwlprcnbmye@swnc>
In-Reply-To: <59ce425f-77a5-409f-a307-b54541addc90@gmx.com>

index | next in thread | previous in thread | raw e-mail

Hi.


Temat: pkg upgrade with inverting match?
Data: 2026-03-19 10:34
Nadawca: "Nikos Vassiliadis" &lt;nvass@gmx.com>
Adresat: freebsd-stable@FreeBSD.org; 


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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?lsbeaiwlskwlprcnbmye>