I compiled 2.6.23 kernel into deb package then installed it but because I keep on using old 2.6.22 I removed the 2.6.23 (apt-get remove 2.6.23-custom). However now when I do `apt-get install whatever` I get error "E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem." so I tried `dpkg --configure -a` and
>Nastavuji balík initramfs-tools (0.85eubuntu21) ... >update-initramfs: deferring update (trigger activated) > >Processing triggers for initramfs-tools ... >update-initramfs: Generating /boot/initrd.img-2.6.23.1-adr >Cannot find /lib/modules/2.6.23.1-adr >update-initramfs: failed for /boot/initrd.img-2.6.23.1-adr .dpkg: podproces post-installation script vrátil chybový status 1 I investigated more and `sudo update-initramfs -u` (which is used by dpkg): >update-initramfs: Generating /boot/initrd.img-2.6.23.1-adr >Cannot find /lib/modules/2.6.23.1-adr //because apt-get removed it >update-initramfs: failed for /boot/initrd.img-2.6.23.1-adr so this error propagates to dpkg --configure -a thus causing installing/upgrading with apt impossible. As a workaround I created empty directory /lib/modules/2.6.23.1-adr everything on almost up-to-date Kubuntu 8.04, 2.6.22-14-generic -- update-initramfs should update all initrds https://bugs.launchpad.net/bugs/45225 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs