Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 18-06-2011, 08:53 AM   #1 (permalink)
Right Off the Assembly Line
 
bijay_ps's Avatar
 
Join Date: Mar 2011
Location: chennai
Posts: 44
Angry [SOLVED] unable to lock administrator directory problem


I was trying to install gcc by using "sudo apt-get install gcc",using terminal window ofcourse,and i gave me an error msg that
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?

I have installed Ubuntu 11.04 inside windows 7 in E drive.

even I tried "sudo bash" command and after that to install gcc..... but again the same problem... so please help me
__________________
Follow 7H3 G33K !nside YOU
bijay_ps is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 18-06-2011, 09:51 AM   #2 (permalink)
Simply a DIGITian
 
krishnandu.sarkar's Avatar
 
Join Date: Nov 2007
Location: Kolkata
Posts: 2,942
Default Re: unable to lock administrator directory problem

Well, just reboot the machine, and it'll get solved.
__________________
  • Read The Forum RULES First.
  • Before PM'ing Or Asking Any Questions To Any Mod Read The FAQ's
  • Before Starting A New Thread Read The STICKY THREADS First
  • Before Participating In Bazaar Section Read The BAZAAR RULES
krishnandu.sarkar is offline  
Old 23-06-2011, 11:07 PM   #3 (permalink)
Ballack Junior
 
tuxybuzz's Avatar
 
Join Date: May 2008
Location: Gurgaon
Posts: 125
Default Re: unable to lock administrator directory problem

the error you are indicating usually means that another resource/process has currently acquired the lock ( i.e it is making some changes of its own..the usual culprit in my cases is the automatic update).
So rebooting should solve it or alternatively you could wait till the lock is freed.
tuxybuzz is offline  
Old 25-06-2011, 08:40 PM   #4 (permalink)
Right Off the Assembly Line
 
bijay_ps's Avatar
 
Join Date: Mar 2011
Location: chennai
Posts: 44
Default Re: unable to lock administrator directory problem

well it worked...... thanks U guys
__________________
Follow 7H3 G33K !nside YOU
bijay_ps is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Charan
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 02:37 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2