[OpenIndiana-discuss] failed upgrade from OpenSolaris to OpenIndiana

Udo Grabowski (IMK) udo.grabowski at kit.edu
Wed Sep 26 11:26:05 UTC 2012


On 26/09/2012 12:31, Roel_D
>>
>>>> Could someone help me
>>>> *) reclaim the disk space that got eaten by downloaded packages (hos
>>>> to purge these?)
>>>
>>> Check in /var/pkg(/tmp), and note that clones or rather origin
>>> snapshots of rootfs might reference these unpurged files forever.
>>
>> Thanks Jim. Thereunder the two biggest subfolders are
>>       pkg        (380MB)
>>       download    (1GB)
>> Is this supposedly all safe to just delete ?
>> Isn't there some purge option to a pkg command, that'd be cleaner ?
>
> Unfortunately, that I do not know. I've seen /var/pkg fill up during package
> installations and updates and get cleaned when the process completed, but I
> did not look much deeper.
>

pkg set-property flush-content-cache-on-success True

After the next update/remove action, the ..../download/ folder
will be purged.

-- 
Dr.Udo Grabowski    Inst.f.Meteorology a.Climate Research IMK-ASF-SAT
www-imk.fzk.de/asf/sat/grabowski/ www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology            http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany  T:(+49)721 608-26026 F:-926026



More information about the OpenIndiana-discuss mailing list