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

Marcel Telka marcel at telka.sk
Fri Dec 15 10:53:49 UTC 2023


On Fri, Dec 15, 2023 at 11:40:21AM +0100, Predrag Zečević via openindiana-discuss wrote:
> Am I right when assuming that 'pkg update -vn' should NOT _download_
> packages?

Those are not full packages, just their manifests.

> 
> From 'man pkg':
> ---<snip>-------
>            -n
> 
>                Perform a trial run of the operation with no package changes
> made.
> ---<snip>-------
> 
> If answer is yes, then I will open ticket...
> 
> Also I assume that I am allowed to remove any package manifest file under
> /var/pkg/publisher/openindiana.org/pkg what is not installed?

Likely, but I'm not sure.

>From what we know so far it looks like that /var/pkg/publisher/*/pkg is
more like a cache...

Then there is a question:  What is difference between
/var/pkg/cache/publisher/openindiana.org/pkg/ and
/var/pkg/publisher/openindiana.org/pkg/ and what exactly is their
purpose.

-- 
+-------------------------------------------+
| Marcel Telka   e-mail:   marcel at telka.sk  |
|                homepage: http://telka.sk/ |
+-------------------------------------------+



More information about the openindiana-discuss mailing list