Public bug reported:

Binary package hint: initramfs-tools

If /boot/initrd.img points to the initrd of a kernel which isn't
installed, update-initramfs fails because he's trying to finding the
modules of that kernel in /lib.

This problem can occur if a distribution like Debian is installed and
make a simlink from /boot/initrd.img-(debian kernel version) to
/boot/initrd.img.

Steps to reproduce : 
 - Install a linux distribution which make a simlink from his initrd.img to 
/boot/initrd.img with the same boot partition as ubuntu.
 - In ubuntu, try to update a package using update-initramfs.

Possible solution: make update-initramfs uses directories in
/lib/modules to know what initrd.img he can updates (and a verification
if the kernel exists in /boot would be welcome :-) )

** Affects: initramfs-tools (Ubuntu)
     Importance: Untriaged
         Status: Unconfirmed

-- 
Risk of conflicts if another linux distribution is installed using the same 
boot partition: simlink /boot/initrd.img
https://launchpad.net/bugs/58717

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to