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?
Asked
Active
Viewed 850 times
-2
Jacob Vlijm
- 82,471
- 12
- 195
- 299
-
2It would be useful to form a proper question explaining what you were trying to do when you encountered this error message. Your unlikely to get much help with such a poorly constructed question. That said, you need to use `sudo` to run your `apt-get` commands. – Arronical Jan 18 '16 at 10:24
1 Answers
0
You need to run the program with root privileges. Just add sudo in front of it. Your password will be required.
Remember: Root privileges can break your system. With great power comes great responsibility, so be sure of what you're doing before running as root.
Eduardo Cola
- 5,757
- 3
- 18
- 32