I cannot install packages in my 16.04 ubuntu server. Getting below error while doing the same:
root@ubuntu:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
network-manager-gnome : Depends: libappindicator3-1 (>= 0.4.90) but it is not installed
Depends: libnma0 (= 1.2.6-0ubuntu0.16.04.4) but it is not installed
Depends: libsecret-1-0 (>= 0.7) but it is not installed
Depends: policykit-1-gnome
Depends: dbus-x11
Recommends: gnome-keyring
Recommends: mobile-broadband-provider-info but it is not installed
E: Unmet dependencies. Try using -f.
root@ubuntu:~#
Same error is being displayed after trying to "apt-get" every package.
Help needed
sudo apt-get update
and read the output looking for something wrong (ie. lines output are without error, expected lines are there) as packages should appear. The output will also show what mirror you're using which you can check up on https://launchpad.net/ubuntu/+archivemirrors to see it's up-to-date – guiverc Mar 19 '20 at 09:10aptitude
instead and dosudo aptitude dist-upgrade
. Please see this answer for help. – Raffa Mar 19 '20 at 09:10sudo apt-get -f install
? – Kurankat Mar 19 '20 at 10:12apt-cache policy
please. – nobody Mar 19 '20 at 12:23apt-get -f install
– Elder Geek Mar 25 '20 at 17:49