Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Apr 2024 20:26:24 +0900 (JST)
From:      Yasuhiro Kimura <yasu@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   `pkg autoremove` uninstalls pkg itself
Message-ID:  <20240404.202624.2016737165801435957.yasu@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
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/pkg)
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?

Regards.

---
Yasuhiro Kimura



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240404.202624.2016737165801435957.yasu>