Date: Thu, 4 Apr 2024 18:02:22 +0200 From: Torfinn Ingolfsen <tingox@gmail.com> To: freebsd-ports@freebsd.org Subject: Re: `pkg autoremove` uninstalls pkg itself Message-ID: <CAJ_iqtbm%2BU4v1BPiZYNQJt3BTLVtX4GJRzsgu4cd7xu31hExBA@mail.gmail.com> In-Reply-To: <20240404.202624.2016737165801435957.yasu@FreeBSD.org> References: <20240404.202624.2016737165801435957.yasu@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 4, 2024 at 1:27=E2=80=AFPM Yasuhiro Kimura <yasu@freebsd.org> w= rote: > > Hello, > > I tried following steps. > > 1. Make clean install of 14.0-RELEASE amd64. > 2. Login as root > 3. pkg install git-tiny > 4. cd /usr/ports > 5. git clone https://git.freebsd.org/ports.git . > 6. pkg delete -afy > 7. cd security/sudo (Probably any other ports are OK expect ports-mgmt/pk= g) > 8. make install > 9. pkg-static autoremove -y > > Then step 9 uninstalls pkg package itself. And it is a bit surprising > for me. > > Then is it expected behavior? Yes, this is the expected behavior. Bonus points for figuring out how to install pkg on a system that doesn't have it. :-) --=20 Regards, Torfinn Ingolgfsen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ_iqtbm%2BU4v1BPiZYNQJt3BTLVtX4GJRzsgu4cd7xu31hExBA>