Errors were encountered while processing: linux-image-2.6.28-13-generic

Bug #395613 reported by jokker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-common (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

david@sneaker:~$ sudo apt-get upgrade
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.
Do you want to continue [Y/n]?
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
Not updating initrd symbolic links since we are being updated/reinstalled
(2.6.28-13.44 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(2.6.28-13.44 was configured last, according to dpkg)
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.0)... vboxdrv (3.0.0): Already installed on this kernel.
                                                                         [ OK ]
 * vboxnetadp (3.0.0)... vboxnetadp (3.0.0): Already installed on this kernel.
                                                                         [ OK ]
 * vboxnetflt (3.0.0)... vboxnetflt (3.0.0): 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 (--configure):
 subprocess post-installation script returned error exit status 2
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.0)... vboxdrv (3.0.0): Already installed on this kernel.
                                                                         [ OK ]
 * vboxnetadp (3.0.0)... vboxnetadp (3.0.0): Already installed on this kernel.
                                                                         [ OK ]
 * vboxnetflt (3.0.0)... vboxnetflt (3.0.0): 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 (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 linux-image-2.6.28-13-generic
 linux-headers-2.6.28-13-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

For information I don't even have an Nvidia card... I'm using fglrx on an old ATI 9200SE agp card.

Revision history for this message
jokker (david-las-solanas) wrote :

It's been quite a while now, any news or help a bout this ? Please.

Revision history for this message
jokker (david-las-solanas) wrote :
Download full text (5.9 KiB)

UPDATE:

david@sneaker:~$ sudo aptitude safe-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following partially installed packages will be configured:
  linux-headers-2.6.28-13-generic linux-image-2.6.28-13-generic
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
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
Not updating initrd symbolic links since we are being updated/reinstalled
(2.6.28-13.44 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(2.6.28-13.44 was configured last, according to dpkg)
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 (2.0.6)... vboxdrv (2.0.6): Unable to locate /var/lib/dkms/vboxdrv/2.0.6/source/dkms.conf
 DKMS tree must be manually fixed.
                                                                         [fail]
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 (--configure):
 subprocess post-installation script returned error exit status 2
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 (2.0.6)... vboxdrv (2.0.6): Unable to locate /var/lib/dkms/vboxdrv/2.0.6/source/dkms.conf
 DKMS tree must be manually fixed.
                                                                         [fail]
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 (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 linux-image-2.6.28-13-generic
 linux-headers-2.6.28-13-generic
E: Sub-process /usr/bin/dpkg returned an error code (1...

Read more...

Revision history for this message
jokker (david-las-solanas) wrote :
Download full text (8.4 KiB)

There is something wrong somewhere but I don't see what.

david@sneaker:~$ sudo /etc/init.d/vboxdrv setup
 * Stopping VirtualBox kernel module * done.
 * Removing old VirtualBox netadp kernel module * done.
 * Removing old VirtualBox netflt kernel module * done.
 * Removing old VirtualBox kernel module * done.
 * Recompiling VirtualBox kernel module * done.
 * Starting VirtualBox kernel module * done.
david@sneaker:~$ sudo /etc/init.d/dkms_autoinstaller start
 * Running DKMS auto installation service for kernel 2.6.28-13-generic * vboxdrv (3.0.2)... [ OK ]
 * vboxnetadp (3.0.2)... [ OK ]
 * vboxnetflt (3.0.2)... [ OK ]
david@sneaker:~$ sudo aptitude update
...
david@sneaker:~$ sudo aptitude full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following partially installed packages will be configured:
  linux-headers-2.6.28-13-generic linux-image-2.6.28-13-generic
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
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
Not updating initrd symbolic links since we are being updated/reinstalled
(2.6.28-13.44 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(2.6.28-13.44 was configured last, according to dpkg)
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 (3.0.2): Already installed on this kernel.
                                                                         [ OK ]
 * 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/...

Read more...

Revision history for this message
jokker (david-las-solanas) wrote :
Download full text (4.6 KiB)

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

Ex...

Read more...

affects: ubuntu → dpkg (Ubuntu)
Changed in dpkg (Ubuntu):
status: New → Confirmed
Revision history for this message
jokker (david-las-solanas) wrote :

FOUND THE SOLUTION:
sudo aptitude purge nvidia-common
and you're set !

Philip Muškovac (yofel)
affects: dpkg (Ubuntu) → nvidia-common (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.