[prev in list] [next in list] [prev in thread] [next in thread] 

List:       illumos-developer
Subject:    Re: [developer] failing pkg update
From:       Al Slater <al.slater () scluk ! com>
Date:       2018-07-25 9:17:43
Message-ID: 50c7b75c-1b7c-6f19-ec93-eea70de75eb4 () scluk ! com
[Download RAW message or body]

Hi,

On 21/07/18 08:17, Gabriele Bulfon wrote:
> Thanks, you pointed me on the right direction, and I found the problem
> was exactly this:
> =C2=A0
> https://sysdef.xyz/post/2015-11-25-cant-upgrade-solaris-11
> =C2=A0
> Can't say what "/var/user/root/tpm/userps/user.data" is and who created
> it, expecially on the root fs.
> As I had no alternative BE and the machine was remote, I had to forcibly
> unmount the var fs, remove all the /var/user directory, mount var fs
> back and reboot.

I do the following in my solaris 11 update script to clear /var before
updating

/usr/sbin/mount -F lofs -o nosub / /mnt
[ -d /mnt/var/user ] && rm -rf /mnt/var/user
/usr/sbin/umount /mnt


Al

------------------------------------------
illumos: illumos-developer
Permalink: https://illumos.topicbox.com/groups/developer/T93c9b6699885192a-=
Mdb992e3ba632f8063c7e4d31
Delivery options: https://illumos.topicbox.com/groups/developer/subscription
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic