0

As I try to upgrade to Ubuntu 16.06, I ran into the "Unable to calculate upgrade issue", due to

An unresolvable problem occurred while calculating the upgrade: E:Unable to correct problems, you have held broken 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

This answer shows how to remove all the "Broken" packages. But my list is very long (100+), and I can't possibly delete them all by hand.

Is there a better way to handle this?

Heisenberg
  • 667
  • 1
  • 6
  • 20

2 Answers2

0

Look at /var/log/dist-upgrade/main.log. The broken packages are likely a misnomer, as apt is just working through the dependency list and probably finds the correct solution for all of them.

SystemParadox
  • 321
  • 4
  • 12
0

You may try using the Synaptic Package Manager; use

$ sudo apt install synaptic

to install Synaptic. After that, click Custom Filters -> Broken and mark all broken packages for removal. Finally, apply the changes and you should be prepared for the upgrade once you remove or temporarily disable all the PPAs.