update-manager jaunty partial upgrade exits silently
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-common (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Jaunty |
Fix Released
|
High
|
Unassigned | ||
update-manager (Ubuntu) |
Fix Released
|
Undecided
|
Michael Vogt | ||
Jaunty |
Fix Released
|
Undecided
|
Michael Vogt |
Bug Description
Binary package hint: update-manager
TEST CASE:
- after inspecting the code again I verified that update-manager will use the installed
nvidia-common code if it can import it, so the problem in u-m is fixed by the new
nvidia-common
- the change was just a updated build-dependency, so just checking for regressions should
be fine
release 9.04
package version: 1:0.111.6
the update-manager gui disapears may be after finishing the step 'preparing for upgrade'. when run from the command line, the same thing happens and there is no output trace.
before taking new updates (apport ,python fixes ...) the upgrade fails as well but there was a trace when run on the command line. (something related to python_hook module does not exist).
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/
InterpreterPath: /usr/bin/python2.6
NonfreeKernelMo
Package: update-manager 1:0.111.6
PackageArchitec
ProcEnviron:
PATH=(custom, no user)
LANG=en_CA.UTF-8
SHELL=/bin/bash
SourcePackage: update-manager
Uname: Linux 2.6.28-11-generic i686
Related branches
summary: |
- update-manager jaunty partial upgrade crashes silently + update-manager jaunty partial upgrade exists silently |
description: | updated |
description: | updated |
summary: |
- update-manager jaunty partial upgrade exists silently + update-manager jaunty partial upgrade exits silently |
I just debugged this and it turns out that nvidia-common is doing the following in .__init_ _(): isdir(datadir) :
logging. debug(" dir %s not found" % datadir)
NvidiaDetection
...
if not os.path.
print 'none'
# Exit without an error exit status
# so as not to compromise dist-upgrades
# if the modaliases are not installed.
exit(0)
...
This is not the right thing to do when a object is imported by other applications (like in this case where nvidia-detector is imported by update-manager).