package linux-image-2.6.32-32-generic 2.6.32-32.62 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 1

Bug #803054 reported by joel truher
This bug report is a duplicate of:  Bug #692022: bug in nvidia-common (0.2.25). Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-common (Ubuntu)
New
Undecided
Unassigned

Bug Description

this issue began upon installation of the nvidia drivers. i have two 560ti cards in my box, connected to each other with SLI; perhaps some aspect of that config is confusing the nvidia python script?

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-32-generic 2.6.32-32.62
ProcVersionSignature: Ubuntu 2.6.32-32.62-generic 2.6.32.38+drm33.16
Uname: Linux 2.6.32-32-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Tue Jun 28 09:20:15 2011
ErrorMessage: run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 1
InstallationMedia: Ubuntu 10.04.2 LTS "Lucid Lynx" - Release amd64 (20110211.1)
SourcePackage: nvidia-common
Title: package linux-image-2.6.32-32-generic 2.6.32-32.62 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 1

Revision history for this message
joel truher (0-joel) wrote :
Revision history for this message
joel truher (0-joel) wrote :
Download full text (4.6 KiB)

Here's some more detail on the failure:

Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 2.6.32-32-generic /boot/vmlinuz-2.6.32-32-generic
run-parts: executing /etc/kernel/postinst.d/nvidia-common 2.6.32-32-generic /boot/vmlinuz-2.6.32-32-generic
Traceback (most recent call last):
  File "/usr/bin/nvidia-detector", line 8, in <module>
    a = NvidiaDetection(printonly=True)
  File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 85, in __init__
    self.printSelection()
  File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 408, in printSelection
    driver = self.selectDriver()
  File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 328, in selectDriver
    choice = self.driversForCards[self.driversForCards.keys()[0]][0]
IndexError: list index out of range
run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.32-32-generic.postinst line 1003.
dpkg: error processing linux-image-2.6.32-32-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                                                                                                                                    dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-2.6.32-32-generic; however:
  Package linux-image-2.6.32-32-generic is not configured yet.
dpkg: error processing linux-image-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 2.6.32.32.38); however:
  Package linux-image-generic is not configured yet.
dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
Setting up linux-headers-2.6.32-32-generic (2.6.32-32.62) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 2.6.32-32-generic /boot/vmlinuz-2.6.32-32-generic
run-parts: executing /etc/kernel/header_postinst.d/nvidia-common 2.6.32-32-generic /boot/vmlinuz-2.6.32-32-generic
Traceback (most recent call last):
  File "/usr/bin/nvidia-detector", line 8, in <module>
    a = NvidiaDetection(printonly=True)
  File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 85, in __init__
    self.printSelection()
  File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 408, in printSelection
    driver = self.selectDriver()
  File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 328, in selectDriver
    choice = self.driversForCards[self.drive...

Read more...

Revision history for this message
joel truher (0-joel) wrote :

oh. maybe this is 692022. i'll try upgrading to 11.04, which contains a fix.

Revision history for this message
joel truher (0-joel) wrote :

11.04 fixed it.

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.