2

The upgrade tool start. When finished "Setting new software channels" give me an error: "Could not calculate the upgrade". Any ideas? Thx

Mateo
  • 8,064
  • 9
  • 57
  • 78
  • Can you run `do-release-upgrade` from the terminal and see if it gives more information there about the error? – Nattgew Apr 18 '14 at 16:11
  • Thx flor your answer. I did it yesterday with same result. – ComfortablyNumb Apr 18 '14 at 17:27
  • See if this question helps: http://askubuntu.com/questions/449546/ubuntu-13-10-to-14-04-lts-does-not-upgrade-keeps-showing-error#comment590353_449546 – Nattgew Apr 18 '14 at 17:32
  • possible duplicate of [Update manager fails to calculate upgrade](http://askubuntu.com/questions/27968/update-manager-fails-to-calculate-upgrade) – jobin Apr 20 '14 at 06:39

1 Answers1

7

The only good way to solve this issue is to check the error at the bottom of either "/var/log/dist-upgrade/apt.log" or "/var/log/dist-upgrade/main.log" and see which package is causing you trouble. In my case, it was xserver-xorg-video-all. I removed it and the upgrade continued just fine.

cardonator
  • 228
  • 1
  • 2
  • 8
  • Have the same problem. How do you remove those packages? – ComfortablyNumb Apr 18 '14 at 19:54
  • Just do an "sudo apt-get remove " from the command line. Alternatively, if the package is part of a PPA you added, you can look up how to use ppa-purge to remove the PPA from your system. – cardonator Apr 21 '14 at 04:25
  • I had the same problem. It was caused by a dodgy version of postgresql that was on the "blacklist" - couldn't be removed or upgraded. Thanks for pointing me in the right direction. – L_Holcombe Jun 04 '14 at 06:29