Date: Fri, 08 Aug 2025 19:34:27 +0200 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org> To: Mark Millard <marklmi@yahoo.com> Cc: =?utf-8?Q?Jes=C3=BAs?= Daniel Colmenares Oviedo <dtxdf@freebsd.org>, FreeBSD-pkgbase@freebsd.org, FreeBSD-pkg@freebsd.org Subject: Re: Deletion of just installed port-packages: a question [Trying to avoid being part of other somewhat-related discussions] Message-ID: <861ppl3efw.fsf@ltc.des.dev> In-Reply-To: <D3EBBEF5-0463-456B-B198-C7A0CE75542D@yahoo.com> (Mark Millard's message of "Fri, 8 Aug 2025 08:58:02 -0700") References: <FAFC65E2-BD71-4320-81BC-9D698A476BF2@yahoo.com> <7d8a6b67-700c-47ac-8484-d6a45961a9c4@freebsd.org> <D3EBBEF5-0463-456B-B198-C7A0CE75542D@yahoo.com>
index | next in thread | previous in thread | raw e-mail
Mark Millard <marklmi@yahoo.com> writes: > Also: I'm not sure that pkg clean -n is appropriate for main or > stable/* where the upstream updates can happen multiple times per day > and could easily lead to removals from /var/cache/pkg/ between > deliberate pkgbase updates. imo `pkg clean` without -f (which it currently doesn't have) should not remove a cached file, even if out of date, if it corresponds to the version that's currently installed. That's not currently the case, but it should be relatively easy to implement. DES -- Dag-Erling Smørgrav - des@FreeBSD.orghome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?861ppl3efw.fsf>
