If I want to install a program by:
sudo apt-get install package_name
I always get the error:
E: Could not open lock file /var/lib/apt/lists/lock - open (2 No such file or directory)
E: Unable to lock the administration directory (/var/lib/dpkg) , are you root?
I am root, but still get the error. Any idea ?
sudo apt-get clean
working ? Try after logout and back login. – Pandya May 08 '14 at 10:37Is
, notls
. The command that @Pandya suggested wassudo apt-get clean
. – terdon May 08 '14 at 14:11