Package: kernel-package Version: 10.062 Followup-For: Bug #386019 I still encounter the bug with the last 2 kernel installation I've done (2.6.18 and 2.6.18.1)
please, note that I do compile the kernel by hand because of grsec and rt2500 module here is the output I have when installing : --%<-----%<-----%<-----%<-----%<-----%<-----%<-----%<-----%<-----%<--- # dpkg -i linux-image-2.6.18.1-grsec_adren1_amd64.deb rt2500-modules-2.6.18.1-grsec_1.1.0+cvs20060620-3+adren1_amd64.deb (Lecture de la base de données... 214557 fichiers et répertoires déjà installés.) Préparation du remplacement de linux-image-2.6.18.1-grsec adren1 (en utilisant linux-image-2.6.18.1-grsec_adren1_amd64.deb) ... Done. Dépaquetage de la mise à jour de linux-image-2.6.18.1-grsec ... Running postrm hook script /usr/sbin/update-grub. Searching for GRUB installation directory ... found: /boot/grub Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Found kernel: /vmlinuz.old Found kernel: /vmlinuz-2.6.18.1-grsec Found kernel: /vmlinuz-2.6.18-grsec Found kernel: /vmlinuz-2.6.17.11-grsec Found kernel: /vmlinuz-2.6.16.20-grsec Found kernel: /memtest86+.bin Updating /boot/grub/menu.lst ... done Préparation du remplacement de rt2500-modules-2.6.18.1-grsec 1.1.0+cvs20060620-3+adren1 (en utilisant rt2500-modules-2.6.18.1-grsec_1.1.0+cvs20060620-3+adren1_amd64.deb) ... Dépaquetage de la mise à jour de rt2500-modules-2.6.18.1-grsec ... Paramétrage de linux-image-2.6.18.1-grsec (adren1) ... Running depmod. Missing Required paramater 'Old' at /var/lib/dpkg/info/linux-image-2.6.18.1-grsec.postinst line 393. dpkg : erreur de traitement de linux-image-2.6.18.1-grsec (--install) : le sous-processus post-installation script a retourné une erreur de sortie d'état 2 Paramétrage de rt2500-modules-2.6.18.1-grsec (1.1.0+cvs20060620-3+adren1) ... Des erreurs ont été rencontrées pendant l'exécution : linux-image-2.6.18.1-grsec --%<-----%<-----%<-----%<-----%<-----%<-----%<-----%<-----%<-----%<--- same thing with LANG=C BTW --%<-----%<-----%<-----%<-----%<-----%<-----%<-----%<-----%<-----%<--- # LANG=C dpkg -i linux-image-2.6.18.1-grsec_adren1_amd64.deb (Reading database ... 214557 files and directories currently installed.) Preparing to replace linux-image-2.6.18.1-grsec adren1 (using linux-image-2.6.18.1-grsec_adren1_amd64.deb) ... [...] Setting up linux-image-2.6.18.1-grsec (adren1) ... Running depmod. Missing Required paramater 'Old' at /var/lib/dpkg/info/linux-image-2.6.18.1-grsec.postinst line 393. dpkg: error processing linux-image-2.6.18.1-grsec (--install): subprocess post-installation script returned error exit status 2 Errors were encountered while processing: linux-image-2.6.18.1-grsec --%<-----%<-----%<-----%<-----%<-----%<-----%<-----%<-----%<-----%<--- and then the installation in /boot is left unfinished : # ls -l /boot/vmlinuz* -rw-r--r-- 1 root root 1148433 2006-06-15 19:54 /boot/vmlinuz-2.6.16.20-grsec -rw-r--r-- 1 root root 1185165 2006-08-24 02:40 /boot/vmlinuz-2.6.17.11-grsec -rw-r--r-- 1 root root 1356885 2006-10-16 12:29 /boot/vmlinuz-2.6.18.1-grsec -rw-r--r-- 1 root root 1252052 2006-10-01 00:37 /boot/vmlinuz-2.6.18-grsec lrwxrwxrwx 1 root root 20 2006-10-02 23:32 /boot/vmlinuz.30945 -> vmlinuz-2.6.18-grsec lrwxrwxrwx 1 root root 23 2006-08-23 00:06 /boot/vmlinuz.old -> vmlinuz-2.6.17.10-grsec in order to "finish" it by hand, I need to put the right links behind vmlinuz and vmlinuz.old and run update-grub -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (990, 'unstable'), (99, 'experimental') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-grsec Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Versions of packages kernel-package depends on: ii dpkg 1.13.24 package maintenance system for Deb ii dpkg-dev 1.13.24 package building tools for Debian ii file 4.17-4 Determines file type using "magic" ii gcc [c-compiler] 4:4.1.1-11 The GNU C compiler ii gcc-4.1 [c-compiler] 4.1.1-16 The GNU C compiler ii gettext 0.15-2 GNU Internationalization utilities ii make 3.81-3 The GNU version of the "make" util ii perl 5.8.8-6.1 Larry Wall's Practical Extraction ii po-debconf 1.0.6 manage translated Debconf template Versions of packages kernel-package recommends: ii bzip2 1.0.3-6 high-quality block-sorting file co ii libc6-dev [libc-dev] 2.3.6.ds1-6 GNU C Library: Development Librari -- no debconf information