Re: pkg upgrade with inverting match?

Miroslav Lachman <[email protected]> Thu, 19 Mar 2026 12:29:25 +0100
Newsgroups gmane.os.freebsd.stable
Message-ID <[email protected]>
On 19/03/2026 11:35, Nikos Vassiliadis wrote:
> On 3/19/26 12:14, vermaden wrote:

[..]

>> You can upgrade only with specified 'FreeBSD-ports' and 'FreeBSD- 
>> ports-kmods' repos:
>>
>> root@freebsd15:~ # pkg upg -r FreeBSD-ports -r FreeBSD-ports-kmods

[..]

> 
> Hi vermaden,
> 
> Oh yes, that does what I asked for. Thank you!
> 
> For completeness reasons I think it would be nice to add an option to
> pkg to invert matches. Maybe it should invert -r as well!

First and most important (at least for me) would be a clear separation 
of base system upgrades from 3rd packages, without having to enter 
40-character-long arguments.

Kind regards
Miroslav Lachman