Every time I want to update I get this error. I tried to reinstall the kernel with dpkg, no luck:
david@sneaker:~$ sudo dpkg -i linux-headers-2.6.28-13-generic_2.6.28-13.45_i386.deb linux-image-2.6.28-13-generic_2.6.28-13.45_i386.deb
(Reading database ... 147662 files and directories currently installed.)
Preparing to replace linux-headers-2.6.28-13-generic 2.6.28-13.45 (using linux-headers-2.6.28-13-generic_2.6.28-13.45_i386.deb) ...
Unpacking replacement linux-headers-2.6.28-13-generic ...
Preparing to replace linux-image-2.6.28-13-generic 2.6.28-13.45 (using linux-image-2.6.28-13-generic_2.6.28-13.45_i386.deb) ...
Done.
Unpacking replacement linux-image-2.6.28-13-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/memtest86+.bin
Updating /boot/grub/menu.lst ... done
Setting up linux-headers-2.6.28-13-generic (2.6.28-13.45) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms
* Running DKMS auto installation service for kernel 2.6.28-13-generic
* vboxdrv (3.0.2)... vboxdrv: Multiple versions in DKMS. Unsure what to do. Resolve manually. [fail]
* vboxnetadp (3.0.2)... vboxnetadp (3.0.2): Already installed on this kernel. [ OK ]
* vboxnetflt (3.0.2)... vboxnetflt (3.0.2): Already installed on this kernel. [ OK ]
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-13-generic.postinst line 110.
dpkg: error processing linux-headers-2.6.28-13-generic (--install):
subprocess post-installation script returned error exit status 2
Setting up linux-image-2.6.28-13-generic (2.6.28-13.45) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.28-13-generic
Running postinst 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/memtest86+.bin
Updating /boot/grub/menu.lst ... done
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms
* Running DKMS auto installation service for kernel 2.6.28-13-generic
* vboxdrv (3.0.2)... vboxdrv: Multiple versions in DKMS. Unsure what to do. Resolve manually. [fail]
* vboxnetadp (3.0.2)... vboxnetadp (3.0.2): Already installed on this kernel. [ OK ]
* vboxnetflt (3.0.2)... vboxnetflt (3.0.2): Already installed on this kernel. [ OK ]
run-parts: executing /etc/kernel/postinst.d/nvidia-common
run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 10
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.28-13-generic.postinst line 1002.
dpkg: error processing linux-image-2.6.28-13-generic (--install):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
linux-headers-2.6.28-13-generic
linux-image-2.6.28-13-generic
Every time I want to update I get this error. I tried to reinstall the kernel with dpkg, no luck: 2.6.28- 13-generic_ 2.6.28- 13.45_i386. deb linux-image- 2.6.28- 13-generic_ 2.6.28- 13.45_i386. deb 2.6.28- 13-generic 2.6.28-13.45 (using linux-headers- 2.6.28- 13-generic_ 2.6.28- 13.45_i386. deb) ... 2.6.28- 13-generic ... 2.6.28- 13-generic 2.6.28-13.45 (using linux-image- 2.6.28- 13-generic_ 2.6.28- 13.45_i386. deb) ... 2.6.28- 13-generic ... 2.6.28- 13-generic +.bin
david@sneaker:~$ sudo dpkg -i linux-headers-
(Reading database ... 147662 files and directories currently installed.)
Preparing to replace linux-headers-
Unpacking replacement linux-headers-
Preparing to replace linux-image-
Done.
Unpacking replacement linux-image-
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-
Found kernel: /boot/memtest86
Updating /boot/grub/menu.lst ... done
Setting up linux-headers- 2.6.28- 13-generic (2.6.28-13.45) ... header_ postinst. d. header_ postinst. d/dkms
[fail]
[ OK ]
[ OK ] header_ postinst. d/nvidia- common header_ postinst. d/nvidia- common exited with return code 10 header_ postinst. d at /var/lib/ dpkg/info/ linux-headers- 2.6.28- 13-generic. postinst line 110. 2.6.28- 13-generic (--install): 2.6.28- 13-generic (2.6.28-13.45) ... img-2.6. 28-13-generic 2.6.28- 13-generic +.bin
Examining /etc/kernel/
run-parts: executing /etc/kernel/
* Running DKMS auto installation service for kernel 2.6.28-13-generic
* vboxdrv (3.0.2)... vboxdrv: Multiple versions in DKMS. Unsure what to do. Resolve manually.
* vboxnetadp (3.0.2)... vboxnetadp (3.0.2): Already installed on this kernel.
* vboxnetflt (3.0.2)... vboxnetflt (3.0.2): Already installed on this kernel.
run-parts: executing /etc/kernel/
run-parts: /etc/kernel/
Failed to process /etc/kernel/
dpkg: error processing linux-headers-
subprocess post-installation script returned error exit status 2
Setting up linux-image-
Running depmod.
update-initramfs: Generating /boot/initrd.
Running postinst 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-
Found kernel: /boot/memtest86
Updating /boot/grub/menu.lst ... done
Examining /etc/kernel/ postinst. d. postinst. d/dkms
[fail]
[ OK ]
[ OK ] postinst. d/nvidia- common postinst. d/nvidia- common exited with return code 10 postinst. d at /var/lib/ dpkg/info/ linux-image- 2.6.28- 13-generic. postinst line 1002. 2.6.28- 13-generic (--install): headers- 2.6.28- 13-generic image-2. 6.28-13- generic
run-parts: executing /etc/kernel/
* Running DKMS auto installation service for kernel 2.6.28-13-generic
* vboxdrv (3.0.2)... vboxdrv: Multiple versions in DKMS. Unsure what to do. Resolve manually.
* vboxnetadp (3.0.2)... vboxnetadp (3.0.2): Already installed on this kernel.
* vboxnetflt (3.0.2)... vboxnetflt (3.0.2): Already installed on this kernel.
run-parts: executing /etc/kernel/
run-parts: /etc/kernel/
Failed to process /etc/kernel/
dpkg: error processing linux-image-
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
linux-
linux-