Date: Fri, 8 Aug 2025 00:56:56 +0000 (UTC) From: =?UTF-8?Q?Yves_Gu=C3=A9rin?= <yvesguerin@yahoo.ca> To: Graham Perrin <grahamperrin@gmail.com>, Mark Millard <marklmi@yahoo.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: <481759339.393522.1754614616320@mail.yahoo.com> In-Reply-To: <F7D17F56-65DF-418A-9908-2DD8D221DB27@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> <F7D17F56-65DF-418A-9908-2DD8D221DB27@yahoo.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Dear,
I did it on all my servers (pkg clean after an update, automatic script) and as usual forget to do it on my own laptop :)
Regards,
Yves Guerin
Le jeudi 7 août 2025 à 16:47:01 UTC−5, Mark Millard <marklmi@yahoo.com> a écrit :
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
[-- Attachment #2 --]
<html><head></head><body><div class="ydpd456a36byahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div><div dir="ltr" data-setdir="false">Dear,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I did it on all my servers (pkg clean after an update, automatic script) and as usual forget to do it on my own laptop :)</div><div><br></div><div dir="ltr" data-setdir="false">Regards,</div><div dir="ltr" data-setdir="false"><br></div><div class="ydpd456a36bsignature">Yves Guerin</div></div>
<div><br></div><div><br></div>
</div><div id="yahoo_quoted_5299965685" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
Le jeudi 7 août 2025 à 16:47:01 UTC−5, Mark Millard <marklmi@yahoo.com> a écrit :
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr">On Aug 7, 2025, at 14:41, Mark Millard <<a shape="rect" ymailto="mailto:marklmi@yahoo.com" href="mailto:marklmi@yahoo.com">marklmi@yahoo.com</a>> wrote:<br clear="none"><br clear="none">> On Aug 7, 2025, at 13:54, Yves Guérin <<a shape="rect" ymailto="mailto:yvesguerin@yahoo.ca" href="mailto:yvesguerin@yahoo.ca">yvesguerin@yahoo.ca</a>> wrote:<br clear="none">> <br clear="none">>> Dear<br clear="none">>> <br clear="none">>>> Personally, I would rarely clean the cache<br clear="none">>> <br clear="none">>> I did everytime I need space in /var so not desirable for my point of view.<br clear="none">>> <br clear="none">>> Regards,<br clear="none">>> <br clear="none">>> Yves Guerin<br clear="none">> <br clear="none">> It might be that what was listed was only ones "that have<br clear="none">> been superseded by newer versions, and any packages that<br clear="none">> are no longer provided". (From "man pkg-clean" in my<br clear="none">> environment.)<br clear="none"><br clear="none">Although, thnking about it, main ( and stable/* ) can have<br clear="none">superseded versions of some or all pkg's twice or so a day.<br clear="none">Removal at that rate, if not updating at that rate, might<br clear="none">not be the best of ideas. So not cleaning automatically<br clear="none">when not updating the FreeBSD-* may be what is appropriate.<div class="yqt5381072489" id="yqtfd81372"><br clear="none"><br clear="none">>> Le jeudi 7 août 2025 à 16:23:03 UTC−4, Graham Perrin <<a shape="rect" ymailto="mailto:grahamperrin@gmail.com" href="mailto:grahamperrin@gmail.com">grahamperrin@gmail.com</a>> a écrit : <br clear="none">>> <br clear="none">>> <br clear="none">>> On 07/08/2025 16:57, Mark Millard wrote:<br clear="none">>>> … Actually the file indicates that /var/cache/pkg/FreeBSD-*.pkg<br clear="none">>>> files would be deleted by the "pkg clean" (if -n had not been<br clear="none">>>> provided):<br clear="none">>>> <br clear="none">>>> QUOTE<br clear="none">>>> The following package files will be deleted:<br clear="none">>>> /var/cache/pkg/FreeBSD-libexecinfo-dev-lib32-15.snap20250715051601~2b1b4b0e75.pkg<br clear="none">>>> /var/cache/pkg/FreeBSD-telnet-man-15.snap20241026125659.pkg<br clear="none">>>> . . .<br clear="none">>>> /var/cache/pkg/FreeBSD-bsdinstall-dbg-15.snap20250720000631.pkg<br clear="none">>>> /var/cache/pkg/FreeBSD-libexecinfo-dbg-15.snap20250720000631.pkg<br clear="none">>>> The cleanup will free 1 GiB<br clear="none">>>> END QUOTE<br clear="none">>>> <br clear="none">>>> I do not know if this would be desired vs. not.<br clear="none">>>> <br clear="none">>>> …<br clear="none">>> <br clear="none">>> Personally, I would rarely clean the cache. <br clear="none">>> I think, we're partly experimenting with what's possible; not necessarily what's recommended (or desirable). <br clear="none">>> I might demonstrate the effect of -fqy but that's certainly not a recommendation; and so on. <br clear="none">>> HTH<br clear="none"><br clear="none"><br clear="none"><br clear="none">===<br clear="none">Mark Millard<br clear="none">marklmi at yahoo.com<br clear="none"><br clear="none"></div></div></div>
</div>
</div></body></html>
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?481759339.393522.1754614616320>
