PDA

View Full Version : apt-get update unable to connect to ftp.de.debian.org



apessos
01-30-2005, 04:36 PM
Hello,
I've been unable to connect to ftp.de.debian.org for the last few days using apt-get. When I run apt-get update everything looks fine until I get to...
.
.
.
Ign http://freevo.sourceforge.net unstable/main Release
Hit http://security.debian.org testing/updates/non-free Packages
Hit http://security.debian.org testing/updates/non-free Release
Hit ftp://ftp.nerim.net unstable/main Packages
Hit ftp://ftp.nerim.net unstable/main Release
Err http://ftp.de.debian.org stable/main Packages
Could not connect to ftp.de.debian.org:80 (141.76.2.4), connection timed out
19% [Connecting to ftp.de.debian.org (141.76.2.4)]

When I look in /etc/apt/source.list, ftp.de.debian.org is all over the place...

# Stable
deb http://ftp.de.debian.org/pub/debian stable main contrib non-free
deb http://ftp.de.debian.org/pub/debian-non-US stable/non-US main contrib non-free

# Stable Sources
deb-src http://ftp.de.debian.org/pub/debian stable main contrib non-free
deb-src http://ftp.de.debian.org/pub/debian-non-US stable/non-US main contrib non-free

Is the solution as simple as finding another source and replacing that with all the occurances of ftp.de.debian.org/ or would that create other problems?

lemuel
01-30-2005, 05:30 PM
hmm... that's wierd.

Try using ftp://ftp.debian.org/debian/ (notice the omitted 'de')



as for me, I use Ubuntu sources even in my knoppix hd-install. All my programs come from Ubuntu and I haven't found any problems thus far.

try backing up your sources.list then make a new one with only one input which is...

deb http://archive.ubuntu.com/ubuntu/ hoary main restricted universe

foamrotreturns
01-31-2005, 01:20 AM
You're not the only one. I have been having this problem too. I think their server is down. Big problems. I'll post if I see it come back up.
[edit] I tried changing all the "de" to "us" but all I got was a bunch of errors. The directory structure on the US server is different from the DE server. If someone has a sources.list file for debian US, I would greatly appreciate it if you could post its location.

lemuel
01-31-2005, 01:42 AM
try this

deb ftp://ftp.us.debian.org/debian/ stable unstable testing woody

lemuel
01-31-2005, 02:03 AM
ooops sorry I made a mistake.

these are the correct ones:
deb ftp://ftp.us.debian.org/debian/ stable main contrib non-free
deb ftp://ftp.us.debian.org/debian/ unstable main contrib non-free
deb ftp://ftp.us.debian.org/debian/ testing main contrib non-free
deb ftp://ftp.us.debian.org/debian/ sid main contrib non-free
deb ftp://ftp.us.debian.org/debian/ sarge main contrib non-free
deb ftp://ftp.us.debian.org/debian/ woody main contrib non-free


pls let me know if they work

apessos
01-31-2005, 03:13 AM
Thank you for the replies. I was able to update my source.list file based on your suggestions and everything is up and running. On one hand I'm glad I'm not the only one who had experienced troubles with ftp.de.debian.org, on the other, I hope nothing bad happened. Thanks again.

lvgandhi
01-31-2005, 02:11 PM
I have internet connection through lan through a proxy 150.1.35.36:3128. I am able to get net. But when i try apt-get update I get error as follows
root@lvgofficepc:~# apt-get update
Err ftp://ftp.us.debian.org stable/main Packages
Temporary failure resolving '3128'
Err ftp://ftp.us.debian.org stable/main Release
Temporary failure resolving '3128'
Err ftp://ftp.us.debian.org stable/contrib Packages
Temporary failure resolving '3128'
---
Temporary failure resolving '3128'
Failed to fetch ftp://ftp.us.debian.org/debian/dists/stable/main/binary-i386/Packages.gz Temporary failure resolving '3128'
Failed to fetch ftp://ftp.us.debian.org/debian/dists/stable/main/binary-i386/Release Temporary failure resolving '3128'
Failed to fetch ftp://ftp.us.debian.org/debian/dists/stable/contrib/binary-i386/Packages.gz Temporary failure resolving '3128'
What to do?

