Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Apr 2026 23:20:50 -0700
From:      list_freebsd@bluerosetech.com
To:        freebsd-pkgbase@freebsd.org
Subject:   Can't safely remove pkgbase pkgs (delete -f needed)
Message-ID:  <2471349e-05d4-e482-4366-3ff757afd54c@bluerosetech.com>

index | next in thread | raw e-mail

I'm trying to delete some of the pkgbase pkgs I don't need.  They were 
installed as a pkgbase install from the 15.0-R amd64 bootonly ISO, not a 
pkgbasify'd system.  pkg does not work correctly with FreeBSD-base pkgs:

# pkg info -E pkg
pkg-2.6.2_1

# pkg delete FreeBSD-local-unbound-15.0
Cannot solve problem using SAT solver, trying another plan
Cannot solve problem using SAT solver, trying another plan
Cannot solve problem using SAT solver, trying another plan
Cannot solve problem using SAT solver, trying another plan
Cannot solve problem using SAT solver, trying another plan
Checking integrity... done (0 conflicting)
1 packages requested for removal: 0 locked, 1 missing

If I use pkg delete -f it finds it, but it leaves broken deps:

# pkg delete -f FreeBSD-local-unbound-15.0
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 
packages in the universe):

Installed packages to be REMOVED:
         FreeBSD-local-unbound: 15.0

Number of packages to be removed: 1

The operation will free 2 MiB.

Proceed with deinstalling packages? [y/N]: y
[1/1] Deinstalling FreeBSD-local-unbound-15.0...
[1/1] Deleting files for FreeBSD-local-unbound-15.0: 100%
==> Running trigger: mandoc.ucl
Generating apropos(1) database for /usr/share/man...
Generating apropos(1) database for /usr/share/openssl/man...

# pkg info -d FreeBSD-local-unbound-dev-15.0
FreeBSD-local-unbound-dev-15.0:
         FreeBSD-local-unbound-(null)
         FreeBSD-clibs-15.0 (libc.so.7)
         FreeBSD-openssl-lib-15.0p2 (libcrypto.so.35)
         FreeBSD-openssl-lib-15.0p2 (libssl.so.35)
         FreeBSD-clibs-15.0 (libthr.so.3)


What am I doing wrong?


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2471349e-05d4-e482-4366-3ff757afd54c>