Re: `pkg autoremove` uninstalls pkg itself
- In reply to: Yasuhiro Kimura : "Re: `pkg autoremove` uninstalls pkg itself"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Apr 2024 22:13:10 UTC
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.