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
- 83,767
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,817
sudo
to run yourapt-get
commands. – Arronical Jan 18 '16 at 10:24