foamrotreturns
01-31-2005, 08:27 PM
The defaults are working again. The sources.list file that is installed with the CD will perform a full update now.
I personally don't know what the difference is between the DE and US mirrors other than their location. Everything I "apt-got" from the DE servers previously was still in english... so idk...

Markus
01-31-2005, 08:40 PM
The word mirror says it all, they're supposed to be identical. Just that the de ones are in germany, and the us ones in usa. You can use apt-spy to find a mirror close to you or have a look at the debian mirror site. For instance I'm in Finland and so I use:
# Unstable Finland
deb ftp://ftp.fi.debian.org/debian/ unstable main contrib non-free
deb ftp://ftp.fi.debian.org/debian-non-US unstable/non-US main contrib non-free

gnarvaja
01-31-2005, 09:05 PM
The word mirror says it all, they're supposed to be identical. Just that the de ones are in germany, and the us ones in usa. You can use apt-spy to find a mirror close to you or have a look at the debian mirror site. For instance I'm in Finland and so I use:
# Unstable Finland
deb ftp://ftp.fi.debian.org/debian/ unstable main contrib non-free
deb ftp://ftp.fi.debian.org/debian-non-US unstable/non-US main contrib non-free

apt-spy overwrites your sources.list file. What I did was:

1. Backup the original sources.list file
2. Optional: Modify sources.list to use the official debian mirrors from your country. I changes all the .de. to .us.
3. Run apt-spy with the parameters I needed
4. Add the results from apt-spy to the original sources.list instead of replacing the old file. So in case 1 mirror fails for any reason, there will be a 2nd one to go and look at.

My sources.list looks like:

# Stable
deb http://ftp.us.debian.org/debian stable main contrib non-free
deb http://debian.fifi.org/debian/ stable main

deb-src http://ftp.us.debian.org/debian stable main contrib non-free
deb-src http://debian.fifi.org/debian/ stable main


--GN

Markus
01-31-2005, 09:11 PM
And actually looking back at my post it wasn't quite correct. apt-spy finds mirrors that are fastest for you, not necessarily closest geographically.

pureone
01-31-2005, 09:13 PM
apt-spy dont seem to work for me....

i used ftp2.de.debian.org and it all worked nice for me.

gnarvaja
01-31-2005, 09:31 PM
And actually looking back at my post it wasn't quite correct. apt-spy finds mirrors that are fastest for you, not necessarily closest geographically.
I used 'geographically' in a very loose sense. apt-spy recommendations are based on response times. Usually the mirrors on the same region/country/continent are faster than the ones around the world from your location.

--GN

Markus
01-31-2005, 09:50 PM
And actually looking back at my post it wasn't quite correct. apt-spy finds mirrors that are fastest for you, not necessarily closest geographically.
I used 'geographically' in a very loose sense. apt-spy recommendations are based on response times. I was correcting my post, not yours ;)


Usually the mirrors on the same region/country/continent are faster than the ones around the world from your location. True.

GFBurke
01-31-2005, 10:21 PM
There servers seem to be working now btw.

gnarvaja
02-18-2005, 06:12 AM
There servers seem to be working now btw.
I usually leave 2 or 3 lines of servers and only 1 uncommented for each option. That way if one fails, I can always edit sources.list and get access to the other servers. The only problem is that for every server apt-get update creates a humongous database file.
Also, a rule of thumb try to replace de with your country code.


Original: ftp.de.debian.org
US: ftp.us.debian.org
Brazil: ftp.br.debian.org
... and so on
Check the Debian site for debian.org mirrors in your country.

--GN