Re: Deletion of just installed port-packages (excluding base): success

From: Mark Millard <marklmi_at_yahoo.com>
Date: Thu, 07 Aug 2025 21:41:11 UTC
On Aug 7, 2025, at 13:54, Yves Guérin <yvesguerin@yahoo.ca> wrote:

> Dear
> 
> > Personally, I would rarely clean the cache
> 
> I did everytime I need space in /var so not desirable for my point of view.
> 
> Regards,
> 
> Yves Guerin

It might be that what was listed was only ones "that have
been superseded by newer versions, and any packages that
are no longer provided". (From "man pkg-clean" in my
environment.)

> Le jeudi 7 août 2025 à 16:23:03 UTC−4, Graham Perrin <grahamperrin@gmail.com> a écrit : 
> 
> 
> On 07/08/2025 16:57, Mark Millard wrote:
>> … Actually the file indicates that /var/cache/pkg/FreeBSD-*.pkg
>> files would be deleted by the "pkg clean" (if -n had not been
>> provided):
>> 
>> QUOTE
>> The following package files will be deleted:
>> /var/cache/pkg/FreeBSD-libexecinfo-dev-lib32-15.snap20250715051601~2b1b4b0e75.pkg
>> /var/cache/pkg/FreeBSD-telnet-man-15.snap20241026125659.pkg
>> . . .
>> /var/cache/pkg/FreeBSD-bsdinstall-dbg-15.snap20250720000631.pkg
>> /var/cache/pkg/FreeBSD-libexecinfo-dbg-15.snap20250720000631.pkg
>> The cleanup will free 1 GiB
>> END QUOTE
>> 
>> I do not know if this would be desired vs. not.
>> 
>> …
> 
> Personally, I would rarely clean the cache. 
> I think, we're partly experimenting with what's possible; not necessarily what's recommended (or desirable). 
> I might demonstrate the effect of -fqy but that's certainly not a recommendation; and so on. 
> HTH

===
Mark Millard
marklmi at yahoo.com