Package: kernel-package Version: 11.015 Severity: important Justification: Affects the ability to ease of installing kernel images when lilo (a very common choice) is the boot loader.
In the postinst generated by kernel-package, the test around line 152 that sets the internal variable $explicit_do_loader will never work due to misuse of the regular expression g flag. Specifically, because the g flag is specified needlessly and the previous line tested the same regular expression, perl will look for the NEXT occurance of that regex on the same line of the config file, which will never match (because the regex matched the whole line if it matched at all). For more information read man perlretut section "Using regular expressions in Perl" for the semantics of the g flag. This causes postinst to always ask the user to confirm the use of lilo, no matter what kernel-img.conf says. I suggest not using that g flag where it makes no sense in the <CONF> reading loop. -- System Information: Debian Release: 5.0.3 APT prefers stable APT policy: (990, 'stable'), (500, 'oldstable'), (400, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.31jbj3.4-43 (SMP w/4 CPU cores) Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages kernel-package depends on: ii binutils 2.18.1~cvs20080103-7 The GNU assembler, linker and bina ii debianutils 2.30 Miscellaneous utilities specific t ii dpkg 1.14.25 Debian package management system ii dpkg-dev 1.14.25 Debian package development tools ii file 4.26-1 Determines file type using "magic" ii gcc [c-compiler] 4:4.3.2-2 The GNU C compiler ii gcc-3.3 [c-compiler 1:3.3.6-15 The GNU C compiler ii gcc-4.1 [c-compiler 4.1.2-25 The GNU C compiler ii gcc-4.3 [c-compiler 4.3.2-1.1 The GNU C compiler ii gettext 0.17-4 GNU Internationalization utilities ii make 3.81-5 The GNU version of the "make" util ii module-init-tools 3.4-1 tools for managing Linux kernel mo ii perl 5.10.0-19lenny2 Larry Wall's Practical Extraction ii po-debconf 1.0.15 manage translated Debconf template ii util-linux 2.13.1.1-1jbj1 Miscellaneous system utilities Versions of packages kernel-package recommends: ii bzip2 1.0.5-1 high-quality block-sorting file co ii libc6-dev [libc-dev] 2.7-18 GNU C Library: Development Librari Versions of packages kernel-package suggests: pn docbook-util <none> (no description available) ii e2fsprogs 1.41.3-1 ext2/ext3/ext4 file system utiliti ii kernel-sourc 2.6.8-17sarge1 Linux kernel source for version 2. ii libdb3-dev 3.2.9+dfsg-0.1 Berkeley v3 Database Libraries [de ii libncurses5- 5.7+20081213-1 developer's libraries and docs for pn linux-initra <none> (no description available) ii linux-source 2.6.12-10 Linux kernel source for version 2. ii linux-source 2.6.14-5 Linux kernel source for version 2. ii linux-source 2.6.15-8 Linux kernel source for version 2. ii linux-source 2.6.16-18 Linux kernel source for version 2. ii linux-source 2.6.17-9 Linux kernel source for version 2. ii linux-source 2.6.18.dfsg.1-26etch1 Linux kernel source for version 2. ii linux-source 2.6.21-4 Linux kernel source for version 2. ii linux-source 2.6.22-4 Linux kernel source for version 2. ii linux-source 2.6.24-6~etchnhalf.9etch1 Linux kernel source for version 2. ii linux-source 2.6.25-7 Linux kernel source for version 2. ii linux-source 2.6.26-19lenny2 Linux kernel source for version 2. ii linux-source 2.6.29-4 Linux kernel source for version 2. ii linux-source 2.6.30-7 Linux kernel source for version 2. ii linux-source 2.6.32~rc8-1~experimental.1 Linux kernel source for version 2. 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