Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Other Distributions > Yoper Linux Help > apt-get problem

Forgot Password?
 Yoper Linux Help   Officially recognised support forum for Yoper Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Closed Thread
 
Thread Tools Display Modes
Old 12-06-2004   #1 (permalink)
Just Joined!
 
Join Date: Sep 2004
Posts: 17
apt-get problem

Whenever i try to use apt-get now either to install, update or upgrade i keep getting the folowing error:

E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the download directory

What is this and how do i fix it?
englishpremier is offline  



Old 12-06-2004   #2 (permalink)
Linux Guru
 
lakerdonald's Avatar
 
Join Date: Jun 2004
Location: St. Petersburg, FL
Posts: 5,039
make sure you are running apt-get as root!
__________________
the lost art of found sound
lakerdonald is offline  
Old 12-06-2004   #3 (permalink)
Linux Newbie
 
RobNyc's Avatar
 
Join Date: Nov 2004
Location: NYC, USA
Posts: 139
Send a message via AIM to RobNyc Send a message via Skype™ to RobNyc
Re: apt-get problem

Quote:
Originally Posted by englishpremier
Whenever i try to use apt-get now either to install, update or upgrade i keep getting the folowing error:

E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the download directory

What is this and how do i fix it?

open console, type su, type password, and try again apt-get update, apt-get install or whatever ..
RobNyc is offline  
Old 12-06-2004   #4 (permalink)
Just Joined!
 
Join Date: Nov 2004
Posts: 3
Make sure you don't havr synaptic running at the same time.

Ed
forstfed is offline  
Old 12-06-2004   #5 (permalink)
Just Joined!
 
Join Date: Nov 2004
Location: Canada
Posts: 35
This can also happen if you aborted a previous apt-get or Synaptic session prematurely. Look for a LOCK file in your rpm downloads section (the folder where apt-get and synaptic download packges) and delete it. Other with more experience in this can provide more specific details...
theaddict is offline  
Old 12-06-2004   #6 (permalink)
Just Joined!
 
Join Date: Sep 2004
Posts: 17
I was running apt as root. I didn't have another instance of it running including synaptic.

I tried to apt-get install gaim and it hung so i terminated the program, I took the advice above to delete the lock file and now it will start to install the programs but then just hangs here:

Committing changes...
warning: waiting for transaction lock


This is really annoying, i've never had a problem with apt-get before.
englishpremier is offline  
Old 12-06-2004   #7 (permalink)
Just Joined!
 
Join Date: Oct 2004
Location: Warsaw, Poland
Posts: 87
Send a message via ICQ to michux Send a message via MSN to michux Send a message via Skype™ to michux
Quote:
Originally Posted by englishpremier
Committing changes...
warning: waiting for transaction lock
rm /var/lock/rpm/transaction
michux is offline  
Old 12-06-2004   #8 (permalink)
Just Joined!
 
Join Date: Sep 2004
Posts: 17
Quote:
Originally Posted by michux
Quote:
Originally Posted by englishpremier
Committing changes...
warning: waiting for transaction lock
rm /var/lock/rpm/transaction
worked a treat, cheers.
englishpremier is offline  
Old 12-06-2004   #9 (permalink)
Linux Newbie
 
RobNyc's Avatar
 
Join Date: Nov 2004
Location: NYC, USA
Posts: 139
Send a message via AIM to RobNyc Send a message via Skype™ to RobNyc
I was just using Yoper v2.1 and doing the apt-get goes well until later it gives me errors. Then I reinstalled and used synaptic and it just took more than 10hrs on installing XFree86 . I tried Yoper v2.2 devlopment gnome and it was nice (via vmware) fast on my amd athlon xp-m 2800+ 768mb ddr of course I expect everything to be fast here and the apt-get errors!!! , I tried yoper v2.2 development kde ver and couldn't even log in . so hopefully Yoper gets all these problems fixed! because it really is a good distro
RobNyc is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 06:24 PM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1