[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to unlock apt-get?



On Sun, Oct 9, 2011 at 6:42 AM, Bill.M <bill3@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?
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject
> of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 4E917A7E.4020201@uniserve.com">http://lists.debian.org/[🔎] 4E917A7E.4020201@uniserve.com
>
>

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.


Reply to: