[Bug 1490718] [NEW] apt-clone restore crashes with SystemError: E:Error. pkgProblemResolver::Restore generated breaks, this may be by held packages

white_gecko NatanaelA at gmx.de
Mon Aug 31 20:21:16 UTC 2015


Public bug reported:

Running apt-clone restore <the.tar.gz> in the very end crashes with
"SystemError: E:Error, pkgProblemResolver::Restore generated breaks,
this may be by held packages"

It seams to run through an apt-get update and then outputs the following
line for each of the packages:

apt-clone WARNING:root:can't add xxx (E:Error,
pkgProblemResolver::Resolve generated breaks, this may be caused by held
packages.)

Traceback (most recent call last):
  File "/usr/bin/apt-clone", line 96, in <module>
    clone.restore_state(args.source, args.destination)
  File "/usr/lib/python2.7/dist-packages/apt_clone.py", line 310, in restore_state
    self._restore_package_selection(statefile, targetdir, protect_installed)
  File "/usr/lib/python2.7/dist-packages/apt_clone.py", line 431, in _restore_package_selection
    self._restore_package_selection_in_cache(statefile, cache, protect_installed)
  File "/usr/lib/python2.7/dist-packages/apt_clone.py", line 411, in _restore_package_selection_in_cache
    resolver.resolve()
SystemError: E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Both systems (the one to clone and the target system) are debian jessie.
I'm using version 0.2.2.

** Affects: apt-clone (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  apt-clone restore crashes with SystemError: E:Error.
  pkgProblemResolver::Restore generated breaks, this may be by held
  packages

Status in apt-clone package in Ubuntu:
  New

Bug description:
  Running apt-clone restore <the.tar.gz> in the very end crashes with
  "SystemError: E:Error, pkgProblemResolver::Restore generated breaks,
  this may be by held packages"

  It seams to run through an apt-get update and then outputs the
  following line for each of the packages:

  apt-clone WARNING:root:can't add xxx (E:Error,
  pkgProblemResolver::Resolve generated breaks, this may be caused by
  held packages.)

  Traceback (most recent call last):
    File "/usr/bin/apt-clone", line 96, in <module>
      clone.restore_state(args.source, args.destination)
    File "/usr/lib/python2.7/dist-packages/apt_clone.py", line 310, in restore_state
      self._restore_package_selection(statefile, targetdir, protect_installed)
    File "/usr/lib/python2.7/dist-packages/apt_clone.py", line 431, in _restore_package_selection
      self._restore_package_selection_in_cache(statefile, cache, protect_installed)
    File "/usr/lib/python2.7/dist-packages/apt_clone.py", line 411, in _restore_package_selection_in_cache
      resolver.resolve()
  SystemError: E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

  Both systems (the one to clone and the target system) are debian
  jessie. I'm using version 0.2.2.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/1490718/+subscriptions



More information about the foundations-bugs mailing list