Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Mar 2021 01:47:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 254050] pkgbase: pkg autoremove is removing packages it shouldn't
Message-ID:  <bug-254050-227-5JutZyRzAT@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254050-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-254050-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254050

Mark Millard <marklmi26-fbsd@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marklmi26-fbsd@yahoo.com

--- Comment #1 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mina Gali=C4=87 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 =E2=9F=A8chroot path=E2=9F=A9, --chroot =E2=9F=A8chroot path=E2=9F=
=A9
             pkg will chroot in the =E2=9F=A8chroot path=E2=9F=A9 environme=
nt.

(I had to look it up to notice the -c vs -r
distinction.)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254050-227-5JutZyRzAT>