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

Aurélien Larcher aurelien.larcher at gmail.com
Thu Dec 14 10:37:52 UTC 2023


On Thu, Dec 14, 2023 at 10:38 AM Marcel Telka <marcel at telka.sk> wrote:

> On Thu, Dec 14, 2023 at 09:30:53AM +0100, Predrag Zečević wrote:
> > I understand network - there can be a lot of problems preventing fast
> > download, but *pkg* showing packages decreasing...
>
> Yes, it looks like a bug.  Feel free to file a bugreport.
>
> > Also, is this OK (15GB of OI packages seems too much to me)?
> >
> > :; pfexec du -sh /var/pkg/publisher/*
> > 21M     /var/pkg/publisher/hipster-encumbered
> > 15G     /var/pkg/publisher/openindiana.org
>
> Not sure if it is okay or not.  Here is mine:
>
> # du -sh /var/pkg/publisher/*
> 2.30M   /var/pkg/publisher/hipster-encumbered
> 1019M   /var/pkg/publisher/openindiana.org
> #
>
> I fully update usually at least once a week with a reboot (and new BE).
> This update includes bits from illumos-gate.  I also update daily
> (without reboot) to have always up-to-date userland bits.  I do have
> (almost) all packages installed.  It is my oi and illumos build machine.
>

I cannot remember which option it is but you can autopurge the cache after
successful install using a pkg property.


>
> HTH.
>
> --
> +-------------------------------------------+
> | Marcel Telka   e-mail:   marcel at telka.sk  |
> |                homepage: http://telka.sk/ |
> +-------------------------------------------+
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
>


-- 
---
Praise the Caffeine embeddings


More information about the openindiana-discuss mailing list