This question already has an answer here:
- Permission denied, are you root? 7 answers
I installed mysql server and want to install the mysql client using following code:
apt-get install mysql-client
but I got following error message:
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?
It looks like the file locked and permission, if it is the case, it does not ask me for a password.
Your help and information is great appreciated.