package linux-image-2.6.27-7-generic 2.6.27-7.16 failed to install/upgrade: /etc/kernel/prerm.d/last-good-boot: 3: /usr/sbin/kernel-helper: not found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Hello me again :p,
After automaticly upgrading to the new kernel 2.6.27-11 without any problem; I was trying to remove old kernel files from my ubuntu intrepid install (using sysnaptique of course) to clean my grub screen.
but I faced with this error message, here is the detailed uninstall log :
-------
(Lecture de la base de données... 117926 fichiers et répertoires déjà installés.)
Suppression de linux-restricte
update-initramfs: Generating /boot/initrd.
(Lecture de la base de données... 117868 fichiers et répertoires déjà installés.)
Suppression de linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
/etc/kernel/
run-parts: /etc/kernel/
Failed to process /etc/kernel/prerm.d at /var/lib/
dpkg : erreur de traitement de linux-image-
le sous-processus pre-removal script a retourné une erreur de sortie d'état 2
Des erreurs ont été rencontrées pendant l'exécution :
linux-
E: Sub-process /usr/bin/dpkg returned an error code (1)
Un paquet n'a pas pu être installé. Tentative de récupération :
-------
PLATFORM INFORMATION :
- Dell Dimension E521
- OS : Ubuntu Intrepid Ibex 8.10
- uname -r => 2.6.27-11-generic
What I don't understand is that I was trying to clean the kernel, in the log I see it generates initramfs "Generating /boot/initrd.
-------
/boot# ls -la
total 23708
drwxr-xr-x 3 root root 4096 2009-03-28 17:30 .
drwxr-xr-x 19 root root 4096 2009-03-28 03:04 ..
-rw-r--r-- 1 root root 508385 2009-01-29 22:11 abi-2.6.
-rw-r--r-- 1 root root 507665 2008-11-04 22:00 abi-2.6.
-rw-r--r-- 1 root root 91358 2009-01-29 22:11 config-
-rw-r--r-- 1 root root 91364 2008-11-04 22:00 config-
drwxr-xr-x 2 root root 4096 2009-03-28 17:25 grub
-rw-r--r-- 1 root root 8172570 2009-03-28 03:05 initrd.
-rw-r--r-- 1 root root 8169865 2009-03-28 17:30 initrd.
-rw-r--r-- 1 root root 124152 2008-09-11 22:11 memtest86+.bin
-rw-r--r-- 1 root root 1031799 2009-01-29 22:11 System.
-rw-r--r-- 1 root root 1029585 2008-11-04 22:00 System.
-rw-r--r-- 1 root root 1074 2009-01-29 22:12 vmcoreinfo-
-rw-r--r-- 1 root root 1073 2008-11-04 22:02 vmcoreinfo-
-rw-r--r-- 1 root root 2248912 2009-01-29 22:11 vmlinuz-
-rw-r--r-- 1 root root 2244464 2008-11-04 22:00 vmlinuz-
-------
Thanks,
Uğur
ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 8.10
ErrorMessage: le sous-processus pre-removal script a retourné une erreur de sortie d'état 2
NonfreeKernelMo
Package: linux-image-
ProcCmdLine: User Name=UUID=
ProcVersionSign
SourcePackage: linux
Title: package linux-image-
Hi 3rd Maths,
The following seems to be the most relevant bits of the error message. Setting this to Triaged for the kernel team to investigate. Thanks.
run-parts: executing /etc/kernel/ prerm.d/ last-good- boot prerm.d/ last-good- boot: 3: /usr/sbin/ kernel- helper: not found prerm.d/ last-good- boot exited with return code 127 dpkg/info/ linux-image- 2.6.27- 7-generic. prerm line 267. 2.6.27- 7-generic (--purge) :
/etc/kernel/
run-parts: /etc/kernel/
Failed to process /etc/kernel/prerm.d at /var/lib/
dpkg : erreur de traitement de linux-image-
le sous-processus pre-removal script a retourné une erreur de sortie d'état 2