sandeep@sandeep-HP-Pavilion-g6-Notebook-PC:~$ apt-get install mysql-server php5-mysql
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 18 times
0

Oli
- 293,335
1 Answers
0
Often, I'll have Synaptic package manager open or something similar. This puts a lock doing installations solely for Synaptic.
Take a look at what else may be running on the system ...

Higgs
- 20
-
It's just a permission error here (they're running it without sudo) – Oli Mar 10 '15 at 14:16