[Bug 290344] pkg delete all installed packages on pkgbase system
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Oct 2025 02:20:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290344
--- Comment #6 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Graham Perrin from comment #5)
Hmm. I'd not tried it myself yet. (-rREPONAME not
being allowed and the below is without having pkg
locked at the time):
# pkg repos -e
main-amd64-default: {
url :
"file:///usr/local/poudriere/data/packages/main-amd64-default",
enabled : yes,
priority : 0
}
# pkg delete -a
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
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
pkg: Cannot solve problem using SAT solver
cannot remove package FreeBSD-libvmmapi-dev, remove it from request? [Y/n]: ^C
That suggests that being disabled does not eliminate
FreeBSD-* from being part of the potential delete.
Side note:
It is not clear why FreeBSD-libvmmapi-dev was reported
as not being removable.
Trying with pkg locked instead:
# pkg delete -a
pkg: pkg is locked cannot delete FreeBSD-libarchive
pkg: pkg is locked cannot delete FreeBSD-openssl-lib
pkg: pkg is locked cannot delete FreeBSD-openssl-lib
Cannot perform request
That too reports that FreeBSD-* is being considered,
although the whole delete ends up being prevented.
So it looks like Colin P. was wrong about what he
reported about what he intended to do.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.