Cannot update Ubuntu 20.04 due to unresolvable dependencies

Solution 1:

Try running:

sudo apt update && sudo apt autoremove && sudo apt --fix-broken install && sudo apt upgrade

This will attempt to:

  1. update the package list
  2. autoremove unnecessary packages
  3. fix any broken installations and packages
  4. upgrade all packages that can be upgraded