Thomas Garner <[email protected]> wrote:
> On Thu, Feb 5, 2009 at 9:22 AM, Marcus Sundman <[email protected]> wrote:
> > r...@nas:~# apt-clone dist-upgrade
> > This operation will upgrade your system using ZFS capabilities.
> > Proceed ? (y/n) y
> >
> > Updating APT sources ...
> > Downloading upgrades and checking if reboot will be required.
> > This may take a few minutes. Please wait...
> > [...]
> > Preparing to replace dpkg 1.13.22nexenta10 (using 
> > .../dpkg_1.14.16.6nexenta6_solaris-i386.deb) ...
> > Unpacking replacement dpkg ...
> > ld.so.1: dpkg: fatal: libintl.so.8: open failed: No such file or directory
> > E: Sub-process /usr/bin/dpkg exited unexpectedly
> > Could not download all needed packages. Check failed.
> > r...@nas:~#
> 
> This happened to me, but I don't recall the exact command I used.  If
> you did the same thing I did, you basically just broke dpkg.  Making
> /usr/lib/libintl.so.8 a symlink to an actual lib should fix it (I'm
> thinking libintl.so.3.4.3, but like I said, I don't perfectly recall).

Well, _I_ certainly didn't break anything, so if it broke it broke by
itself as a result of something I did or didn't do. :-/ Anyway, the
symlink did the trick, so many thanks for that. However, now I got a
different error:
-----8<---------------------------------------------------------------
r...@nas:~# apt-clone -v upgrade
[...]
Creating Upgrade Checkpoint...
[...]
apt-get -V -y install dpkg apt
Reading package lists... Done
Building dependency tree       
Reading state information... Done
dpkg is already the newest version.
apt is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 376 not upgraded.
[...]
mount -F lofs -O /etc/mnttab /tmp/upgrade-attempt.23288/etc/mnttab 2>/dev/null
mount -F lofs -O /devices /tmp/upgrade-attempt.23288/devices 2>/dev/null
APT_CLONE_ENV=1 chroot /tmp/upgrade-attempt.23288 apt-get -V  -o 
Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"  upgrade 
nl.1: apt-get: fatal: libgcc_s.so.1: version `GCC_4.2.0' not found (required by 
file /usr/lib/libstdc++.so.6)
nl.1: apt-get: fatal: libgcc_s.so.1: open failed: No such file or directory
chroot /tmp/upgrade-attempt.23288 umount /proc 2>/dev/null
umount /tmp/upgrade-attempt.23288/etc/mnttab 2>/dev/null
umount /tmp/upgrade-attempt.23288/devices 2>/dev/null
rm -rf /tmp/nl*
[...]
----->8---------------------------------------------------------------

The upgrade seems to complete successfully shortly after what I quoted
above, but after activating the upgrade checkpoint and rebooting the
upgrade is still unfinished.

Maybe the error above aborts the upgrade but apt-clone ignores it and
continues as if everything was OK.

Here are the gcc* and libstdc* packages I have installed:
gcc (4:4.2.3-1nexenta4)
gcc-4.0 (4.0.3-1nexenta6)
gcc-4.0-base (4.0.3-1nexenta6)
gcc-4.2 (4.2.3-2nexenta7)
gcc-4.2-base (4.2.3-2nexenta7)
libstdc++6 (4.2.3-2nexenta7)
libstdc++6-4.0-dev (4.0.3-1nexenta6)
libstdc++6-4.2-dev (4.2.3-2nexenta7)


- Marcus
_______________________________________________
gnusol-users mailing list
[email protected]
http://lists.sonic.net/mailman/listinfo/gnusol-users

Reply via email to