[OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

Predrag Zečević predrag.zecevic.1961 at googlemail.com
Wed Dec 13 18:04:41 UTC 2023


On 2023-12-13 17:13:22, Marcel Telka wrote:
> On Wed, Dec 13, 2023 at 04:39:51PM +0100, Predrag Zecevic wrote:
>> On 2023-12-13 16:33:28, Marcel Telka wrote:
>>> On Wed, Dec 13, 2023 at 04:30:27PM +0100, Predrag Zecevic wrote:
>>>> 13G     /var/pkg/cache/publisher
>>> What is there?  Does it match `pkg publisher` output?
>>>
>> Yes, it matches:
>> :; pkg publisher
>> PUBLISHER                   TYPE     STATUS P LOCATION
>> openindiana.org (non-sticky) origin   online F
>> https://pkg.openindiana.org/hipster/
> Just minor nit:  unless you have some reason doing otherwise the above
> should not be non-sticky.
>
>> hipster-encumbered              origin   online F
>> https://pkg.openindiana.org/hipster-encumbered/
>>
>> :; ls -dlh /var/pkg/publisher/*
>> drwxr-xr-x 7 root root 8 Dec 13 15:00 /var/pkg/publisher/hipster-encumbered
>> drwxr-xr-x 7 root root 8 Dec 13 15:00 /var/pkg/publisher/openindiana.org
>> drwxr-xr-x 3 root root 3 May 19  2021 /var/pkg/publisher/userland
> I was asking about /var/pkg/cache/publisher, not /var/pkg/publisher.
> Anyway, since you have no userland publisher you can remove the
> /var/pkg/publisher/userland directroy.
>
> I think the /var/pkg/cache directroy could be safely removed as a last
> resort.
>
>
> HTH.

Oops, sorry for that: :; pfexec ls -dlh /var/pkg/cache/publisher/* 
drwxr-xr-x 3 root root 3 Feb 26 2021 
/var/pkg/cache/publisher/hipster-encumbered drwxr-xr-x 3 root root 3 Feb 
26 2021 /var/pkg/cache/publisher/openindiana.org drwxr-xr-x 3 root root 
3 May 20 2021 /var/pkg/cache/publisher/userland

:; pfexec du -sh /var/pkg/cache/publisher/* 4,0M 
/var/pkg/cache/publisher/hipster-encumbered 13G 
/var/pkg/cache/publisher/openindiana.org 1,0K 
/var/pkg/cache/publisher/userland

And, thanks (I guess I needed it in the past for some tests, SFE I think 
...) :; pfexec pkg set-publisher --sticky openindiana.org

Thanks

-- 
Predrag Zečević
predrag.zecevic.1961 at googlemail.com


More information about the openindiana-discuss mailing list