[Bug 254050] pkgbase: pkg autoremove is removing packages it shouldn't
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Mar 6 01:47:02 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254050
Mark Millard <marklmi26-fbsd at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marklmi26-fbsd at yahoo.com
--- Comment #1 from Mark Millard <marklmi26-fbsd at yahoo.com> ---
(In reply to Mina Galić from comment #0)
I wonder if the pkg command for automremove should
have been using -c to operate in a chroot context
instead of using -r, -c making it more likely see
a self consistent context?
sudo pkg -c /isolates/pkg-auto-remove-bug/root autoremove
For reference:
-c ⟨chroot path⟩, --chroot ⟨chroot path⟩
pkg will chroot in the ⟨chroot path⟩ environment.
(I had to look it up to notice the -c vs -r
distinction.)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list