LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-17-2004, 11:22 AM   #1
fhleung
Member
 
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432

Rep: Reputation: 30
apt-get error, E: Could not get lock......


apt-get is already a quite easy tool to install package, but I found some problems with it.
Hope the members of the fourm would help me to figure out what's going on

# apt-get install rar
warning: cannot get exclusive lock on /var/lib/rpm/Packages
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
rar
0 packages upgraded, 1 newly installed, 0 removed and 92 not upgraded.
E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the download directory


Whatever I apt-get install something, I got the above error, anyone can explain what's going on please? Thank you for the kindly help : )
 
Old 10-17-2004, 12:32 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
it looks like you must have another instance of
apt/dpkg/dselect/aptitude/etc -- something running already
with a lock on the apt cache
you will need to stop whatever process has the lock to free apt for access
 
  


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
apt could not lock the cache file abadile Debian 4 06-20-2005 01:35 PM
Cant Get Lock Mailbox In Use Error psychguy Linux - Software 1 06-01-2005 06:43 PM
apt error, lock? Pojodojo SUSE / openSUSE 1 10-13-2004 11:43 AM
apt-get error installing xlibs 4.2.1-14, apt-get won't work at all now pib Debian 1 12-11-2003 12:39 AM
error: cannot get exclusive lock on /var/lib/rpm/Packages error: cannot open Packages inward_eye Linux - Software 3 08-24-2003 04:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:56 AM.

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