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

Re: apt-get interrupted, file locked



on Mon, Sep 24, 2001 at 05:48:55PM -0400, Peter Christensen (pchris@snip.net) wrote:
> I think I'm making progress!  I tried apt-get (as suggested by Dman and
> Karsten).  I ran :
>   
>   apt-get update
>   apt-get dist-upgrade
> 
> After about two hours I lost my internet connection (not uncommon for
> me) and when I tried to get things going again I got the following
> messages:
> 
>   Could not open lockfile /var/cache/apt/lock, open (13 permission
> denied)
>   Couldn't lock the cache dir, /var/cache/apt, another process is using
> it
> 
> Is this fixable?  What should I do if I lose the connection next time?

Check for existing apt, apt-get, or dpkg processes.  If they exist, kill
them.

Remove the lockfile, if it exists.

Try re-running apt-get.  If the problems persist, repost.

Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?              Home of the brave
  http://gestalt-system.sourceforge.net/                    Land of the free
   Free Dmitry! Boycott Adobe! Repeal the DMCA!  http://www.freesklyarov.org
Geek for Hire                      http://kmself.home.netcom.com/resume.html

Attachment: pgpHqwd4qiNXw.pgp
Description: PGP signature


Reply to: