[PlanetCCRMA] apt can't get lock

Fernando Pablo Lopez-Lezcano nando@ccrma.Stanford.EDU
Wed Jun 4 19:54:01 2003


> > I had to uninstall the old ones first with rpm -e and I copied the
> > sources.list for rh9.  Now I'm trying to do "apt-get planetccrma-core"
> > and apt warns me that it "could not get lock /var/cache/apt/archives/lock
> > - open (11 resource temporarily unavailable.)"  It downloads everything,
> > but then it freezes in the middle of actually installing.
> 
> I have not seen this before. It looks like some other process has the
> lock taken. Make sure you do not have an errant apt-get or rpm process
> still running in the machine ("ps -axuw|grep apt-get"). 

If you don't have a leftover process try deleting the lock file. See
this thread in google groups:

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=20030603191005%244732%40gated-at.bofh.it&rnum=3&prev=/groups%3Fq%3Dcould%2Bnot%2Bget%2Block%2B/var/cache/apt/archives/lock%2B11%2Bresource%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26selm%3D20030603191005%25244732%2540gated-at.bofh.it%26rnum%3D3

-- Fernando