I get this error whenever I try to install programs using the terminal:
home@ubuntu:~$ apt-get install myunity
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?
Also I'm unable to install updates using the terminal.
The solution is to read the error message: are you root?. Use sudo
to run a command with root privileges, like so: sudo apt-get update
No comments:
Post a Comment