On Mon, Aug 29, 2011 at 9:36 PM, L. Guruprasad <[email protected]> wrote:
> Hi Dinesh, > > On Monday 29 August 2011 09:17 PM, Dinesh wrote: > > hello everyone, > > i got the following error while executing the > > following command.. > > > > root@dinesh-Inspiron-N4010:/home/dinesh# apt-get install wine > > 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? > > The above error message means that you already have a dpkg process > running (could be apt-get, synaptic, update manager and etc.). Try > closing it before trying the command. > > As a last resort, if there is no dpkg process running and still you get > the same error, you could try deleting the lockfile, but be careful as > doing this could potentially corrupt your package database. To be on the > safer side, I'd reboot and then delete the stale lockfile in that case. > An alternative is to run the command "sudo fuser -vki /var/lib/dpkg". That'll terminate any process using the lock. -- Arvind S Raj B.Tech, Computer Science and Engineering(Final Year) Amrita School of Engineering, Amritapuri _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
