Workaround worked fine for me. Was able to upgrade, reboot, etc. without any strange problems.
On Mon, Dec 22, 2008 at 5:48 PM, freekngdom <freekng...@gmail.com> wrote: > Nevermind, removing and re-inserting flash drive into computer seemed to > solve. > > -- > MASTER update-initramfs is disabled since running on a live CD but it is > running from a flash drive. > https://bugs.launchpad.net/bugs/292159 > You received this bug notification because you are a direct subscriber > of the bug. > > Status in "linux" source package in Ubuntu: Triaged > > Bug description: > Binary package hint: linux-image-2.6.27-7-generic > > unaltered ibex, ran from usb pendrive - prepared by "create a usb startup > disk". I ran update manager to update packages and played some mp3 file from > hard disk, when the update manager reported an error, moreover the totem > player hang. > > The kernel upgrade fail with the following message: > Setting up linux-image-2.6.27-7-generic (2.6.27-7.14) ... > 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 > > :: Rationale :: > If it's not possible to upgrade the kernel, that's fine. But in that case, > the kernel version should be locked for live CD / live USB bootups. (e.g. in > Synaptic via "Lock Version" in the "Package") > > Currently, "sudo apt-get upgrade" is forever broken, because it always > tries & fails to install the kernel update. This is a huge turn-off for > anyone trying out "usb-creator"-built persistent USB installations. > > :: Workaround :: > Workaround discussed here: > http://kubuntuforums.net/forums/index.php?topic=3096170 > in brief > "A bit of digging has revealed that the /usr/sbin/update-initramfs script > is a stub on the live CD (or the bootable USB drive made from a live CD). > The original version can be found in: > > /rofs/usr/sbin/update-initramfs > so you can (as root): > mv /usr/sbin/update-initramfs /usr/sbin/update-initramfs.old > and then: > ln -s /rofs/usr/sbin/update-initramfs /usr/sbin/update-initramfs > " > Thanks to latchkeyed for providing this info. > > > ProblemType: Package > Architecture: amd64 > DistroRelease: Ubuntu 8.10 > ErrorMessage: podproces post-installation script zwrócił kod błędu 17 > Package: linux-image-2.6.27-7-generic 2.6.27-7.15 > ProcCmdLine: BOOT_IMAGE=/casper/vmlinuz noprompt cdrom-detect/try-usb=true > persistent file=/cdrom/preseed/hostname.seed boot=casper > initrd=/casper/initrd.gz quiet splash -- debian-installer/language=pl > console-setup/layoutcode?=pl > ProcVersionSignature: Ubuntu 2.6.27-7.14-generic > SourcePackage: linux > Title: package linux-image-2.6.27-7-generic 2.6.27-7.15 failed to > install/upgrade: podproces post-installation script zwrócił kod błędu 17 > -- MASTER update-initramfs is disabled since running on a live CD but it is running from a flash drive. https://bugs.launchpad.net/bugs/292159 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs