← Back to team overview

ubuntuforums-unanswered team mailing list archive

Re: [Question #78599]: E: linux-image-2.6.28-14-generic: subprocess post-installation script returned error exit status 2

 

Question #78599 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/78599

    Status: Answered => Open

belfo is still having a problem:
yes yes it working, but every time i start update manager it will
propose the update.

well i tryied the line you give this is the output:

 sudo apt-get --purge remove linux-image-2.6.28-14-generic; sudo apt-get --purge autoremove
[sudo] password for belfo: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  linux-generic* linux-image-2.6.28-14-generic* linux-image-generic* linux-restricted-modules-2.6.28-14-generic* linux-restricted-modules-generic*
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
7 not fully installed or removed.
After this operation, 98.3MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 146268 files and directories currently installed.)
Removing linux-generic ...
Removing linux-restricted-modules-generic ...
Removing linux-restricted-modules-2.6.28-14-generic ...
rmdir: failed to remove `/lib/modules/2.6.28-14-generic/volatile/': No such file or directory
update-initramfs: Generating /boot/initrd.img-2.6.28-14-generic
Purging configuration files for linux-restricted-modules-2.6.28-14-generic ...
Removing linux-image-generic ...
Removing linux-image-2.6.28-14-generic ...
Examining /etc/kernel/prerm.d.
run-parts: executing /etc/kernel/prerm.d/last-good-boot
Running postrm hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.28-13-generic
Found kernel: /boot/vmlinuz-2.6.28-11-generic
Found kernel: /boot/memtest86+.bin
Replacing config file /var/run/grub/menu.lst with new version
Updating /boot/grub/menu.lst ... done

The link /vmlinuz is a damaged link
Removing symbolic link vmlinuz 
 you may need to re-run your boot loader[grub]
The link /vmlinuz.old is a damaged link
Removing symbolic link vmlinuz.old 
 you may need to re-run your boot loader[grub]
The link /initrd.img is a damaged link
Removing symbolic link initrd.img 
 you may need to re-run your boot loader[grub]
The link /initrd.img.old is a damaged link
Removing symbolic link initrd.img.old 
 you may need to re-run your boot loader[grub]
Purging configuration files for linux-image-2.6.28-14-generic ...
Running postrm hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.28-13-generic
Found kernel: /boot/vmlinuz-2.6.28-11-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

Setting up linux-headers-2.6.28-14-generic (2.6.28-14.47) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/nvidia-common
run-parts: /etc/kernel/header_postinst.d/nvidia-common exited with return code 10
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-2.6.28-14-generic.postinst line 110.
dpkg: error processing linux-headers-2.6.28-14-generic (--configure):
 subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-headers-generic:
 linux-headers-generic depends on linux-headers-2.6.28-14-generic; however:
  Package linux-headers-2.6.28-14-generic is not configured yet.
dpkg: error processing linux-headers-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
 linux-headers-2.6.28-14-generic
 linux-headers-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up linux-headers-2.6.28-14-generic (2.6.28-14.47) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/nvidia-common
run-parts: /etc/kernel/header_postinst.d/nvidia-common exited with return code 10
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-2.6.28-14-generic.postinst line 110.
dpkg: error processing linux-headers-2.6.28-14-generic (--configure):
 subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-headers-generic:
 linux-headers-generic depends on linux-headers-2.6.28-14-generic; however:
  Package linux-headers-2.6.28-14-generic is not configured yet.
dpkg: error processing linux-headers-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
 linux-headers-2.6.28-14-generic
 linux-headers-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.