LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-15-2004, 01:24 PM   #1
moby
Member
 
Registered: May 2004
Location: Austria
Posts: 30

Rep: Reputation: 15
apt-get problem


Nubbie question regarding apt-get

i have installed knoppix on to the hard drive all seemed to go ok , then i opend root at the promt i typed apt-get update i get this return ? can anyone help ??

E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the list directory
 
Old 05-15-2004, 03:05 PM   #2
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,091

Rep: Reputation: 45
did you do it as root? or as a user? you have to use apt-get as root...check this out too, tho:
http://www.knoppix.net/forum/viewtop...18346b16b2ade.
 
Old 05-16-2004, 09:03 AM   #3
moby
Member
 
Registered: May 2004
Location: Austria
Posts: 30

Original Poster
Rep: Reputation: 15
Thanks

Very helpfull ta very much !

now it's
24% [connection to ftp2.de.debian.org (195.71.9.196)]

connection timed out
it's been like this all day , is there something wrong with the address / is there something i can do to get a update

moby
 
Old 05-16-2004, 12:40 PM   #4
emetib
Member
 
Registered: Feb 2003
Posts: 482

Rep: Reputation: 33
you should put in more mirrors than just one.
apt-setup is the proper command, if i remember correctly. or you can hand edit the /etc/apt/sources file. make sure that you have "main non-free contribs" in there.
 
Old 05-16-2004, 02:12 PM   #5
ldp
Member
 
Registered: Apr 2004
Location: Belgium Antwerpen
Distribution: slackware - knoppix
Posts: 141

Rep: Reputation: 18
You can find a good link for debian mirrors if you check the faq at debian.org point 8.2.1 apt has a link. These entries you need to put some of them in sources.list file, you can also find info there on how it works.
rgds,
Lieven
 
Old 05-16-2004, 02:40 PM   #6
moby
Member
 
Registered: May 2004
Location: Austria
Posts: 30

Original Poster
Rep: Reputation: 15
I manualy edited the sources.list with emacs i changed the ftp2.de to ftp.de for all three sources
and hay presto everthing went well apt-get update ok apt.get upgrade it took 30 min or more and then at the end it returned
errors were encouterd while processing
locales
E sub-process /usr/bin/dpkg
returned an error code (1)

what does this mean ??

cheers moby

Last edited by moby; 05-16-2004 at 02:43 PM.
 
Old 05-16-2004, 02:56 PM   #7
ldp
Member
 
Registered: Apr 2004
Location: Belgium Antwerpen
Distribution: slackware - knoppix
Posts: 141

Rep: Reputation: 18
You also have to run apt-get update after changing the sources.list file. Then you can get the applications via apt-get install "package" you can also remove them. with dpkg -s "package" you can see if something is installed,... try for example "dpkg -s apache"
But I strongly reccomand you to read the faq, it's well explained on the debian page. And it knows muche more about the errors and how things work than I do. Also check the man of dpkg and apt-get, it's very usefull.
really, you'll learn a lot about linux and you'll even understand what ye're doing. At first, it'll take some time but once you know, you won't forget.
good luck.
 
Old 05-16-2004, 03:02 PM   #8
moby
Member
 
Registered: May 2004
Location: Austria
Posts: 30

Original Poster
Rep: Reputation: 15
Ok thanks for the directional tip i'm of there now. it's good to know there is a lot of help out there .

cheers
Moby
 
  


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
problem with apt efi360 Debian 18 12-24-2005 06:12 PM
Apt-get problem davholla Debian 3 07-01-2005 03:23 PM
problem with apt get waelali Linux - Software 1 03-12-2005 05:55 AM
rh9 xd2 apt apt-get problem fix and solution transeunt Red Hat 0 12-16-2003 10:54 PM
apt-get problem mmm Linux - General 1 11-11-2003 01:53 PM


All times are GMT -5. The time now is 05:41 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration