Bug#385578: linux-image-2.6.16-2-k7: unable to install
Package: linux-image-2.6.16-2-k7
Version: 2.6.16-18
Severity: important
At setup time I get :
Setting up linux-image-2.6.16-2-k7 (2.6.16-18) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitrd.yaird to build the ramdisk.
Not updating initrd symbolic links since we are being updated/reinstalled
(2.6.16-17 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(2.6.16-17 was configured last, according to dpkg)
The provided postinst hook script [/sbin/update-grub] could not be run.
dpkg: error processing linux-image-2.6.16-2-k7 (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
linux-image-2.6.16-2-k7
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.16-2-k7 (2.6.16-18) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitrd.yaird to build the ramdisk.
Not updating initrd symbolic links since we are being updated/reinstalled
(2.6.16-17 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(2.6.16-17 was configured last, according to dpkg)
The provided postinst hook script [/sbin/update-grub] could not be run.
dpkg: error processing linux-image-2.6.16-2-k7 (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
linux-image-2.6.16-2-k7
It seems clear that grub cannot be updated :
dpkg -l \*grub\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
pn grub <none> (no description available)
un grub-doc <none> (no description available)
un grubconf <none> (no description available)
grub is not installed on the system.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-2-k7
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages linux-image-2.6.16-2-k7 depends on:
ii module-init-tools 3.2.2-3 tools for managing Linux kernel mo
ii yaird [linux-initramfs-tool] 0.0.12-17 Yet Another mkInitRD
Versions of packages linux-image-2.6.16-2-k7 recommends:
ii libc6-i686 2.3.6.ds1-4 GNU C Library: Shared libraries [i
-- debconf information:
linux-image-2.6.16-2-k7/preinst/elilo-initrd-2.6.16-2-k7: true
linux-image-2.6.16-2-k7/preinst/failed-to-move-modules-2.6.16-2-k7:
linux-image-2.6.16-2-k7/prerm/would-invalidate-boot-loader-2.6.16-2-k7: true
* linux-image-2.6.16-2-k7/preinst/already-running-this-2.6.16-2-k7:
linux-image-2.6.16-2-k7/postinst/bootloader-error-2.6.16-2-k7:
linux-image-2.6.16-2-k7/postinst/bootloader-test-error-2.6.16-2-k7:
linux-image-2.6.16-2-k7/postinst/really-run-bootloader-2.6.16-2-k7: true
linux-image-2.6.16-2-k7/postinst/kimage-is-a-directory:
linux-image-2.6.16-2-k7/preinst/bootloader-initrd-2.6.16-2-k7: true
linux-image-2.6.16-2-k7/preinst/lilo-has-ramdisk:
linux-image-2.6.16-2-k7/preinst/abort-overwrite-2.6.16-2-k7:
linux-image-2.6.16-2-k7/preinst/abort-install-2.6.16-2-k7:
linux-image-2.6.16-2-k7/postinst/depmod-error-2.6.16-2-k7: false
linux-image-2.6.16-2-k7/postinst/old-dir-initrd-link-2.6.16-2-k7: true
linux-image-2.6.16-2-k7/postinst/create-kimage-link-2.6.16-2-k7: true
linux-image-2.6.16-2-k7/postinst/old-system-map-link-2.6.16-2-k7: true
linux-image-2.6.16-2-k7/preinst/lilo-initrd-2.6.16-2-k7: true
linux-image-2.6.16-2-k7/preinst/initrd-2.6.16-2-k7:
linux-image-2.6.16-2-k7/postinst/old-initrd-link-2.6.16-2-k7: true
linux-image-2.6.16-2-k7/prerm/removing-running-kernel-2.6.16-2-k7: true
linux-image-2.6.16-2-k7/preinst/overwriting-modules-2.6.16-2-k7: true
linux-image-2.6.16-2-k7/postinst/depmod-error-initrd-2.6.16-2-k7: false
Reply to: