On Thu, Dec 15, 2011 at 10:17:33PM +0530, Shrinivasan T wrote:
> Check that the file /var/lib/apt/lists/lock is there and owned by root.
> 
> if not create an empty file by the following command.
> 
> touch /var/lib/apt/lists/lock
> 
> then, run sudo apt-get update.


I am pretty sure the opposite should be done. The lock file is created
by apt so that no other concurrent process runs. Remove the lock file
if it exists and retry.

# rm /var/lib/apt/lists/lock

However, do so IF AND ONLY IF you are sure that there is not other
instance of apt or synaptic or any such package-manager running. Else
all you will manage to do is get the system in an inconsistent state.
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to