Unable to apt-clone dist-upgrade from NCP 2.0 Beta 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nexenta Operating System |
Fix Released
|
Critical
|
Erast |
Bug Description
Tonight I installed a fresh copy of Nexenta 2.0 Beta 1 from the ISO on the Nexenta.org website. The following output is observed while running apt-clone dist-upgrade:
(Reading database ... 28026 files and directories currently installed.)
Preparing to replace libncurses5 5.5-1nexenta5 (using .../libncurses5
Unpacking replacement libncurses5 ...
ld.so.1: bash: fatal: relocation error: file /lib/libncurses
dpkg: warning - old post-removal script killed by signal (Killed)
dpkg - trying script from the new package instead ...
ld.so.1: bash: fatal: relocation error: file /lib/libncurses
dpkg: error processing /var/cache/
subprocess new post-removal script killed by signal (Killed)
Errors were encountered while processing:
/var/cache/
apt-clone then offers to roll back the failed upgrade. Full apt-clone output is attached.
After some discussion in IRC (Thanks rootard!) I was able to find a workaround. The problem appears to be that the pre/post scripts in the package call bash, which chokes on the newly installed libncurses library. Copying libncurses.so.5 to /tmp/nlulib and then installing the package works. I don't know if it is considered an acceptable solution to copy libncurses into nexenta-lu or not.