Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Aug 2025 14:46:45 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        =?utf-8?Q?Yves_Gu=C3=A9rin?= <yvesguerin@yahoo.ca>, Graham Perrin <grahamperrin@gmail.com>
Cc:        "freebsd-pkgbase@freebsd.org" <freebsd-pkgbase@freebsd.org>, "freebsd-pkg@freebsd.org" <freebsd-pkg@freebsd.org>
Subject:   Re: Deletion of just installed port-packages (excluding base): success
Message-ID:  <F7D17F56-65DF-418A-9908-2DD8D221DB27@yahoo.com>
In-Reply-To: <E3E9D7FB-9A57-4101-83A4-1552801745C3@yahoo.com>
References:  <FAFC65E2-BD71-4320-81BC-9D698A476BF2@yahoo.com> <7d8a6b67-700c-47ac-8484-d6a45961a9c4@freebsd.org> <2ca670e7-b6e9-4d28-b3b8-029758db7735@gmail.com> <A33FDB4D-B3FF-41D0-BA0A-D8A1A91F65F9@yahoo.com> <dd075026-a778-4c02-9f2c-da9198d60376@gmail.com> <1707775018.328368.1754600078502@mail.yahoo.com> <E3E9D7FB-9A57-4101-83A4-1552801745C3@yahoo.com>

index | next in thread | previous in thread | raw e-mail

On Aug 7, 2025, at 14:41, Mark Millard <marklmi@yahoo.com> wrote:

> 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.)

Although, thnking about it, main ( and stable/* ) can have
superseded versions of some or all pkg's twice or so a day.
Removal at that rate, if not updating at that rate, might
not be the best of ideas. So not cleaning automatically
when not updating the FreeBSD-* may be what is appropriate.

>> 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



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F7D17F56-65DF-418A-9908-2DD8D221DB27>