[OpenIndiana-discuss] error upgrading to hipster -- Action upgrade failed for 'etc/dfs/sharetab'

Geoff Nordli geoffn at gnaa.net
Mon Mar 15 03:19:34 UTC 2021


On 2021-03-09 9:51 a.m., John D Groenveld wrote:
> In message <f788ec87-da49-881a-0ad5-cd98965b4db3 at gnaa.net>, Geoff Nordli writes
> :
>> I saw that post (it is on the wiki) and tried to edit that file, but it
>> doesn't seem to be editable.
> Since sharetab(4) is managed by ZFS properties, you might try performing
> the upgrade to a mounted BE.
> # pkg update pkg
> # beadm create hipster
> # beadm mount hipster /tmp/hipster
> # pkg -R /tmp/hipster set-publisher -G '*' \
> -g http://pkg.openindiana.org/hipster/ \
> openindiana.org
> # cp /dev/null /tmp/hipster/etc/dfs/sharetab
> # pkg -R /tmp/hipster update
> # beadm umount hipster
> # beadm activate hipster
>
Hi John.

I tried that and I got an error on another file,which I ended up wiping 
it with null as well.

That seemed to work, except I got another error about the bootloader not 
getting installed correctly.  The fix for that is to normally use the 
updated bootloader:

#/tmp/hipster/sbin/bootadm update-archive -R /tmp/hipster/

ld.so.1: bootadm: fatal: libc.so.1: version 'ILLUMOS_0.37' not found 
(required by file /tmp/hipster/sbin/bootadm)
ld.so.1: bootadm: fatal: libc.so.1: open failed: No such file or directory

thanks,

Geoff







More information about the openindiana-discuss mailing list