0

This question already has an answer here:

lately whenever i try to update through the terminal I get this message

E: could not open lock file /var/lib/apt/lists/lock  - open (13: permission denied)
E: unable to lock directory /var/lib/apt/lists/
E: could not open lock file /var/lib/dpkg/lock  - open (13: permission denied)
E: unable to lock administration directory (/var/lib/dpkg/), are you root?

I am using ubuntu 14.04.1 and apt-get had been working just fine until now

marked as duplicate by Rinzwind, Fabby, Eric Carvalho, Wilf, muru Feb 23 '15 at 11:14

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

0

To run such command you need special permission.

Use sudo, but be carefull. It may ask for a password, that is the root password.

  • 1
    sudo will ask for the user's password - not the root password – steeldriver Feb 22 '15 at 19:47

Not the answer you're looking for? Browse other questions tagged or ask your own question.