Trying to upgrade to 10.10 from 10.04: could not calculate the upgrade

Asked by Rowan Quigley

I get this error when I'm trying to upgrade to 10.10 from 10.04:

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

If none of this applies, then please report this bug against the 'update-manager' package and include the files in /var/log/dist-upgrade/ in the bug report.

Can someone tell me how I can get this problem fixed?

Rowan

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Rowan Quigley
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Please open a terminal and type:

sudo do-release-upgrade

Please report errors

Revision history for this message
Rowan Quigley (rowanquigley) said :
#2

This is what happened:

rowanquigley@ubuntu:~$ sudo do-release-upgrade
[sudo] password for rowanquigley:
Checking for a new ubuntu release
Done Upgrade tool signature
Done Upgrade tool
Done downloading
extracting 'maverick.tar.gz'
authenticate 'maverick.tar.gz' against 'maverick.tar.gz.gpg'
tar: Removing leading `/' from member names

Reading cache

Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done

Updating repository information
WARNING: Failed to read mirror file

Third party sources disabled

Some third party entries in your sources.list were disabled. You can
re-enable them after the upgrade with the 'software-properties' tool
or your package manager.

97% [Working]
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done

Calculating the changes

Calculating the changes
^[[D
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

If none of this applies, then please report this bug against the
'update-manager' package and include the files in
/var/log/dist-upgrade/ in the bug report.

Restoring original system state

Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

Please try to use main server from software sources properties then please also try the workaround here:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/606652

Revision history for this message
Rowan Quigley (rowanquigley) said :
#4

Still doesn't work... :3

Revision history for this message
Rowan Quigley (rowanquigley) said :
#5

I still get:

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

If none of this applies, then please report this bug against the 'update-manager' package and include the files in /var/log/dist-upgrade/ in the bug report.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

Can you give the output of:

lsb_release -a; dpkg -l | grep ntu-desk

Thanks

Revision history for this message
Rowan Quigley (rowanquigley) said :
#7

I've had to wipe Ubuntu and download 11.04 which fixed the problem, I pretty much went around the problem but it worked. Sorry, for those whom I wasted their time.

Rowan