Date: Fri, 24 Apr 2026 12:39:18 +0100 From: Lexi Winter <ivy@freebsd.org> To: freebsd-pkgbase@freebsd.org Subject: Re: Can't safely remove pkgbase pkgs (delete -f needed) Message-ID: <aetWZlaxXJ6Zpm_4@amaryllis.le-fay.org> In-Reply-To: <2471349e-05d4-e482-4366-3ff757afd54c@bluerosetech.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] list_freebsd@bluerosetech.com wrote in <2471349e-05d4-e482-4366-3ff757afd54c@bluerosetech.com>: > # 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 > > What am I doing wrong? you have a set package installed, probably set-optional or set-base. before you can remove packages which are part of this set, you need to remove the set package. for example: # pkg set -v0 FreeBSD-set-base # pkg set -v0 FreeBSD-set-optional # pkg remove FreeBSD-set-base FreeBSD-set-optional # pkg remove FreeBSD-local-unbound after doing that, you should remove the autoinstalled flag for any remaining packages, to avoid pkg autoremove trying to remove them: # pkg query -e '%o ~ base/FreeBSD-*' 'pkg set -yA0 %n' | sh i sugest *not* doing this for set-minimal (or set-minimal-jail), because if you remove that set, you will not get any new required base packages installed automatically when updating. this is safe for any other sets. these set packages will eventually be replaced by package groups, once pkg supports that, which will provide a more useful and less confusing user interface. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaetWWwAKCRD1nT63mIK/ YJjjAQC/Y7FZJY4mv84slhj+F3CMvhOm8acgw7omQqk1F0ZozgEA3m+UdFGhuvrE 16/ua3w4e8yy4qWmErOCG6GOnOluDAM= =v6ZA -----END PGP SIGNATURE-----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aetWZlaxXJ6Zpm_4>
