Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a Debian machine (Linux debian 2.6.32-5-amd64 #1 SMP Fri Feb 15 15:39:52 UTC 2013 x86_64 GNU/Linux) running behind a NAT with a couple of ports forwarded for SSH and Web. I can access the web fine and I can also do DNS lookups fine.

The contents of my sources.list

deb http://ftp.br.debian.org/debian squeeze main
deb-src http://ftp.br.debian.org/debian squeeze main

deb http://ftp.br.debian.org/debian squeeze-updates main
deb-src http://ftp.br.debian.org/debian squeeze-updates main

deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main

When I try apt-get update I get the following

Ign http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en_GB
Ign http://security.debian.org squeeze/updates Release
Err http://security.debian.org squeeze/updates/main Sources
404  Not Found [IP: 80]
Err http://security.debian.org squeeze/updates/main amd64 Packages
404  Not Found [IP: 80]
Ign http://ftp.br.debian.org squeeze Release.gpg    
Ign http://ftp.br.debian.org/debian/ squeeze/main Translation-en
Ign http://ftp.br.debian.org/debian/ squeeze/main Translation-en_GB
Ign http://ftp.br.debian.org squeeze-updates Release.gpg
Ign http://ftp.br.debian.org/debian/ squeeze-updates/main Translation-en
Ign http://ftp.br.debian.org/debian/ squeeze-updates/main Translation-en_GB
Ign http://ftp.br.debian.org squeeze Release
I    gn http://ftp.br.debian.org squeeze-updates Release
Err http://ftp.br.debian.org squeeze/main Sources
404  Not Found [IP: 80]
Err http://ftp.br.debian.org squeeze/main amd64 Packages
404  Not Found [IP: 80]
Err http://ftp.br.debian.org squeeze-updates/main Sources
404  Not Found [IP: 80]
Err http://ftp.br.debian.org squeeze-updates/main amd64 Packages
404  Not Found [IP: 80]
W: Failed to fetch http://security.debian.org/dists/squeeze/updates/main/source/Sources.gz  404  Not Found [IP: 80]    
W: Failed to fetch http://security.debian.org/dists/squeeze/updates/main/binary-amd64/Packages.gz  404  Not Found [IP: 80]
W: Failed to fetch http://ftp.br.debian.org/debian/dists/squeeze/main/source/Sources.gz  404  Not Found [IP: 80]
W: Failed to fetch http://ftp.br.debian.org/debian/dists/squeeze/main/binary-amd64/Packages.gz  404  Not Found [IP: 80]
W: Failed to fetch http://ftp.br.debian.org/debian/dists/squeeze-updates/main/source/Sources.gz  404  Not Found [IP: 80]
W: Failed to fetch http://ftp.br.debian.org/debian/dists/squeeze-updates/main/binary-amd64/Packages.gz  404  Not Found [IP: 80]
E: Some index files failed to download, they have been ignored, or old ones used instead.
share|improve this question
The configuration file looks good. May be a miscofigure networking connection? –  Brigo Apr 9 '13 at 23:03
Ah, Just did a wget on a page and yeah, appears to be some kinda networking misconfiguration, oh dear. –  Jamie H Apr 9 '13 at 23:11

1 Answer 1

up vote 2 down vote accepted

It looks like there are some issues either with the mirror server or with the network connection between the mirror server and your box. Please, have a look on the following Debian Sources Generator to get the default sources suitable for your release, repository and country.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.