Re: Kubuntu LiveUSB update-initramfs problem
Hello,
I had the same problem, and this thread helped me solve it. I have Ubuntu 8.10 Live installed on a USB drive. To clarify for future users, here is the error message and the exact steps I took to solve the problem:
Error during system update (also during install of scipy/matplotlib):
===============
Setting up linux-image-2.6.27-7-generic (2.6.27-7.16) ...
Running depmod.
update-initramfs is disabled since running on a live CD
Failed to symbolic-link /boot/initrd.img-2.6.27-7-generic to initrd.img.
dpkg: error processing linux-image-2.6.27-7-generic (--configure):
subprocess post-installation script returned error exit status 17
Errors were encountered while processing:
linux-image-2.6.27-7-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
===============
Solution:
===============
sudo su
cd /
mv /usr/sbin/update-initramfs /usr/sbin/update-initramfs.bak
ln -s /rofs/usr/sbin/update-initramfs /usr/sbin/update-initramfs
mv initrd.img initrd.img.bak
ln -s /boot/initrd.img-2.6.27-7-generic initrd.img
apt-get upgrade
===============
Dan
Hello,
I had the same problem, and this thread helped me solve it. I have Ubuntu 8.10 Live installed on a USB drive. To clarify for future users, here is the error message and the exact steps I took to solve the problem:
Error during system update (also during install of scipy/matplotlib):
===============
Setting up linux-image-2.6.27-7-generic (2.6.27-7.16) ...
Running depmod.
update-initramfs is disabled since running on a live CD
Failed to symbolic-link /boot/initrd.img-2.6.27-7-generic to initrd.img.
dpkg: error processing linux-image-2.6.27-7-generic (--configure):
subprocess post-installation script returned error exit status 17
Errors were encountered while processing:
linux-image-2.6.27-7-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
===============
Solution:
===============
sudo su
cd /
mv /usr/sbin/update-initramfs /usr/sbin/update-initramfs.bak
ln -s /rofs/usr/sbin/update-initramfs /usr/sbin/update-initramfs
mv initrd.img initrd.img.bak
ln -s /boot/initrd.img-2.6.27-7-generic initrd.img
apt-get upgrade
===============
Dan
Comment