Re: PKGBASE Removes FreeBSD Base System Feature

From: Joel Dahl <joel_at_vnode.se>
Date: Thu, 31 Jul 2025 05:05:33 UTC
On Thu, Jul 31, 2025 at 03:57:47AM +0200, Miroslav Lachman wrote:
> On 30/07/2025 20:30, vermaden wrote:
> > Hi.
> > 
> > I have only two proposals that seem sensible.
> > 
> > (1)
> > 
> > Keep pkg(8) for third party packages with /etc/pkg and /usr/local/etc/pkg and /var/db/pkg dirs for configuration.
> > 
> > Use separate pkgbase(8) with /etc/pkgbase and /usr/local/etc/pkgbase and /var/db/pkgbase dirs for managing PKGBASE packages. By pkgbase(8) I have the same pkg(8) project in mind - just renamed as pkgbase(8) and with */pkgbase dirs instead of */pkg.
> > 
> > (2)
> > 
> > My other idea is to 'mark' all FreeBSD Base System packages as 'vital' - so they are never removed automatically - but if someone wants to remove them with additional force option - then I assume he knows what he is doing.
> > 
> > I would prefer (1) over (2) if you ask me.
> 
> I would also like to separate it. Use one command to update (upgrade) 3rd
> party packages and another to update (upgrade) base packages. It is our
> workflow for the last 25+ years thus running one command to update both is
> really unexpected and unwanted.

A big +1 here. Please keep commands for base and 3rd party packages separated.

-- 
Joel