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,104

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