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

Re: Multiple apt-get install...!



On Tuesday 14 September 2004 08:47, Nayyar Ahmed wrote:
> Hello All,
>
> I want to install different packges on same
> time trough apt-get install command but
> it give me error.
>
> debian:/home/neenix/Downloads# apt-get install gd
> 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?
>
>
>
> is there any solution to it.

Yes.  Release the lock.  Do this by either: quitting the program that has 
the lock, or, _if_ you know the program that created the lock is no longer 
running, but didn't clean up after itself, remove the lock manually.  Note 
that if you're running aptitude or one of its gui front ends, they'll 
control these locks.

>From the sound of it, you're running apt-get install foo and apt-get install 
gd at the same time.  Don't do it that way.  Just do "apt-get install foo 
gd".  That way, they'll both be installed and you won't have to worry about 
locks.

Justin Guerin



Reply to: