LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-06-2005, 02:35 PM   #1
Linux4Life
LQ Newbie
 
Registered: Apr 2005
Distribution: SuSE 9.3
Posts: 16

Rep: Reputation: 0
Unhappy apt-get error, no connections possible


Hi there everybody,

I'm trying to get the updates for Debian Sarge using apt-get but it's not working and I haven't a clue why not?

I've been trying to add the urls into the sources.list and then run the command

Code:
apt-get update
but it just sits there and does nothing. There's nothing wrong with my network/internet setup as I can view web pages with all browsers in both KDE and Gnome and also I'm 99% sure that I've added the correct URLs into the sources.list correctly and saved the file like you should. My machine is configured using DHCP.

How am I supposed to get this version of Sarge to update? Also I need to get new kernel modules for it because I'm trying to install the Nvidia driver for it but I need to do a few other things first before I can get it to work properly.

Would be very grateful if you could solve this one..

 
Old 04-06-2005, 07:03 PM   #2
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
Type "nano /etc/apt/sources.list" and take a look at what you have. It should look something like:
Code:
deb ftp://ftp.debian.org/debian testing main contrib non-free

deb ftp://non-us.debian.org/debian-non-US testing/non-US main contrib non-free

deb ftp://security.debian.org/debian-security testing/updates main contrib non-free
It is important that the syntax be correct. It is sensitive to capital/lowercase.

Last edited by m_yates; 04-06-2005 at 07:05 PM.
 
Old 04-06-2005, 08:25 PM   #3
Linux4Life
LQ Newbie
 
Registered: Apr 2005
Distribution: SuSE 9.3
Posts: 16

Original Poster
Rep: Reputation: 0
Hi there,

I just entered that into nano like you said, saved the file and then came out of it. Then I ran the apt-get update command to try and get the updates for Sarge and this is what is did:

