Issue of a command

Asked by Gokul

when i try to run the following "apt-get install -f" it shows me this
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?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Chris Johnston (cjohnston) said :
#1

You need to run the command with 'sudo':

sudo apt-get install -f

Can you help with this problem?

Provide an answer of your own, or ask Gokul for more information if necessary.

To post a message you must log in.