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?
ls /etc/apt/sources.list.d/
? – Anwar Aug 26 '16 at 17:41ppa-purge
. otherwise you can't upgrade – Anwar Aug 26 '16 at 18:08