Quote:
Originally Posted by openfun
Dear all:
Yesterday I was really careless. I manually deleted apt-get lock files in /var/cache/apt/archives/ and /var/cache/apt/archives/partial/. Now my apt-get doesn't fucking work. Could anybirdy here please help me fix this problem? I'll be really really appreciated.
Thanks a lot!
|
On my install the lock file is a zero byte file so you could try
touch /var/cache/apt/archives/lock then to make sure the permissions are right
chmod 0640 /var/cache/apt/archives/lock.
Code:
ls -l /var/cache/apt/archives/lock
-rw-r----- 1 root root 0 2006-02-20 23:55 /var/cache/apt/archives/lock
I have no such file in the partial directory but if necessary repeat the above for it.
Code:
ls -l /var/cache/apt/archives/partial/lock
ls: /var/cache/apt/archives/partial/lock: No such file or directory