Unable to upgrade from 14.04 to 14.10 "Cannot Calculate Upgrades"

Solution 1:

Try executing:

grep ERROR /var/log/dist-upgrade/main.log

Hopefully this will show you the names of conflicting packages. For me it was (I broken long line to be easier to read):

2014-10-25 18:15:05,915 ERROR Dist-upgrade failed: 
    'The package 'postgresql-9.3-postgis-2.1' 
    is marked for removal but it is in the removal blacklist.

postgresql-9.3-postgis-2.1 is conflicting package here. It will probably be different one or some for you. You can then remove it/them by:

sudo apt-get remove conflicting-package-1 conflicting-package-2 ...

Then just restart distribution upgrade.

Solution 2:

I managed to solve it by switching to main server in the ubuntu upgrade dialog box. Previously it was pointing to US

Solution 3:

I found that "broken" packages were causing problems with the upgrade. My packages (gnuplot) weren't explicitly broken (checked by looking in Synaptic package manager), but were marked to not be upgraded. This type of package will also cause the upgrade to crash; they can be found in the Synaptic package manager by filtering for "Installed (upgradeable)". I simply marked them for deletion, then ran

sudo apt-get dist-upgrade
sudo do-release-upgrade

... so far so good!