[OmniOS-discuss] Problem upgrading to r151008

Andy omnios at citrus-it.net
Fri Dec 6 10:35:44 UTC 2013


Hi,

I did a test upgrade on one of our servers last night and hit problems.
The upgrade process itself seemed to work fine but on reboot the new
environment wasn't usable due to a version dependency on libc..
I didn't have much time to test so rolled back for now.
Any thoughts on what might have gone wrong?

Thanks,

Andy

pickle# (5) pkg update --no-backup-be
package/pkg at 0.5.11,5.11-0.151006:20130731T192303Z
web/ca-bundle at 5.11,5.11-0.151006:20130718T173831Z
            Packages to update:   1
       Create boot environment:  No
Create backup boot environment: Yes

DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                  1/1         2/2      0.1/0.1

PHASE                                        ACTIONS
Install Phase                                    1/1
Update Phase                                     3/3

PHASE                                          ITEMS
Package State Update Phase                       2/2
Package Cache Update Phase                       1/1
Image State Update Phase                         2/2

PHASE                                          ITEMS
Reading Existing Index                           8/8
Indexing Packages                                1/1

pickle# (8) beadm list
BE       Active Mountpoint Space Policy Created
r151006j -      -          7.20M static 2013-07-09 21:11
r151006n NR     /          3.16G static 2013-08-02 14:13

pickle# (10) pkg update --no-backup-be
runtime/perl/manual at 5.16.1,5.11-0.151006
            Packages to update:  1
       Create boot environment: No
Create backup boot environment: No

DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                  1/1       45/45      0.6/0.6

PHASE                                        ACTIONS
Update Phase                                   49/49

PHASE                                          ITEMS
Package State Update Phase                       2/2
Package Cache Update Phase                       1/1
Image State Update Phase                         2/2
pkg list runtime/pe
PHASE                                          ITEMS
Reading Existing Index                           8/8r
Indexing Packages                                1/1

pickle# (11) pkg list runtime/perl-64
pkg list: no packages matching 'runtime/perl-64' installed

pickle# (14) pkg update --be-name=r151008e
            Packages to update:  96
       Create boot environment: Yes
Create backup boot environment:  No

DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                96/96   8079/8079  185.6/185.6

PHASE                                        ACTIONS
Removal Phase                              6338/6338
Install Phase                              4145/4145
Update Phase                               4827/4827

PHASE                                          ITEMS
Package State Update Phase                   192/192
Package Cache Update Phase                     96/96
Image State Update Phase                         2/2

PHASE                                          ITEMS
Reading Existing Index                           8/8
Indexing Packages                              96/96
Optimizing Index...

PHASE                                          ITEMS
Indexing Packages                            467/467

A clone of r151006n exists and has been updated and activated.
On the next boot the Boot Environment r151008e will be
mounted on '/'.  Reboot when ready to switch to this updated BE.

.. one reboot later ..

pickle console login: root
Password:
 login: [ID 644210 auth.notice] ROOT LOGIN /dev/console
Last login: Thu Dec  5 22:52:00 from 89.248.55.88
ld.so.1: zsh: fatal: libc.so.1: version 'ILLUMOS_0.6' not found (required
by file /usr/bin/zsh)
ld.so.1: zsh: fatal: libc.so.1: open failed: No such file or directory

I did manage to use sftp to change root's shell back to /bin/sh but other
tools are broken too.

root at pickle:~# pkg list -u
ld.so.1: python2.6: fatal: libc.so.1: version 'ILLUMOS_0.6' not found
(required by file /usr/lib/amd64/libpython2.6.so.1.0)
ld.so.1: python2.6: fatal: libc.so.1: open failed: No such file or
directory
Killed

so I reverted to the previous boot environment which was successful.

-- 
Citrus IT Limited | +44 (0)870 199 8000 | enquiries at citrus-it.co.uk
Rock House Farm | Green Moor | Wortley | Sheffield | S35 7DQ
Registered in England and Wales | Company number 4899123



More information about the OmniOS-discuss mailing list