[OpenIndiana-discuss] failed upgrade from OpenSolaris to OpenIndiana

Roel_D openindiana at out-side.nl
Wed Sep 26 10:26:49 UTC 2012

There are some "tricks" to scan /var/sadm/pkg for obsolete packages and
reclaim space.

find /var/sadm/pkg -name obsolete.Z -exec rm {} \;

and I once found a usefull script. I will try to find it again. 

-----Original Message-----
From: Jim Klimov [mailto:jimklimov at cos.ru] 
Sent: woensdag 26 september 2012 12:11
To: Discussion list for OpenIndiana
Subject: Re: [OpenIndiana-discuss] failed upgrade from OpenSolaris to

2012-09-26 12:20, baldyeti wrote:
> Jim Klimov wrote, On 2012-09-25 14:03:
>>> 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.

>>> Is OI supposed to run wherever OS did? Then my HW should be 
>>> supported and it might be simpler to install the latest OI ISO?
>> You can boot the LiveCD/LiveUSB to check if your HW is still 
>> supported - there may have been some drivers that were 3rd-party 
>> and/or otherwise proprietary and not published by Sun, or that became 
>> outdated and excluded from illumos-gate.
> I'll try the live snapshot, but since it's over 700MB I have to get a 
> DVD-RW first.

If your system is capable of USB booting, you can try the USB images on a
1Gb+ stick or a partition of a USB HDD.

If you have a CD-RW, you can try the text-mode "server"
installation ISO instead. If that works, you can later install the remaining
packages over network to turn the installation into a X11 desktop which is a
superset of the server (with a few tweaks, like defaulting to NWAM vs.
static network configs).


OpenIndiana-discuss mailing list
OpenIndiana-discuss at openindiana.org

More information about the OpenIndiana-discuss mailing list