LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-25-2008, 05:35 AM   #1
hongnguyen70
LQ Newbie
 
Registered: Jan 2008
Posts: 23

Rep: Reputation: 15
Error when installing packages


Hi

I am having problem when I try to install any packages. I get these error messages. I am using Ubuntu 7.10

E: Could not get lock /var/lib/dpgk/lock - open (11 Resource temporarily unvailable )
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

I have tried to install different packages and got the same error message.

What is the problem? Please help

Many thank
 
Old 02-25-2008, 07:21 AM   #2
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355

Rep: Reputation: 70
Quote:
Originally Posted by hongnguyen70 View Post
Hi

I am having problem when I try to install any packages. I get these error messages. I am using Ubuntu 7.10

E: Could not get lock /var/lib/dpgk/lock - open (11 Resource temporarily unvailable )
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

I have tried to install different packages and got the same error message.

What is the problem? Please help

Many thank
I'm assuming you're in a terminal when this happens. The Error message is pretty self explanatory... "Unable to lock the admin directory, is another process using it?".

Usually its because you have Synaptic open while running sudo apt-get something(synaptic has root locked). Sometimes, it's while you're trying to install something via terminal, and you're doing a system update. System Update has the system locked...

You need to find what program you have running that has the root privileges locked, and close it before proceeding.

IGF
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error installing packages Perdix Mandriva 3 03-26-2007 08:00 AM
Error installing packages from repositories Eckstona Linux - Software 2 12-16-2006 10:06 AM
Mandrake:error installing packages masha Linux - Newbie 4 11-09-2004 07:42 AM
error installing packages Commish66 Mandriva 1 05-31-2004 08:54 AM
Error Installing Packages Brad4321 Linux - Software 4 09-26-2003 12:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration