Topic: sudo apt-get update index files failed to download

When i run sudo apt-get update i get some errors (see below).
How to solve this?

Hit http://ftp.nl.debian.org squeeze Release.gpg
Ign http://ftp.nl.debian.org squeeze/main Translation-en_US                                       
Ign http://ftp.nl.debian.org squeeze/contrib Translation-en_US                                    
Ign http://ftp.nl.debian.org squeeze/non-free Translation-en_US             
Hit http://ftp.nl.debian.org squeeze Release                                
Hit http://ftp.nl.debian.org squeeze/main Packages/DiffIndex                                      
Hit http://packages.crunchbanglinux.org statler Release.gpg                 
Ign http://packages.crunchbanglinux.org statler/main Translation-en_US      
Hit http://ftp.nl.debian.org squeeze/contrib Packages/DiffIndex             
Hit http://ftp.nl.debian.org squeeze/non-free Packages/DiffIndex
Hit http://packages.crunchbanglinux.org statler Release
Ign http://packages.crunchbanglinux.org statler/main Packages/DiffIndex
Hit http://packages.crunchbanglinux.org statler/main Packages
Get:1 ftp://debian.mirror.root.lu squeeze Release.gpg
Err ftp://debian.mirror.root.lu squeeze Release.gpg
  Read error - read (104: Connection reset by peer) [IP: 195.24.74.74 21]
Get:2 ftp://debian.mirror.root.lu squeeze/main Translation-en_US
Ign ftp://debian.mirror.root.lu squeeze/main Translation-en_US
Get:3 ftp://debian.mirror.root.lu squeeze Release
Ign ftp://debian.mirror.root.lu squeeze Release
Get:4 ftp://debian.mirror.root.lu squeeze/main Packages/DiffIndex
Ign ftp://debian.mirror.root.lu squeeze/main Packages/DiffIndex
Get:5 ftp://debian.mirror.root.lu squeeze/main Sources/DiffIndex
Ign ftp://debian.mirror.root.lu squeeze/main Sources/DiffIndex
Get:6 ftp://debian.mirror.root.lu squeeze/main Packages
Ign ftp://debian.mirror.root.lu squeeze/main Packages
Get:7 ftp://debian.mirror.root.lu squeeze/main Sources
Ign ftp://debian.mirror.root.lu squeeze/main Sources
Get:8 ftp://debian.mirror.root.lu squeeze/main Packages
Ign ftp://debian.mirror.root.lu squeeze/main Packages
Get:9 ftp://debian.mirror.root.lu squeeze/main Sources
Ign ftp://debian.mirror.root.lu squeeze/main Sources
Get:10 ftp://debian.mirror.root.lu squeeze/main Packages
Err ftp://debian.mirror.root.lu squeeze/main Packages
  Unable to fetch file, server said '/debian/dists/squeeze/main/binary-i386/Packages.gz: No such file or directory  ' [IP: 195.24.74.74 21]
Get:11 ftp://debian.mirror.root.lu squeeze/main Sources
Err ftp://debian.mirror.root.lu squeeze/main Sources
  Unable to fetch file, server said '/debian/dists/squeeze/main/source/Sources.gz: No such file or directory  ' [IP: 195.24.74.74 21]
W: Failed to fetch ftp://debian.mirror.root.lu/debian/dists/squeeze/Release.gpg  Read error - read (104: Connection reset by peer) [IP: 195.24.74.74 21]

W: Failed to fetch ftp://debian.mirror.root.lu/debian/dists/squeeze/main/binary-i386/Packages.gz  Unable to fetch file, server said '/debian/dists/squeeze/main/binary-i386/Packages.gz: No such file or directory  ' [IP: 195.24.74.74 21]

W: Failed to fetch ftp://debian.mirror.root.lu/debian/dists/squeeze/main/source/Sources.gz  Unable to fetch file, server said '/debian/dists/squeeze/main/source/Sources.gz: No such file or directory  ' [IP: 195.24.74.74 21]

E: Some index files failed to download, they have been ignored, or old ones used instead.

My sources.list file:

deb http://packages.crunchbanglinux.org/statler/ statler main 

deb http://ftp.nl.debian.org/debian/ squeeze main contrib non-free 
# deb-src http://ftp.nl.debian.org/debian/ squeeze main contrib non-free  

deb http://security.debian.org/ squeeze/updates main contrib non-free 
deb http://ftp.nl.debian.org/debian/ squeeze-proposed-updates main contrib non-free 
# deb-src http://security.debian.org/ squeeze/updates main contrib non-free 
# deb-src http://ftp.nl.debian.org/debian/ squeeze-proposed-updates main contrib non-free 

deb http://www.debian-multimedia.org/ squeeze main non-free  

deb http://download.skype.com/linux/repos/debian/ stable non-free 

How to solve this one?

Thanks,
Tuna

Re: sudo apt-get update index files failed to download

1. Switch to another mirror?
2. What do you need debian-multimedia.org for?

I'm so meta, even this acronym

Re: sudo apt-get update index files failed to download

1. i already did... didn't make a difference, i was using the german (de) mirror, changed to dutch...
the mirror that gives the fail is not in the sources.list file...
I just found out it is listed in synaptic (doesn't synaptic use the sources.list file?)
Now i disabled deb ftp://debian.mirror.root.lu/debian/ squeeze main  in synaptic.
Is that OK? Or do i need to add anything else?

2. devede

Thanks!

Re: sudo apt-get update index files failed to download

For your best mirror use apt-spy.
http://richs-lxh.linux-hardcore.com/200 … h-apt-spy/

I would also recommend checking your ISP's dns servers as well, as I am regularly unable to connect to the Statler repo.

Re: sudo apt-get update index files failed to download

Well... i was using the mirror from luxemburg... the only one resulting in an error on apt-spy.

Interesting results from apt-spy btw... germany, belgium, france, denmark,  finland, uk, hungary, is(?), italy, poland, portugal, sweden are way faster than the dutch mirror....

thanks,
Tuna

Re: sudo apt-get update index files failed to download

I live in Spain, and depending on the time of day (network traffic) I either use france or germany. If I have a large upgrade or a fresh install of a distro, I usually change my router's dns to GoogleDNS or OpenDNS for quick name resolution.

Re: sudo apt-get update index files failed to download

Hey, I don't want to say some idiotic things, but maybe it could depend from the fact that squeeze is in development yet? I had the same problem with the ubuntu karmic beta and also with my actual #! 10: the index fetching went ok by itself by waiting some time (sometime hours, sometime days)... Could it be?