ubiquity fails to complete automated upgrade with python traceback in _restore_package_selection_in_cache
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-clone (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Trusty |
New
|
Undecided
|
Unassigned | ||
clean-ubiquity-ubuntu (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Trusty |
New
|
Undecided
|
job |
Bug Description
While upgrading to 14.04, I got the following during the 'upgrade' phase of the installation :
WARNING:root:can't add zenity (E:Unable to correct problems, you have held broken packages.)
May 5 06:56:52 ubuntu ubiquity: WARNING:root:can't add zenity-common (E:Unable to correct problems, you have held broken packages.)
May 5 06:56:52 ubuntu ubiquity: WARNING:root:can't add zip (E:Unable to correct problems, you have held broken packages.)
May 5 06:56:52 ubuntu ubiquity: WARNING:root:can't add zlib1g (E:Unable to correct problems, you have held broken packages.)
May 5 06:56:52 ubuntu ubiquity: WARNING:root:can't add zlib1g-dev (E:Unable to correct problems, you have held broken packages.)
May 5 06:56:52 ubuntu ubiquity: WARNING:root:can't add zsync (E:Unable to correct problems, you have held broken packages.)
May 5 06:56:52 ubuntu ubiquity: Traceback (most recent call last):
May 5 06:56:52 ubuntu ubiquity: File "/usr/bin/
May 5 06:56:52 ubuntu ubiquity: args.source, args.destination, args.new_
May 5 06:56:52 ubuntu ubiquity: File "/usr/lib/
May 5 06:56:52 ubuntu ubiquity: self._restore_
May 5 06:56:52 ubuntu ubiquity: File "/usr/lib/
May 5 06:56:52 ubuntu ubiquity: self._restore_
May 5 06:56:52 ubuntu ubiquity: File "/usr/lib/
May 5 06:56:52 ubuntu ubiquity: resolver.resolve()
This was already reported in Bug #847475 but apparently never looked at.
I don't know if the "Unable to correct problems, you have held broken packages" have something to do with the issue, but the traceback does bring failure to the 'apt-clone' phase.
The system is installed and usable with one single user, but the rest of the environment has not been recovered
Since the problem happened during installation, running ubuntu-bug is mostly useless. I can have the logs in /var/log/installer available if needed
summary: |
ubiquity fails to complete automated upgrade with python traceback in + _restore_package_selection_in_cache |
affects: | ubiquity (Ubuntu Trusty) → clean-ubiquity-ubuntu (Ubuntu Trusty) |
Changed in clean-ubiquity-ubuntu (Ubuntu Trusty): | |
assignee: | nobody → job (jeppekdahl) |
Thanks the attached tarball does have all logs and the apt-clone tarball. In case of failure, apt-clone shouldn't crash/generated tracebacks. So it needs investigation, what's going on. Could be typical python3.4 porting issue of non-inherited FDs.