Package: kernel-package Version: 12.031 Severity: grave Justification: renders package unusable
Since a few builds using kernel-package, I get a nasty error during install. The message (for a second try) is: LC_ALL=C sudo dpkg -i linux-image-2.6.32_2_amd64.deb (Reading database ... 121446 files and directories currently installed.) Preparing to replace linux-image-2.6.32 2 (using linux-image-2.6.32_2_amd64.deb) ... The directory /lib/modules/2.6.32 still exists. Continuing as directed. Examining /etc/kernel/preinst.d/ Done. Unpacking replacement linux-image-2.6.32 ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.32 /boot/vmlinuz-2.6.32 Setting up linux-image-2.6.32 (2) ... Internal Error: Could not find image (/boot/bzImage-2.6.32) dpkg: error processing linux-image-2.6.32 (--install): A first try does give the same error, it's just not saying it replaces the 2.6.32 kernel with itself. The error comes frfom the fact the .deb still ships a vmlinuz-2.6.32 file, but no bzImage-2.6.32 file. I find myself editing the postinst script in the /var/lib/dpkg/infos/linux-image${kernel version}.postinst to replace the line my $kimage = "bzImage"; # Should be empty, mostly with my $kimage = "vmlinuz"; # Should be empty, mostly then i must issue this command: $ sudo apt-get -f install So that postinst is executed and gets the name correctly guessed. The kernel has been built as follows: $ hg clone http://kernel.org/hg/linux-2.6 $ cd linux-2.6 $ hg up -C v2.6.32 $ cp $data/linux-2.6.32.config .config $ CONCURRENCY_LEVEL=2 make-kpkg \ --bzimage --initrd --rootcmd fakeroot --revision 2 My kernel-img.conf is as follows: # Kernel image management overrides # See kernel-img.conf(5) for details silent_modules = yes -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages kernel-package depends on: ii binutils 2.20-4 The GNU assembler, linker and bina ii build-essential 11.4 Informational list of build-essent ii debianutils 3.2.2 Miscellaneous utilities specific t ii file 5.03-4 Determines file type using "magic" ii gettext 0.17-8 GNU Internationalization utilities ii make 3.81-7 An utility for Directing compilati ii module-init-tools 3.11-1 tools for managing Linux kernel mo ii po-debconf 1.0.16 tool for managing templates file t ii util-linux 2.16.2-0 Miscellaneous system utilities Versions of packages kernel-package recommends: ii cpio 2.10-1 GNU cpio -- a program to manage ar Versions of packages kernel-package suggests: ii bzip2 1.0.5-3 high-quality block-sorting file co pn docbook-utils <none> (no description available) ii e2fsprogs 1.41.9-1 ext2/ext3/ext4 file system utiliti ii initramfs-tools [linux-in 0.93.4 tools for generating an initramfs pn libdb3-dev <none> (no description available) ii libncurses5-dev [libncurs 5.7+20090803-2 developer's libraries and docs for pn linux-source | kernel-sou <none> (no description available) pn xmlto <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org