Re: `pkg autoremove` uninstalls pkg itself

2024-04-22 Thread Tatsuki Makino
Yasuhiro Kimura wrote on 2024/04/22 15:38: > But the line hasn't changed since 2012. So it doesn't seems to be the > cause of the issue. It seems to be around here that pkg and pkg-devel make it impossible to delete without setting the force flag. https: //github.com /freebsd/pkg/blob/e482b6668b

Re: `pkg autoremove` uninstalls pkg itself

2024-04-21 Thread Yasuhiro Kimura
From: Tatsuki Makino Subject: Re: `pkg autoremove` uninstalls pkg itself Date: Mon, 22 Apr 2024 07:35:13 +0900 > Good morning. > > I think the reason why the automatic flag in pkg is not up is because there > is an .undef here. > https: //cgit.freebsd.org /ports/tree/ports-mg

Re: `pkg autoremove` uninstalls pkg itself

2024-04-21 Thread Tatsuki Makino
Good morning. I think the reason why the automatic flag in pkg is not up is because there is an .undef here. https: //cgit.freebsd.org /ports/tree/ports-mgmt/pkg/Makefile#n72 The package pkg is guessed to have been installed by a manual operation by the bootstrap pkg. (This has not been confirm

Re: `pkg autoremove` uninstalls pkg itself

2024-04-21 Thread Yasuhiro Kimura
From: Yasuhiro Kimura Subject: Re: `pkg autoremove` uninstalls pkg itself Date: Sun, 21 Apr 2024 22:30:26 +0900 (JST) > Just from curiosity I checked out following commit and tested if the > issue also happens (I selected the commit just because it was > committed on the release dat

Re: `pkg autoremove` uninstalls pkg itself

2024-04-21 Thread Yasuhiro Kimura
From: Yasuhiro Kimura Subject: Re: `pkg autoremove` uninstalls pkg itself Date: Fri, 19 Apr 2024 21:43:07 +0900 (JST) > My question is, then, why what didn't happen before has happend? > > A. Something (ports-mgmt/pkg or ports framework) has changed >resently so `

Re: `pkg autoremove` uninstalls pkg itself

2024-04-19 Thread Yasuhiro Kimura
From: Torfinn Ingolfsen Subject: Re: `pkg autoremove` uninstalls pkg itself Date: Thu, 4 Apr 2024 18:02:22 +0200 > Yes, this is the expected behavior. > Bonus points for figuring out how to install pkg on a system that > doesn't have it. :-) From: Gleb Popov Subject: Re: `

Re: `pkg autoremove` uninstalls pkg itself

2024-04-04 Thread Dag-Erling Smørgrav
Yasuhiro Kimura writes: > 1. Make clean install of 14.0-RELEASE amd64. > 2. Login as root > 3. pkg install git-tiny Since you didn't already have pkg, it was bootstrapped here, and marked it as non-automatic. > 4. cd /usr/ports > 5. git clone https://git.freebsd.org/ports.git . > 6. pkg delete -

Re: `pkg autoremove` uninstalls pkg itself

2024-04-04 Thread Gleb Popov
On Thu, Apr 4, 2024 at 2:28 PM Yasuhiro Kimura wrote: > > I tried following steps. > ... > 6. pkg delete -afy Eh? Why did you do that? This probably removed pkg that you bootstrapped earlier and then reinstalled it from ports which changed the automatic flag value (my guess).

Re: `pkg autoremove` uninstalls pkg itself

2024-04-04 Thread Torfinn Ingolfsen
On Thu, Apr 4, 2024 at 1:27 PM Yasuhiro Kimura wrote: > > 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/su