Bug#264339: another confirmation of this report
I am also seeing this on "pinhead", an IBM Thinkpad T20, when trying
to upgrade to kernel-image-2.6.8-2-686 (version 2.6.8-11). I'm using
encrypted swap with the cryptsetup package.
The kernel package installation attempt looks like this:
[dkg@pinhead dkg]$ sudo apt-get install kernel-image-2.6.8-2-686
Reading Package Lists... Done
Building Dependency Tree... Done
kernel-image-2.6.8-2-686 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up kernel-image-2.6.8-2-686 (2.6.8-11) ...
Unknown DM device 254:0
Failed to create initrd image.
dpkg: error processing kernel-image-2.6.8-2-686 (--configure):
subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
kernel-image-2.6.8-2-686
E: Sub-process /usr/bin/dpkg returned an error code (1)
[dkg@pinhead dkg]$
if i swapoff that encrypted device, the installation still doesn't
work:
[dkg@pinhead dkg]$ sudo swapoff /dev/mapper/cryptswap
[dkg@pinhead dkg]$ sudo apt-get install kernel-image-2.6.8-2-686
Reading Package Lists... Done
Building Dependency Tree... Done
kernel-image-2.6.8-2-686 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up kernel-image-2.6.8-2-686 (2.6.8-11) ...
Unknown DM device 254:0
Failed to create initrd image.
dpkg: error processing kernel-image-2.6.8-2-686 (--configure):
subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
kernel-image-2.6.8-2-686
E: Sub-process /usr/bin/dpkg returned an error code (1)
[dkg@pinhead dkg]$
but if i actually tell the device mapper to unmap the encrypted
partition, the installation proceeds as expected:
[dkg@pinhead dkg]$ sudo /sbin/cryptsetup remove cryptswap
[dkg@pinhead dkg]$ sudo apt-get install kernel-image-2.6.8-2-686
Reading Package Lists... Done
Building Dependency Tree... Done
kernel-image-2.6.8-2-686 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up kernel-image-2.6.8-2-686 (2.6.8-11) ...
Searching for GRUB installation directory ... found: /boot/grub .
Testing for an existing GRUB menu.list file... found: /boot/grub/menu.lst .
Searching for splash image... none found, skipping...
Found kernel: /vmlinuz-2.6.8-2-686
Found kernel: /vmlinuz-2.6.8-1-686
Found kernel: /vmlinuz-2.4.27-1-686
Found kernel: /vmlinuz-2.4.26-1-686
Found kernel: /memtest86+.bin
Updating /boot/grub/menu.lst ... done
[dkg@pinhead dkg]$
i'm happy to supply any additional information about the system if it
would help; let me know what's needed.
--dkg
Reply to: