When upgrading from precise to quantal via apt-get dist-upgrade the
upgrade process ends with error(1) and new kernel package isn't
configured. I believe this can lead to unbootable system (not verified
because I did a quick'n'dirty workaround - see below).
run-parts: executing /etc/kernel/header_postinst.d/nvidia-common
3.5.0-17-generic /boot/vmlinuz-3.5.0-17-generic
Traceback (most recent call last):
File "/usr/bin/nvidia-detector", line 8, in <module>
a = NvidiaDetection(printonly=True, verbose=False)
File "/usr/lib/python3/dist-packages/NvidiaDetector/nvidiadetector.py", line
68, in __init__
self.getData()
File "/usr/lib/python3/dist-packages/NvidiaDetector/nvidiadetector.py", line
149, in getData
driver_version = self.__get_value_from_name(stripped_package_name)
File "/usr/lib/python3/dist-packages/NvidiaDetector/nvidiadetector.py", line
87, in __get_value_from_name
v = int(name)
ValueError: invalid literal for int() with base 10: 'experimental-304'
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.5.0-17-generic.postinst line 110.
dpkg: error processing linux-headers-3.5.0-17-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.5.0-17-generic; however:
Package linux-headers-3.5.0-17-generic is not configured yet.
dpkg: error processing linux-headers-generic (--configure):
dependency problems - leaving unconfigured
...
Workaround:
Edit file /usr/lib/python3/dist-packages/NvidiaDetector/nvidiadetector.py, line
87 and replace v = int(name) by v = 304. Then run apt-get dist-upgrade once
again.
Root cause:
Package name 'experimental-304' cannot be converted into integer.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1068907
Title:
nvidia-detector doesn't work in Ubuntu 12.10
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1068907/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs