On 2011-10-09 13:47 +0200, Matt Harrison wrote: > On Sun, Oct 9, 2011 at 6:42 AM, Bill.M <bi...@uniserve.com> wrote: >> Hi folks, >> >> I'm having a problem with apt-get. I seem to be locked out of >> /var/lib/dpkg/lock and /var/lib/dpkg when I try to do an apt=get update , >> How can I clear these locks? And if there's another process using apt, how >> can I discover what it is? I've rebooted without success. >> >> b. >> >> <snip> >> >> E: Some index files failed to download, they have been ignored, or old ones >> used instead. >> E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily >> unavailable) >> E: Unable to lock the administration directory (/var/lib/dpkg/), is another >> process using it? > > Are you running apt-get as root? I don't have my box right in front > of me, but the errors you describe sound like you are trying to run > apt as your user account.
No, in that case he would get a (13: Permission denied) error. The dpkg database is locked by another process, lsof should find out which one. Sven -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87ipnyxtne....@turtle.gmx.de