Readers like you help support MUO. When you make a purchase using links on our site, we may earn an affiliate commission. Read More.
this is seen while installing a new software or applying a new theme.
In terminal:
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
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?
2013-03-21 15:10:29
Type su in the terminal and press 'Enter'. Then type your password and again press 'Enter'. After that try to install the required package again and it should work!
2013-04-12 21:37:01
When using the "su" command, the root password must be used.
2013-03-21 14:49:50
When I've had this I opened the Termina, then typed "sudo apt-get -f install". I hope that works, but let me know if it doesn't.
2013-03-22 16:24:51
it just showed this...sudo apt-get -f installReading package lists... DoneBuilding dependency tree Reading state information... Done0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
2013-03-21 03:42:55
You need to use sudo to perform the operation since it requires root privileges. So instead of typing 'apt-get install pakagename' you need to use 'sudo apt-get install packagename'. It will prompt you for your password before elevating privileges and executing the apt-get command.
2013-03-20 23:48:56
How to fix “Could not open lock file” because “Permission denied”?http://askubuntu.com/questions/162879/how-to-fix-could-not-open-lock-file-because-permission-deniedYou need to be root to do it
2013-03-24 11:05:52
perhaps you need to modify sources.listhttp://www.webupd8.org/2010/04/ubuntu-sources-list-generator-available.htmlhttp://repogen.simplylinux.ch/