Hi Devel,
I attempted an upgrade from b85 to b103 (hardy-unstable) and there were
a few errors along the way:
Preparing to replace sunwcsl 5.11.85-1 (using
.../sunwcsl_5.11.103-1_solaris-i386.deb) ...
Unpacking replacement sunwcsl ...
dpkg: error processing
/var/cache/apt/archives/sunwcsl_5.11.103-1_solaris-i386.deb (--unpack):
trying to overwrite `/usr/lib/libwrap.so', which is also in package
libwrap0-dev
Errors were encountered while processing:
/var/cache/apt/archives/sunwcsl_5.11.103-1_solaris-i386.deb
I hacked around this using dpkg-divert --package libwrap0-dev --add
/usr/lib/libwrap.so before running apt-clone again. Second try:
Preparing to replace sunwhea 5.11.85-1 (using
.../sunwhea_5.11.103-1_solaris-i386.deb) ...
Unpacking replacement sunwhea ...
dpkg: error processing
/var/cache/apt/archives/sunwhea_5.11.103-1_solaris-i386.deb (--unpack):
trying to overwrite `/usr/include/tcpd.h', which is also in package
libwrap0-dev
dpkg-deb: subprocess paste killed by signal (Broken Pipe)
...
Preparing to replace sunwspsvu 5.11.85-1 (using
.../sunwspsvu_5.11.103-1_solaris-i386.deb) ...
ld.so.1: svboot: fatal: libunistat.so.1: version `SUNWprivate_1.1' not
found (required by file /usr/sbin/svboot)
ld.so.1: svboot: fatal: libunistat.so.1: open failed: No such file or
directory
Killed
I decided to just remove libwrap0-dev and re-ran apt-clone and received
some warnings:
Preparing to replace sunwspsvu 5.11.85-1 (using
.../sunwspsvu_5.11.103-1_solaris-i386.deb) ...
ld.so.1: svboot: fatal: libunistat.so.1: version `SUNWprivate_1.1' not
found (required by file /usr/sbin/svboot)
ld.so.1: svboot: fatal: libunistat.so.1: open failed: No such file or
directory
Killed
...
Setting up grub-data (0.9) ...
stage1 written to partition 0 sector 0 (abs 16065)
stage2 written to partition 0, 267 sectors starting at 50 (abs 16115)
stage1 written to master boot sector
/dev/rdsk/c1t0d0s0: New ZFS GRUB support updated successfully!
raw device must be a root slice (not s2)
...
Setting up sasl2-bin (2.1.22.dfsg1-18nexenta4) ...
sh: line 1: 4330 Killed /usr/bin/svcs -Ho sta
svc:/network/saslauthd:default 2 /dev/null 12
invoke-rc.d: saslauthd: service state unchanged.
Also, I selected n to upgrade nexenta zones but the following message
was still output:
Creating boot_archive for /tmp/upgrade-attempt.17748
updating /tmp/upgrade-attempt.17748/platform/i86pc/boot_archive
* * *
SYSTEM NOTICE
The first phase of upgrade has completed successfully:
- created Upgrade Checkpoint 'rootfs-nmu-002'
- created new GRUB menu entry
- the system is ready to reboot into the new checkpoint
- all Nexenta Zones (if any) been checkpointed and upgraded
+--+
| |
| At this point you have two options: |
| |
| 1. You can reboot now, make sure that system is healthy and|
| then activate the newly created checkpoint. |
| |
| 2. Or, you can simply continue using the system as is and |
| reboot/activate checkpoint later. |
| |
+--+
I assume that all Nexenta Zones (if any) been checkpointed and
upgraded is just hard-coded. Finally I decided to activate the new entry:
[EMAIL PROTECTED]:~# apt-clone -a rootfs-nmu-002
This will set default GRUB entry to 'syspool/rootfs-nmu-002'. Proceed ?
(y/n) y
apt-clone.SystemCallError: cannot set property for 'syspool': no such
pool or dataset
[EMAIL PROTECTED]:~# zpool list
NAME SIZE USED AVAILCAP HEALTH ALTROOT
syspool 464G 85.3G 379G18% ONLINE -
I decided to cross my fingers and try a reboot, and got lucky despite
the grub/apt-clone warnings above. The errors don't give a user a
warm-fuzzy but the upgrade mostly worked.
-Tim
___
gnusol-devel mailing list
gnusol-devel@lists.sonic.net
http://lists.sonic.net/mailman/listinfo/gnusol-devel