Failed Ubuntu update

While trying to do a “do-release-upgrade”, to upgrade to Ubuntu Precise, I encountered a error that Google did not find a satisfactory answer for:

An unresolvable problem occurred while calculating the upgrade:
E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

This can be caused by:
* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by Ubuntu

If none of this applies, then please report this bug using the command 'ubuntu-bug update-manager' in a terminal.

The problem was I had some packages installed that had no upgrade path, that is, are not available in Precise. To debug this I looked in the /var/log/dist-upgrade/apt.log file, and it identifies the packages that were “broken”. I just had to “apt-get remove” them, do the release upgrade, and afterwards I could reinstall them.

Problem solved.

Be Sociable, Share!

5 Comments

  1. Thanks, it help me a lot.
    I my case. I only remove ‘libcv-dev’ package. No need to remove all packages identified as ‘Broken’

    • Tom

      For me removing only ‘libcv-dev’ worked.

  2. eric

    I’m getting this error message as well when I try to update, but my /var/log/dist-upgrade/apt.log lists only 2 times, like this:

    Log time: 2013-03-29 10:54:27.069013
    Log time: 2013-03-29 10:54:31.758328

    That’s all that’s in it, anyone have any ideas?

Trackbacks

  1. pkgProblemResolver when upgrading to 12.04 - Tech Forum Network
  2. How to solve the pkgProblemResolver Error when upgrading to 12.04? - Tech Forum Network

Leave Your Comment

Your email will not be published or shared. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>