Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to go from 11.04 to 11.10 (with the final intent of bringing my system up to 12.04), using sudo do-release-upgrade (or via the gui update manager) but continually receive this error message:

Could not calculate the upgrade 

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 

I know that this type of "Could not calculate the upgrade" error has been reported before, but I have tried all solutions I could find in the old bug reports and on the forums, but to no avail. I am following proper upgrade protocol (I've updated all packages, looked for broken dependencies, and cleaned up my file system). No errors are returned from sudo apt-get upgrade or sudo apt-get dist-update.

I tried the solution mentioned here (http://ubuntuforums.org/showthread.php?t=1859338), but that doesn't work. Removing libglib2-ruby1.8 as mentioned here (http://askubuntu.com/questions/109210/could-not-calculate-the-upgrade-on-upgrade-from-11-04-to-11-10) does not work either. I purged my PPA's (I only had one: ubuntugis) using PPA-purge, but that doesn't seem to help either. Running

Any help/ideas will be greatly appreciated!

All logs can be seen at the bug report I filed here: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1048400

share|improve this question
Actually, I find that I can't paste in contents of var.log here (too long), and I can't attach a file. I'll edit my orginal post and add it there. – Isaac Ullah Sep 10 '12 at 22:25
use paste.ubuntu.com to post logs - you can add the link in your question. – fossfreedom Sep 10 '12 at 22:31
Actually, the contents of the log files is too long to add to the post. Is there someway I can attach them? I suppose I could sync them them through my Ubuntu One account and grab a URL from there if necessary. – Isaac Ullah Sep 10 '12 at 22:32
Thanks fossfreedom, but it occurred to me that I had uploaded them with the bug report I filed here:bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1048400 so the logs can be seen if one goes to that URL. – Isaac Ullah Sep 10 '12 at 22:33
You can try sudo update-manager -d – Sinan Talebi Sep 10 '12 at 22:47
show 2 more comments

closed as off topic by Jorge Castro, fossfreedom Nov 13 '12 at 16:33

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

Browse other questions tagged or ask your own question.