Upgrade to 14.04 fails with "An unresolvable problem occurred while calculating the upgrade"

Asked by Peter De Maeyer

I'm trying to upgrade 13.10 to 14.04, but it fails with "An unresolvable problem occurred while calculating the upgrade."

/var/log/dist-upgrade/main.log contains a hint:

2014-04-25 17:32:31,563 ERROR Dist-upgrade failed: 'E:Unable to correct problems, you have held broken packages.'

I have tried:

sudo apt-get install -f
sudo apt-get update
sudo apt-get autoclean (gives warning about duplicate sources, but does nothing)
sudo apt-get clean (does nothing)
sudo apt-get autoremove (does nothing)

None of it helped.

The error says there are broken packages, but I've meanwhile done everything I could think of to fix the broken packages (including purging some packages which I thought caused the problem). At this point I can't identify any broken packages anymore, but I keep getting the error...

Any suggestions?

Thanks,

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Peter De Maeyer
Solved:
Last query:
Last reply:
Revision history for this message
Peter De Maeyer (peter-de-maeyer) said :
#1

I removed xserver-xorg-video-all metapackage and now the upgrade works.

What hinted me to this package was the /var/log/dist-upgrade/apt.log:

---
Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-ati [ amd64 ]
< 1:7.3.99+git20140317.bdc41204-0ubuntu0sarvatt~saucy > ( x11 )
  Considering xserver-xorg-video-ati:amd64 1 as a solution to xserver-xorg-video
-all:amd64 10004
---

There are tons of similar messages for other packages as well.

Revision history for this message
Peter De Maeyer (peter-de-maeyer) said :
#2

Marking as solved.