Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Oct 2025 02:20:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 290344] pkg delete all installed packages on pkgbase system
Message-ID:  <bug-290344-32340-GWe68BgVO9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-290344-32340@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-290344-32340-GWe68BgVO9>