clone 356654 -1
severity -1 important
retitle -1 apt-spy: parse incorrectly mirror files (fails when an HTTP column 
is missing)
thanks

On Sat, Sep 02, 2006, Sebastien Helleu wrote:
> I see many 550 (FTP) and 404 (HTTP) here too

These are caused by ls-lR vs. ls-lR.gz. I am going to fix that in a NMU.

> , but I see other strange
> lines where architecture or "ls-lR" seems do be added to host name,
> which results in error "Couldn't resolve host" :
> 
> SERVER: ftp.proxad.net
> Benchmarking FTP...
>                 Error: RETR response: 550
> Benchmarking HTTP...
>                 Error: Couldn't resolve host 'ftp.proxad.netalphals-lR'

This one is a consequence of the format of the mirror file :

ftp.iut-bm.univ-fcomte.fr         /debian/                                
/debian/                           all
 `-> works fine.

ftp.proxad.net                    /mirrors/ftp.debian.org/                      
                             all
 `-> misses a column for HTTP and therefore fails.

This file is got from
<http://http.us.debian.org/debian/README.mirrors.txt>.

I see here a bug in apt-spy not parsing correctly the file.

-- 
adn
Mohammed Adnène Trojette

Reply via email to