Re: Trying to understand base system packages

From: Sad Clouds <cryintothebluesky_at_gmail.com>
Date: Thu, 11 Dec 2025 19:37:40 UTC
On Thu, 11 Dec 2025 15:39:14 +0000
Lexi Winter <ivy@freebsd.org> wrote:

> Sad Clouds wrote in <20251211152822.d5d3c51766a25b14f37eefd4@gmail.com>:
> > # pkg info | grep metapackage
> > 
> > Then for each metapackage I executed:
> > 
> > # pkg delete -f FreeBSD-set-XXX
> > 
> > This removed all sets, including base. The individual packages are
> > still there. I did not touch them.
> > 
> > If I now attempt to run "pkg autoremove" to see which packages need to
> > be marked manually installed, pkg goes into infinite loop, gradually
> > consuming memory at a rate of 1 MiB every 5 seconds.
> 
> this sounds like a pkg bug (it is certainly not intentional behaviour),
> which you can report at <https://github.com/freebsd/pkg>.  i suggest
> saving a copy of /var/db/pkg from the affected system, as this might
> be important to diagnose the issue.

https://github.com/freebsd/pkg/issues/2571

I'll keep the VM in this state for now in case anyone needs more info.