Re: pkg upgrade with inverting match?
- Reply: Paul Mather : "Re: pkg upgrade with inverting match?"
- Reply: vermaden : "Re: pkg upgrade with inverting match?"
- In reply to: Paul Mather : "Re: pkg upgrade with inverting match?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 19 Mar 2026 16:40:46 UTC
On 19/03/2026 14:42, Paul Mather wrote: > On Mar 19, 2026, at 7:29 am, Miroslav Lachman <000.fbsd@quip.cz> wrote: [...] >> 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. > > > The "pkg" command allows you to define aliases in pkg.conf. So, if you wanted to save on typing, you could, say, define "base-upgrade" and "ports-upgrade" aliases to restrict "pkg upgrade" to just the appropriate repositories. Yes, and everyone will fix it locally, each in their own way, so every computer will have a different command to achieve the same result. What an amazing time we live in. I still don't think it's a good idea to combine base system updates and package upgrades into a single command by default. Now even something as simple as patch level security base update can completely break user's desktop if package upgrade runs at the same time and the repository happens to be missing such important packages as Firefox, Thunderbird, KDE / Plasma, etc. (missing packages that pkg upgrade then uninstalls from the local machine — I see this problem far too often) Kind regards Miroslav Lachman