Re: Default versions and pkg (slight rant)

From: Piotr Smyrak <>
Date: Mon, 10 Oct 2022 13:47:19 UTC
On Sun, 9 Oct 2022 12:18:22 -0700
Dan Mahoney <> wrote:

> Pkg remove only attempts to remove things, not fix a running system.
> Pkg doesn't have any option to keep leaf packages installed at all
> cost.  Nor does it fire the solver when doing a pkg remove.

You can remove a force package and keep the leaf packages.

# pkg delete -f some_dep

That would remove the some_dep package and keep its children
intact. Then I would suggest a sanity check with:

# pkg check --shlibs
# pkg check --dependencies

 Piotr Smyrak