0

When I try to install software I get this:

E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

I keep being told to enter apt-get -f install but when I do I get this message:

owner@owner-1005HA:~$ apt-get -f install
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

So, I need help with what it means and how to fix this.

edwin
  • 3,829
Liam
  • 1

1 Answers1

0

Please try these commands:

    sudo killall dpkg
    sudo apt-get -f install

and let us know if that helps. It could be that update manager or software center was interrupted while it was used, causing dpkg to remain open.

Eli
  • 131
  • 6