Ubuntu

kernel failed to install/upgrade: run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 1 [IndexError: list index out of range]

Reported by Steve Robb on 2012-04-14
152
This bug affects 20 people
Affects Status Importance Assigned to Milestone
nvidia-common (Ubuntu)
Undecided
Unassigned

Bug Description

run-parts: executing /etc/kernel/postinst.d/nvidia-common 2.6.32-40-generic /boot/vmlinuz-2.6.32-40-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

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-40-generic 2.6.32-40.87
ProcVersionSignature: Ubuntu 2.6.32-40.87-generic 2.6.32.57+drm33.23
Uname: Linux 2.6.32-40-generic x86_64
Architecture: amd64
Date: Sat Apr 14 16:17:21 2012
ErrorMessage: run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 1
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
SourcePackage: nvidia-common
Title: package linux-image-2.6.32-40-generic 2.6.32-40.87 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 1

Steve Robb (srobb1) wrote :
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-common (Ubuntu):
status: New → Confirmed
tags: added: precise
summary: - package linux-image-2.6.32-40-generic 2.6.32-40.87 failed to
- install/upgrade: run-parts: /etc/kernel/postinst.d/nvidia-common exited
- with return code 1
+ kernel failed to install/upgrade: run-parts: /etc/kernel/postinst.d
+ /nvidia-common exited with return code 1 [IndexError: list index out of
+ range]
description: updated
gstlouis (greg-s-stlouis) wrote :

Just some additional information from another affected user. Downloaded the latest 12.04.1 ISO on 11/3/12, burnt to CD, and installed on my desktop. Selected updates and third-party software during installation. Immediately after the installation completed and my PC rebooted, I opened update manager and installed all updates. After restarting again, I ran "Additional Drivers" and received this error.

I've installed NO other software - This is a brand-spanking new, fresh installation of 12.04.1, with all current updates (I've also not enabled any other repos).

FWIW, I have two GeForce GTX 570 HD cards installed.

Tom Owen (tomowen84) wrote :

I have almost identical situation as post #4.

Newish 12.04 (August), installed all updates after installation, also installed some flash plugins and testdisk

Terminal output:

tom@DeathStar:~$ sudo jockey-gtk

(jockey-gtk:4513): Gtk-CRITICAL **: gtk_icon_set_render_icon_pixbuf: assertion `icon_set != NULL' failed

(jockey-gtk:4513): Gtk-CRITICAL **: gtk_icon_set_render_icon_pixbuf: assertion `icon_set != NULL' failed
Traceback (most recent call last):
  File "/usr/bin/jockey-gtk", line 418, in <module>
    sys.exit(u.run())
  File "/usr/lib/python2.7/dist-packages/jockey/ui.py", line 468, in run
    self.ui_show_main()
  File "/usr/bin/jockey-gtk", line 94, in ui_show_main
    self.update_tree_model()
  File "/usr/bin/jockey-gtk", line 275, in update_tree_model
    info = self.get_ui_driver_info(h_id)
  File "/usr/lib/python2.7/dist-packages/jockey/ui.py", line 295, in get_ui_driver_info
    info = self.backend().handler_info(handler_id)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.IndexError: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python2.7/dist-packages/jockey/backend.py", line 266, in handler_info
    'recommended': str(h.recommended()),
  File "/usr/share/jockey/handlers/nvidia.py", line 136, in recommended
    nd = NvidiaDetection()
  File "/usr/lib/python2.7/dist-packages/NvidiaDetector/nvidiadetector.py", line 74, in __init__
    self.selectDriver()
  File "/usr/lib/python2.7/dist-packages/NvidiaDetector/nvidiadetector.py", line 317, in selectDriver
    choice = self.driversForCards[self.driversForCards.keys()[0]][0]
IndexError: list index out of range

I have two NVIDIA GEFORCE GTX 670 cards.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers