Date: Fri, 8 Aug 2025 16:15:29 +0100 From: David Chisnall <theraven@FreeBSD.org> To: DutchDaemon - FreeBSD Forums Administrator <DutchDaemon@FreeBSD.org> Cc: "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>, FreeBSD CURRENT <freebsd-current@freebsd.org>, freebsd-pkgbase@freebsd.org Subject: Re: PKGBASE Removes FreeBSD Base System Feature Message-ID: <33CC4995-5B1D-4640-A5B0-2E7AD599D5BA@FreeBSD.org> In-Reply-To: <81470e1f-5a91-453b-a1aa-20a7e9fb8855@FreeBSD.org> References: <79429D6B-7948-4D27-9F14-664CC075547A@FreeBSD.org> <EA7F6AC8-CCFF-4F59-AD51-57AED93E5A23@codenetworks.net> <7D0CD326-0CB0-41F0-99C2-BFEB9F4DC1EA@FreeBSD.org> <81470e1f-5a91-453b-a1aa-20a7e9fb8855@FreeBSD.org>
index | next in thread | previous in thread | raw e-mail
On 8 Aug 2025, at 15:59, DutchDaemon - FreeBSD Forums Administrator <DutchDaemon@FreeBSD.org> wrote:
>
> On 8/8/2025 4:20 PM, David Chisnall wrote:
>> Every upgrade flow I have on every FreeBSD machine I use is simplified by pkgbase. Having fewer tools is a usability win. Having a single command upgrade everything is a usability win. If you*want to* upgrade only some things, that’s one extra command-line flag.
> Just to clarify things from an inverse perspective: in a pkgbase scenario, how would one go about deleting all ports, and only ports? What would the new pkg command be?
It should be `pkg del -r {repo name}`.
It is not, currently, because (unlike the install commands), `pkg delete` does not accept the `-r` flag (presumably because the only place where it makes sense is in concert with the `-a` flag and no one thought of that use case).
I think that’s a bug, it should probably be fixed. And now we have a meaningful and actionable requirement. I have filed this issue:
https://github.com/freebsd/pkg/issues/2494
David
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33CC4995-5B1D-4640-A5B0-2E7AD599D5BA>
