Re: PKGBASE Removes FreeBSD Base System Feature

From: vermaden <vermaden_at_interia.pl>
Date: Wed, 06 Aug 2025 21:54:35 UTC
> No, it has the same behaviour.

English is not my primary language so I will try to explain in more simple words as you probably did not understood.

NOPE.

It DOES NOT has the same behavior.

Situation A.

A.1. You have FreeBSD 15-CURRENT installed in 'classic' way.
A.2. You issue this command: # pkg delete -af
A.3. All Third Party packages are deleted from your system.
A.4. You FreeBSD 15-CURRENT Base System remain UNTOUCHED.

Situation B.

B.1. You have FreeBSD 15-CURRENT installed in 'PKGBSD' way.
B.2. You issue this command: # pkg delete -af
B.3. All Third Party packages are deleted from your system.
B.4. You FreeBSD 15-CURRENT Base System is REMOVED with only 2/290 packages UNTOUCHED

Details here:
- https://github.com/freebsd/pkg/issues/2485#issuecomment-3133359219

Regards,
vermaden






Temat: Re: PKGBASE Removes FreeBSD Base System Feature
Data: 2025-08-06 23:11
Nadawca: "Ceri Davies" &lt;ceri@submonkey.net>
Adresat: "vermaden" &lt;vermaden@interia.pl>; 
DW: FreeBSD-pkgbase@freebsd.org; 

>> On 6 Aug 2025, at 18:40, vermaden  wrote:
>> 
>> 
>>> 
>>> Because that’s what you asked for.
>>> Why would the command do anything other than that?
>>> If it did not, what command should and would you oppose it
existing?
>> 
>> The problem is that the same 'pkg delete -af' command - will behave
DIFFERENTLY with PKGBASE and without PKGBASE on the same FreeBSD version
system - that is the center of the problem.
>> 
> 
> No, it has the same behaviour.
> 
> The result on the system may be different, but that is true of many,
many commands that make assumptions about the existing configuration of a
system.
> 
> Ceri
> 
>