Code:
debian:/# apt-get update
0% [Connecting to ftp.debian.org (1.0.0.0)] [Connecting to non-us.debian.org (1.0.0.0)] [Connecting to security.debian.org (1.0.
That's all it does, the cursor just sits there for ages blinking instead of connecting to the update sites. What can you suggest to overcome this problem?
 
Old 04-06-2005, 09:27 PM   #4
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
Do you have a firewall that is blocking anything? Is the network actually functioning? Can you ping something, like ping google.com?
 
Old 04-07-2005, 07:10 AM   #5
Linux4Life
LQ Newbie
 
Registered: Apr 2005
Distribution: SuSE 9.3
Posts: 16

Original Poster
Rep: Reputation: 0
Yes I have a firewall but it's working perfectly. I don't have any problems with that, if I ping google.com this is what I get:

Code:
PING google.com (216.239.39.99) 56(84) bytes of data.
64 bytes from google.com (216.239.39.99): icmp_seq=1 ttl=237 time=103 ms
64 bytes from google.com (216.239.39.99): icmp_seq=2 ttl=237 time=103 ms
64 bytes from google.com (216.239.39.99): icmp_seq=3 ttl=237 time=105 ms
64 bytes from google.com (216.239.39.99): icmp_seq=4 ttl=237 time=103 ms
64 bytes from google.com (216.239.39.99): icmp_seq=5 ttl=237 time=104 ms
64 bytes from google.com (216.239.39.99): icmp_seq=6 ttl=237 time=103 ms
64 bytes from google.com (216.239.39.99): icmp_seq=7 ttl=237 time=104 ms
64 bytes from google.com (216.239.39.99): icmp_seq=8 ttl=237 time=104 ms
64 bytes from google.com (216.239.39.99): icmp_seq=9 ttl=237 time=103 ms

--- google.com ping statistics ---
9 packets transmitted, 9 received, 0% packet loss, time 8080ms
rtt min/avg/max/mdev = 103.019/104.029/105.600/0.757 ms
 
Old 04-07-2005, 08:42 AM   #6
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
Sometimes the servers are slow. Maybe you can try running "apt-get update" again and see what happens. I'm not sure what could be blocking apt from the network I just ran apt-get update a few minutes ago and the debian.org servers are working.
 
Old 04-07-2005, 09:48 AM   #7
Nobber
Member
 
Registered: Jun 2002
Location: Nova Scotia
Distribution: Debian (home), Kubuntu 7.04 (work)
Posts: 265

Rep: Reputation: 30
No idea what's causing your problem, but have you tried using http sources instead of ftp sources?
 
Old 04-07-2005, 12:23 PM   #8
Linux4Life
LQ Newbie
 
Registered: Apr 2005
Distribution: SuSE 9.3
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Sometimes the servers are slow. Maybe you can try running "apt-get update" again and see what happens. I'm not sure what could be blocking apt from the network I just ran apt-get update a few minutes ago and the debian.org servers are working.
I doubt it'd be the servers being slow, I've tried it several times over the last few days and it does nothing even though there's a good connection there. I've heard from other people who have used the same version of Sarge as me and they've had no trouble what so ever using apt-get.

That's what I mean, the servers are working for you but not for me and that's what so frustrating about this whole thing.

Quote:
No idea what's causing your problem, but have you tried using http sources instead of ftp sources?
Not really, I've only tried doing what others have suggested. It was ftp you're right but if I change the sources to http then what is the best addresses I should use in the sources.list before I try? If you can suggest something to change it to I will do and then I will try running apt-get again and post the results here...

I'm kind of new to Debian but I've worked with a few other distros before, I've never had this trouble with SuSE 9.2 so I'm not sure what to do about it, maybe if you can suggest what I need to do then I can do that, other than that I'm stuck. Maybe it's the version of Sarge I'm running that's got something wrong with it. I can tell you the URL of the site I got it from. It was from this address:

Debian Sarge Linux - Bittorrent Download
 
Old 04-07-2005, 03:17 PM   #9
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
For http, you can use
Code:
deb http://http.us.debian.org/debian testing main contrib non-free
deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
deb http://security.debian.org testing/updates main contrib non-free

Last edited by m_yates; 04-07-2005 at 03:19 PM.
 
Old 04-07-2005, 04:16 PM   #10
Linux4Life
LQ Newbie
 
Registered: Apr 2005
Distribution: SuSE 9.3
Posts: 16

Original Poster
Rep: Reputation: 0
I tried it again but no luck..

Code:
debian:/# apt-get update
Err http://http.debian.org testing/main Packages
  Temporary failure resolving 'http.debian.org'
Err http://http.debian.org testing/main Release
  Temporary failure resolving 'http.debian.org'
Err http://non-us.debian.org testing/non-US/main Packages
  Could not connect to non-us.debian.org:80 (1.0.0.0), connection timed out
Err http://security.debian.org testing/updates/main Packages
  Could not connect to security.debian.org:80 (1.0.0.0), connection timed out
Err http://http.debian.org testing/contrib Packages
  Temporary failure resolving 'http.debian.org'
0% [Connecting to http.debian.org] [Connecting to non-us.debian.org (1.0.0.0)] [Connecting to securit
Access to this forum was all done within Debian Sarge and I had no trouble communicating with this website at all. I just don't understand why it doesn't work with the apt-get command?
 
Old 04-07-2005, 08:38 PM   #11
jmanjeff
Member
 
Registered: Dec 2004
Distribution: Debian Sid/ Mepis/ XP for Gameing
Posts: 34

Rep: Reputation: 15
If it is a new install maybe just a bad install
 
  


Reply



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 when using Apt-get patisawsome Ubuntu 7 08-22-2006 05:34 PM
konqueror - FTP - too many connections error Steve Riley SUSE / openSUSE 0 09-09-2005 01:31 PM
apt-get error... taiwf Debian 5 08-10-2005 07:12 PM
apt-get error mrurmil Linux - Software 1 01-23-2005 07:32 PM
apt-get error installing xlibs 4.2.1-14, apt-get won't work at all now pib Debian 1 12-10-2003 11:39 PM

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

All times are GMT -5. The time now is 01:57 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