[Bug 1316032] [NEW] ubiquity fails to complete automated upgrade with python traceback in _restore_package_selection_in_cache

Louis Bouchard louis.bouchard at canonical.com
Mon May 5 07:48:20 UTC 2014


Public bug reported:

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/apt-clone", line 131, in <module>
May  5 06:56:52 ubuntu ubiquity:     args.source, args.destination, args.new_distro_codename, protect_installed)
May  5 06:56:52 ubuntu ubiquity:   File "/usr/lib/python3/dist-packages/apt_clone.py", line 473, in restore_state
May  5 06:56:52 ubuntu ubiquity:     self._restore_package_selection(statefile, targetdir, protect_installed)
May  5 06:56:52 ubuntu ubiquity:   File "/usr/lib/python3/dist-packages/apt_clone.py", line 607, in _restore_package_selection
May  5 06:56:52 ubuntu ubiquity:     self._restore_package_selection_in_cache(statefile, cache, protect_installed)
May  5 06:56:52 ubuntu ubiquity:   File "/usr/lib/python3/dist-packages/apt_clone.py", line 584, in _restore_package_selection_in_cache
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

** Affects: ubiquity (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ubiquity (Ubuntu Trusty)
     Importance: Undecided
         Status: New

** Summary changed:

- ubiquity fails to complete automated upgrade with python traceback in 
+ ubiquity fails to complete automated upgrade with python traceback in _restore_package_selection_in_cache

** Also affects: ubiquity (Ubuntu Trusty)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1316032

Title:
  ubiquity fails to complete automated upgrade with python traceback in
  _restore_package_selection_in_cache

Status in “ubiquity” package in Ubuntu:
  New
Status in “ubiquity” source package in Trusty:
  New

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/apt-clone", line 131, in <module>
  May  5 06:56:52 ubuntu ubiquity:     args.source, args.destination, args.new_distro_codename, protect_installed)
  May  5 06:56:52 ubuntu ubiquity:   File "/usr/lib/python3/dist-packages/apt_clone.py", line 473, in restore_state
  May  5 06:56:52 ubuntu ubiquity:     self._restore_package_selection(statefile, targetdir, protect_installed)
  May  5 06:56:52 ubuntu ubiquity:   File "/usr/lib/python3/dist-packages/apt_clone.py", line 607, in _restore_package_selection
  May  5 06:56:52 ubuntu ubiquity:     self._restore_package_selection_in_cache(statefile, cache, protect_installed)
  May  5 06:56:52 ubuntu ubiquity:   File "/usr/lib/python3/dist-packages/apt_clone.py", line 584, in _restore_package_selection_in_cache
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1316032/+subscriptions



More information about the foundations-bugs mailing list