Date: Tue, 23 Apr 2024 07:13:10 +0900 From: Tatsuki Makino <tatsuki_makino@hotmail.com> To: Yasuhiro Kimura <yasu@FreeBSD.org>, freebsd-ports@freebsd.org Subject: Re: `pkg autoremove` uninstalls pkg itself Message-ID: <SI2PR01MB503656BFDEB5111308B0C7E1FA122@SI2PR01MB5036.apcprd01.prod.exchangelabs.com> In-Reply-To: <20240422.153829.2143482140363167816.yasu@FreeBSD.org> References: <20240421.223026.1542858955517379564.yasu@FreeBSD.org> <20240422.033404.1260345725989401397.yasu@FreeBSD.org> <SI2PR01MB5036F6B6FC947B5C27517337FA132@SI2PR01MB5036.apcprd01.prod.exchangelabs.com> <20240422.153829.2143482140363167816.yasu@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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/e482b6668b813359ad3658ad5c5c1432964e7b1b/libpkg/pkg_jobs.c#L2191 Wasn't there some change a while ago regarding the vital flag? If there is no vital flag and the pattern is MATCH_ALL, pkg seems to be caught in a deletion tsunami :) Regards.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SI2PR01MB503656BFDEB5111308B0C7E1FA122>