2

I am trying to upgrade my machine from 10.04 to 12.04 LTS but I get the following error. The same error occurs both in GUI and in terminal while doing dist-upgrade.

E:Error, pkgProblemResolver::Resolve generated breaks, 
  this may be caused by held packages.

I've tried to remove libcv-dev as suggested in a comment to this blog post but I don't have libcv-dev installed on my machine.

Package libcv-dev is not installed, so not removed

The pastebin link for the contents of /var/log/dist-upgrade/apt.log - http://pastebin.com/2GTRYNAY

How do I resolve the error and upgrade my machine to 12.04?

I've tried the solutions given in the following answer but it didn't work for me:

These are the terminal output of commands mentioned in those answers:

$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

$ sudo apt-get remove evolution-plugins
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package evolution-plugins is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
alvas
  • 2,927

2 Answers2

2

Fast reads of UbuntuDesktop Upgrading leads to idea that if your current installation has not version 10.04 LTS, then first you should upgrade to version 11.10, and next to 12.04 LTS.

This error looks like "unmet dependencies trouble".
Possible common solution is:
1. Clean your sources lists and APT cache to leave only "genuine" Lucid sources.
2. Upgrade your distribution.

Nice answers found here: How do I upgrade from 10.04 or 11.10 to 12.04?

swift
  • 3,281
  • 2
  • 23
  • 46
  • don't seem to work too. i had to backup my data and reinstall everything from scratch to 13.04 =( – alvas Jun 29 '13 at 09:56
  • that is a good logic you behave due to necessity of pkgProblemResolver is works alike an automatic resolution for the standard problems. So big changes better to resolve by your laborious hands skills )) – swift Nov 29 '15 at 10:37
-1

How about...

sudo apt-get update
sudo apt-get install update-manager-core
sudo do-release-upgrade
Scott Goodgame
  • 2,636
  • 15
  • 20