[OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?
Toomas Soome
tsoome at me.com
Wed Dec 13 12:35:03 UTC 2023
> On 13. Dec 2023, at 14:30, Predrag Zecevic via openindiana-discuss <openindiana-discuss at openindiana.org> wrote:
>
> Hi all,
>
> I have searched for solution first, and could not find it...
>
> My /var/pkg is huge:
>
> :; pfexec du -shc /var/pkg/*
> 13G /var/pkg/cache
> 512 /var/pkg/gui_cache
> 5,0K /var/pkg/history
> 61M /var/pkg/license
> 512 /var/pkg/linked
> 512 /var/pkg/lock
> 512 /var/pkg/modified
> 5,5K /var/pkg/pkg5.image
> 14G /var/pkg/publisher
> 512 /var/pkg/ssl
> 346M /var/pkg/state
> 28G total
>
> I wonder if /var/pkg/cache can be "emptied"?
>
> With best regards.
>
> --
> Predrag Zečević
> predrag.zecevic.1961 at googlemail.com
>
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
make sure flush-content-cache-on-success is True in pkg property output, then install one package (and uninstall it if not really needed;), then the cache should get flushed for you.
rgds,
toomas
More information about the openindiana-discuss
mailing list