Hace unos días tuve este problema al intentar darle upgrade a mi instalación de ubuntu 20.04:
➜ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
dpkg : Breaks: libapt-pkg5.0 (< 1.7~b) but 1.6.14 is to be installed
E: Broken packages
Si tienes este problema al querer actualizar o instalar cualquier paquete en ubuntu y ya probaste todas estas soluciones:
sudo dpkg --configure -a
sudo apt -f install
sudo apt autoremove
sudo apt autoclean
sudo apt update --fix-missing
sudo apt-get --fix-broken install
En caso de que nada de lo de arriba haya funcionado solo tienes que correr este comando:
sudo apt remove ubuntu-advantage-tools
¡Y todo resuelto!
Fuente original: