its scary, but maybe
apt-get --purge remove linux-image-2.6-686
which should get all three of them and then
apt-get install linux-image-2.6-686
IOW, start over?
I faced this with the recent yaird/2.6/14 breakage and as scary as it
seems to remove the whole kernel, it doesn't break unless you reboot
before you reinstall. ;)
A
Richard Lyons wrote:
Since installing kernel-image-2.6-686, every time apt-get, aptitude and
friends run I get a stack of error messages about linux-image not being
configured (see below). But when I run dpkg --configure it fails too
(see below). Nonetheless, the system is running with the 2.6.14-2-686
kernel.
How do I undo the knot?
---------------error messages:-----
Errors were encountered while processing:
linux-image-2.6.14-2-686
linux-image-2.6-686
kernel-image-2.6-686
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up linux-image-2.6.14-2-686 (2.6.14-5) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitrd.yaird to build the ramdisk.
initrd.img(/boot/initrd.img-2.6.14-2-686) points to
/boot/initrd.img-2.6.14-2-686 (/
boot/initrd.img-2.6.14-2-686) -- doing nothing at
/var/lib/dpkg/info/linux-image-2.6
.14-2-686.postinst line 579.
vmlinuz(/boot/vmlinuz-2.6.14-2-686) points to /boot/vmlinuz-2.6.14-2-686
(/boot/vmli
nuz-2.6.14-2-686) -- doing nothing at
/var/lib/dpkg/info/linux-image-2.6.14-2-686.po
stinst line 579.
Running postinst hook.
Searching for GRUB installation directory ... found: /boot/grub .
dpkg: error processing linux-image-2.6.14-2-686 (--configure):
subprocess post-installation script returned error exit status 128
dpkg: dependency problems prevent configuration of linux-image-2.6-686:
linux-image-2.6-686 depends on linux-image-2.6.14-2-686; however:
Package linux-image-2.6.14-2-686 is not configured yet.
dpkg: error processing linux-image-2.6-686 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kernel-image-2.6-686:
kernel-image-2.6-686 depends on linux-image-2.6-686; however:
Package linux-image-2.6-686 is not configured yet.
dpkg: error processing kernel-image-2.6-686 (--configure):
dependency problems - leaving unconfigured
Setting up rxvt (2.6.4-10) ...
Errors were encountered while processing:
linux-image-2.6.14-2-686
linux-image-2.6-686
kernel-image-2.6-686
E: Sub-process /usr/bin/dpkg returned an error code (1)
------------------------------------
and:
--------------attempt to configure:----
castagna:~# dpkg --configure linux-image-2.6.14-2-686
Setting up linux-image-2.6.14-2-686 (2.6.14-5) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitrd.yaird to build the ramdisk.
initrd.img(/boot/initrd.img-2.6.14-2-686) points to
/boot/initrd.img-2.6.14-2-686 (/
boot/initrd.img-2.6.14-2-686) -- doing nothing at
/var/lib/dpkg/info/linux-image-2.6
.14-2-686.postinst line 579.
vmlinuz(/boot/vmlinuz-2.6.14-2-686) points to /boot/vmlinuz-2.6.14-2-686
(/boot/vmli
nuz-2.6.14-2-686) -- doing nothing at
/var/lib/dpkg/info/linux-image-2.6.14-2-686.po
stinst line 579.
Running postinst hook.
Searching for GRUB installation directory ... found: /boot/grub .
dpkg: error processing linux-image-2.6.14-2-686 (--configure):
subprocess post-installation script returned error exit status 128
Errors were encountered while processing:
linux-image-2.6.14-2-686
linux-image-2.6.14-2-686
linux-image-2.6-686
kernel-image-2.6-686
Press return to continue.
-----------------------------------
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]