Public bug reported:

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-restricted-modules-2.6.27-7-generic ...
update-initramfs: Generating /boot/initrd.img-2.6.27-7-generic
(Lecture de la base de données... 117868 fichiers et répertoires déjà 
installés.)
Suppression de linux-image-2.6.27-7-generic ...
Examining /etc/kernel/prerm.d.
run-parts: executing /etc/kernel/prerm.d/dkms
run-parts: executing /etc/kernel/prerm.d/last-good-boot
/etc/kernel/prerm.d/last-good-boot: 3: /usr/sbin/kernel-helper: not found
run-parts: /etc/kernel/prerm.d/last-good-boot exited with return code 127
Failed to process /etc/kernel/prerm.d at 
/var/lib/dpkg/info/linux-image-2.6.27-7-generic.prerm line 267.
dpkg : erreur de traitement de linux-image-2.6.27-7-generic (--purge) :
 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-image-2.6.27-7-generic
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.img-2.6.27-7-generic". Isn't it useless as what I wish is
precisely to remove this version of the kernel and not to rebuild it :/
Here is the content of the boot fodler if it helps.

--------------------------------------------------------------------------------
/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.27-11-generic
-rw-r--r--  1 root root  507665 2008-11-04 22:00 abi-2.6.27-7-generic
-rw-r--r--  1 root root   91358 2009-01-29 22:11 config-2.6.27-11-generic
-rw-r--r--  1 root root   91364 2008-11-04 22:00 config-2.6.27-7-generic
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.img-2.6.27-11-generic
-rw-r--r--  1 root root 8169865 2009-03-28 17:30 initrd.img-2.6.27-7-generic
-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.map-2.6.27-11-generic
-rw-r--r--  1 root root 1029585 2008-11-04 22:00 System.map-2.6.27-7-generic
-rw-r--r--  1 root root    1074 2009-01-29 22:12 vmcoreinfo-2.6.27-11-generic
-rw-r--r--  1 root root    1073 2008-11-04 22:02 vmcoreinfo-2.6.27-7-generic
-rw-r--r--  1 root root 2248912 2009-01-29 22:11 vmlinuz-2.6.27-11-generic
-rw-r--r--  1 root root 2244464 2008-11-04 22:00 vmlinuz-2.6.27-7-generic
--------------------------------------------------------------------------------

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
NonfreeKernelModules: nvidia
Package: linux-image-2.6.27-7-generic 2.6.27-7.16
ProcCmdLine: User Name=UUID=23a66131-11c8-42e4-b8d0-6c95abcf99d0 ro quiet splash
ProcVersionSignature: Ubuntu 2.6.27-11.27-generic
SourcePackage: linux
Title: package linux-image-2.6.27-7-generic 2.6.27-7.16 failed to 
install/upgrade: le sous-processus pre-removal script a retourné une erreur de 
sortie d'état 2

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-package

-- 
package linux-image-2.6.27-7-generic 2.6.27-7.16 failed to install/upgrade: le 
sous-processus pre-removal script a retourné une erreur de sortie d'état 2
https://bugs.launchpad.net/bugs/350413
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to