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.

Kind regards
Miroslav Lachman

As for additional groups like base-minimal or base-standard - I do not have 
anything against such additional features or layers - its not related to the 
main topic IMHO - that with 'classic' FreeBSD the *pkg delete -af* removes only 
third party packages and with PKGBASE FreeBSD it removes almost all system 
rendering it unbootable/unusable.

Hope that helps.

Regards,
vermaden


Reply via email to