Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.
share|improve this question
    
Hi @2er0 why don't you try using GUI? –  learner Mar 11 '13 at 3:56
    
Same problem with the GUI, E:Error, pkgProblemResolver::Resolve generated breaks, –  alvas Mar 11 '13 at 3:57
    
Then download iso file itself and while installing it will give you option for **upgrading**(installing without loosing any data). –  learner Mar 11 '13 at 5:40
    
not working.... –  alvas Mar 18 '13 at 3:58
add comment

2 Answers

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?

share|improve this answer
    
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 9:56
add comment

How about...

sudo apt-get update
sudo apt-get install update-manager-core
sudo do-release-upgrade
share|improve this answer
    
it doesnt work =( –  alvas Jun 29 '13 at 9:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.