nvidia-detector crashed with ValueError in __get_value_from_name(): invalid literal for int() with base 10: '173-updates'

Bug #825308 reported by Sheldon Taylor
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-common (Ubuntu)
New
Undecided
Unassigned

Bug Description

Happened immediately after running update && upgrade in terminal.

~$ sudo apt-get update && sudo apt-get upgrade
Ign http://extras.ubuntu.com oneiric InRelease
Ign http://security.ubuntu.com oneiric-security InRelease
Ign http://us.archive.ubuntu.com oneiric InRelease
Ign http://us.archive.ubuntu.com oneiric-updates InRelease
Ign http://us.archive.ubuntu.com oneiric-backports InRelease
Hit http://extras.ubuntu.com oneiric Release.gpg
Hit http://security.ubuntu.com oneiric-security Release.gpg
Get:1 http://us.archive.ubuntu.com oneiric Release.gpg [198 B]
Hit http://us.archive.ubuntu.com oneiric-updates Release.gpg
Hit http://extras.ubuntu.com oneiric Release
Hit http://security.ubuntu.com oneiric-security Release
Hit http://us.archive.ubuntu.com oneiric-backports Release.gpg
Get:2 http://us.archive.ubuntu.com oneiric Release [39.8 kB]
Hit http://extras.ubuntu.com oneiric/main Sources
Hit http://security.ubuntu.com oneiric-security/main Sources
Hit http://extras.ubuntu.com oneiric/main i386 Packages
Hit http://security.ubuntu.com oneiric-security/restricted Sources
Hit http://security.ubuntu.com oneiric-security/universe Sources
Hit http://security.ubuntu.com oneiric-security/multiverse Sources
Hit http://security.ubuntu.com oneiric-security/main i386 Packages
Hit http://security.ubuntu.com oneiric-security/restricted i386 Packages
Hit http://us.archive.ubuntu.com oneiric-updates Release
Hit http://security.ubuntu.com oneiric-security/universe i386 Packages
Hit http://security.ubuntu.com oneiric-security/multiverse i386 Packages
Hit http://us.archive.ubuntu.com oneiric-backports Release
Get:3 http://us.archive.ubuntu.com oneiric/main Sources [904 kB]
Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Ign http://security.ubuntu.com oneiric-security/main TranslationIndex
Ign http://security.ubuntu.com oneiric-security/multiverse TranslationIndex
Ign http://security.ubuntu.com oneiric-security/restricted TranslationIndex
Ign http://security.ubuntu.com oneiric-security/universe TranslationIndex
Get:4 http://us.archive.ubuntu.com oneiric/restricted Sources [5,346 B]
Get:5 http://us.archive.ubuntu.com oneiric/universe Sources [4,686 kB]
Get:6 http://us.archive.ubuntu.com oneiric/multiverse Sources [153 kB]
Get:7 http://us.archive.ubuntu.com oneiric/main i386 Packages [1,650 kB]
Get:8 http://us.archive.ubuntu.com oneiric/restricted i386 Packages [9,163 B]
Get:9 http://us.archive.ubuntu.com oneiric/universe i386 Packages [6,391 kB]
Get:10 http://us.archive.ubuntu.com oneiric/multiverse i386 Packages [181 kB]
Hit http://us.archive.ubuntu.com oneiric-updates/main Sources
Hit http://us.archive.ubuntu.com oneiric-updates/restricted Sources
Hit http://us.archive.ubuntu.com oneiric-updates/universe Sources
Hit http://us.archive.ubuntu.com oneiric-updates/multiverse Sources
Hit http://us.archive.ubuntu.com oneiric-updates/main i386 Packages
Hit http://us.archive.ubuntu.com oneiric-updates/restricted i386 Packages
Hit http://us.archive.ubuntu.com oneiric-updates/universe i386 Packages
Hit http://us.archive.ubuntu.com oneiric-updates/multiverse i386 Packages
Hit http://us.archive.ubuntu.com oneiric-backports/main Sources
Hit http://us.archive.ubuntu.com oneiric-backports/restricted Sources
Hit http://us.archive.ubuntu.com oneiric-backports/universe Sources
Hit http://us.archive.ubuntu.com oneiric-backports/multiverse Sources
Hit http://us.archive.ubuntu.com oneiric-backports/main i386 Packages
Hit http://us.archive.ubuntu.com oneiric-backports/restricted i386 Packages
Hit http://us.archive.ubuntu.com oneiric-backports/universe i386 Packages
Hit http://us.archive.ubuntu.com oneiric-backports/multiverse i386 Packages
Ign http://us.archive.ubuntu.com oneiric/main TranslationIndex
Ign http://us.archive.ubuntu.com oneiric/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com oneiric/restricted TranslationIndex
Ign http://us.archive.ubuntu.com oneiric/universe TranslationIndex
Ign http://us.archive.ubuntu.com oneiric-updates/main TranslationIndex
Ign http://us.archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Ign http://us.archive.ubuntu.com oneiric-updates/universe TranslationIndex
Ign http://us.archive.ubuntu.com oneiric-backports/main TranslationIndex
Ign http://us.archive.ubuntu.com oneiric-backports/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com oneiric-backports/restricted TranslationIndex
Ign http://us.archive.ubuntu.com oneiric-backports/universe TranslationIndex
Fetched 14.0 MB in 22s (610 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  brasero brasero-cdrkit brasero-common indicator-datetime indicator-messages
  indicator-status-provider-mc5 libbrasero-media3-1
  libindicator-messages-status-provider1
8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
Need to get 1,705 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://us.archive.ubuntu.com/ubuntu/ oneiric/main brasero-common all 3.0.0-1ubuntu4 [332 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ oneiric/main brasero-cdrkit i386 3.0.0-1ubuntu4 [36.5 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ oneiric/main brasero i386 3.0.0-1ubuntu4 [194 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ oneiric/main libbrasero-media3-1 i386 3.0.0-1ubuntu4 [481 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ oneiric/main indicator-datetime i386 0.2.91-0ubuntu3 [583 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ oneiric/main libindicator-messages-status-provider1 i386 0.4.93-0ubuntu2 [5,482 B]
Get:7 http://us.archive.ubuntu.com/ubuntu/ oneiric/main indicator-messages i386 0.4.93-0ubuntu2 [65.6 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu/ oneiric/main indicator-status-provider-mc5 i386 0.4.93-0ubuntu2 [6,212 B]
Fetched 1,705 kB in 3s (495 kB/s)
(Reading database ... 153503 files and directories currently installed.)
Preparing to replace brasero-common 3.0.0-1ubuntu3 (using .../brasero-common_3.0.0-1ubuntu4_all.deb) ...
Unpacking replacement brasero-common ...
Preparing to replace brasero-cdrkit 3.0.0-1ubuntu3 (using .../brasero-cdrkit_3.0.0-1ubuntu4_i386.deb) ...
Unpacking replacement brasero-cdrkit ...
Preparing to replace brasero 3.0.0-1ubuntu3 (using .../brasero_3.0.0-1ubuntu4_i386.deb) ...
Unpacking replacement brasero ...
Preparing to replace libbrasero-media3-1 3.0.0-1ubuntu3 (using .../libbrasero-media3-1_3.0.0-1ubuntu4_i386.deb) ...
Unpacking replacement libbrasero-media3-1 ...
Preparing to replace indicator-datetime 0.2.91-0ubuntu2 (using .../indicator-datetime_0.2.91-0ubuntu3_i386.deb) ...
Unpacking replacement indicator-datetime ...
Preparing to replace libindicator-messages-status-provider1 0.4.93-0ubuntu1 (using .../libindicator-messages-status-provider1_0.4.93-0ubuntu2_i386.deb) ...
Unpacking replacement libindicator-messages-status-provider1 ...
Preparing to replace indicator-messages 0.4.93-0ubuntu1 (using .../indicator-messages_0.4.93-0ubuntu2_i386.deb) ...
Unpacking replacement indicator-messages ...
Preparing to replace indicator-status-provider-mc5 0.4.93-0ubuntu1 (using .../indicator-status-provider-mc5_0.4.93-0ubuntu2_i386.deb) ...
Unpacking replacement indicator-status-provider-mc5 ...
Processing triggers for gconf2 ...
Processing triggers for shared-mime-info ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for libglib2.0-0 ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Processing triggers for desktop-file-utils ...
Processing triggers for man-db ...
Setting up linux-image-3.0.0-8-generic (3.0.0-8.10) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.0.0-8-generic /boot/vmlinuz-3.0.0-8-generic
update-initramfs: Generating /boot/initrd.img-3.0.0-8-generic
run-parts: executing /etc/kernel/postinst.d/nvidia-common 3.0.0-8-generic /boot/vmlinuz-3.0.0-8-generic
Traceback (most recent call last):
  File "/usr/bin/nvidia-detector", line 8, in <module>
    a = NvidiaDetection(printonly=True, verbose=False)
  File "/usr/lib/python2.7/dist-packages/NvidiaDetector/nvidiadetector.py", line 68, in __init__
    self.getData()
  File "/usr/lib/python2.7/dist-packages/NvidiaDetector/nvidiadetector.py", line 148, in getData
    driver_version = self.__get_value_from_name(stripped_package_name)
  File "/usr/lib/python2.7/dist-packages/NvidiaDetector/nvidiadetector.py", line 87, in __get_value_from_name
    v = int(name)
ValueError: invalid literal for int() with base 10: '173-updates'
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-3.0.0-8-generic.postinst line 1010.
dpkg: error processing linux-image-3.0.0-8-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-3.0.0-8-generic; however:
  Package linux-image-3.0.0-8-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 (= 3.0.0.8.9); however:
  Package linux-image-generic is not configured yet.
dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
Setting up linux-headers-3.0.0-8-generic (3.0.0-8.10) ...
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.
                                                    Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/nvidia-common 3.0.0-8-generic /boot/vmlinuz-3.0.0-8-generic
Traceback (most recent call last):
  File "/usr/bin/nvidia-detector", line 8, in <module>
    a = NvidiaDetection(printonly=True, verbose=False)
  File "/usr/lib/python2.7/dist-packages/NvidiaDetector/nvidiadetector.py", line 68, in __init__
    self.getData()
  File "/usr/lib/python2.7/dist-packages/NvidiaDetector/nvidiadetector.py", line 148, in getData
    driver_version = self.__get_value_from_name(stripped_package_name)
  File "/usr/lib/python2.7/dist-packages/NvidiaDetector/nvidiadetector.py", line 87, in __get_value_from_name
    v = int(name)
ValueError: invalid literal for int() with base 10: '173-updates'
run-parts: /etc/kernel/header_postinst.d/nvidia-common exited with return code 1
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-3.0.0-8-generic.postinst line 110.
dpkg: error processing linux-headers-3.0.0-8-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of linux-headers-generic:
 linux-headers-generic depends on linux-headers-3.0.0-8-generic; however:
  Package linux-headers-3.0.0-8-generic is not configured yet.
dpkg: error processing linux-headers-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Setting up brasero-common (3.0.0-1ubuntu4) ...
Setting up libbrasero-media3-1 (3.0.0-1ubuntu4) ...
Setting up brasero-cdrkit (3.0.0-1ubuntu4) ...
Setting up brasero (3.0.0-1ubuntu4) ...
Setting up indicator-datetime (0.2.91-0ubuntu3) ...
Setting up libindicator-messages-status-provider1 (0.4.93-0ubuntu2) ...
Setting up indicator-messages (0.4.93-0ubuntu2) ...
Setting up indicator-status-provider-mc5 (0.4.93-0ubuntu2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 linux-image-3.0.0-8-generic
 linux-image-generic
 linux-generic
 linux-headers-3.0.0-8-generic
 linux-headers-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: nvidia-common 1:0.2.31
ProcVersionSignature: Ubuntu 3.0.0-7.9-generic 3.0.0
Uname: Linux 3.0.0-7-generic i686
Architecture: i386
Date: Fri Aug 12 11:02:10 2011
ExecutablePath: /usr/bin/nvidia-detector
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110803.1)
InterpreterPath: /usr/bin/python2.7
ProcCmdline: /usr/bin/python /usr/bin/nvidia-detector
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_US.UTF-8
PythonArgs: ['/usr/bin/nvidia-detector']
SourcePackage: nvidia-common
Title: nvidia-detector crashed with ValueError in __get_value_from_name(): invalid literal for int() with base 10: '173-updates'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
Sheldon Taylor (sheldont22) wrote :
Revision history for this message
Apport retracing service (apport) wrote : This bug is a duplicate

Thank you for taking the time to report this crash and helping to make Ubuntu better. This particular crash has already been reported and is a duplicate of bug #825350, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
visibility: private → public
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.