I am getting this error
The following packages have unmet dependencies:
phpmyadmin : Depends: ttf-dejavu-core but it is not going to be installed
Recommends: mysql-client
E: Unable to correct problems, you have held broken packages.
But i cannot see what is the broken packages
after apt policy ttf-dejavu-core
I got this ttf-dejavu-core:
Installed: (none)
Candidate: 2.33-2ubuntu1
Version table:
2.33-2ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu precise/main amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu precise/main i386 Packages
after running sudo apt install -f
I got this lines Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
After running cat /etc/apt/sources.list
I get these lines in my terminal
` root@mohsin:~# cat /etc/apt/sources.list ############################################################# ################### OFFICIAL UBUNTU REPOS ################### #############################################################
###### Ubuntu Main Repos
deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted
universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted
universe multiverse
###### Ubuntu Update Repos
deb http://us.archive.ubuntu.com/ubuntu/ precise-security main
restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main
restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main
restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-security main
restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main
restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main
restricted universe multiverse
Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu precise partner deb-src http://archive.canonical.com/ubuntu precise partner
Ubuntu Extras Repodeb http://extras.ubuntu.com/ubuntu precise main deb-src http://extras.ubuntu.com/ubuntu precise main deb http://archive.ubuntu.com/ubuntu xenial universe main `
Try this
apt-get autoremove
apt-get update
If you get broken help packages error while apt-get update, check in /etc/apt/sources.list if updates are enabled or not.