[Linux] apt-get update => Connection refused ftp.(de|fr).debian.org

Olemis Lang olemis@::1
Lun 19 Juil 17:28:29 CEST 2010


2010/7/19 Olemis Lang <olemis@::1>:
> 2010/7/19 Daniel huhardeaux <daniel.huhardeaux@::1>:
>> Le 19/07/2010 13:49, Serge Schmitt a écrit :
>>>
>>> Bonjour,
>>>
>>> Le lundi 19 juillet 2010 à 13:02
>>>         Antoine Delaporte
>>> a écrit pour nous :
>>>
>>>> R.: pb fw, imho
>
[...]
>
> Bon, je viens de ressayer et je suis pas sûr que ça soit un pb fw (:P)
> cette fois parce que je peux accéder au serveur
>
> {{{
> #!sh
>
[...]
>
> $ wget -O /dev/null
> http://ftp.fr.debian.org/debian/dists/squeeze/main/binary-amd64/Packages
> --2010-07-19 09:17:24--
> http://ftp.fr.debian.org/debian/dists/squeeze/main/binary-amd64/Packages
> Resolving ftp.fr.debian.org... 212.27.32.66
> Connecting to ftp.fr.debian.org|212.27.32.66|:80... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2010-07-19 09:17:36 ERROR 404: Not Found.
>
> $ wget -O /dev/null
> http://ftp.fr.debian.org/debian/dists/squeeze/main/binary-amd64/Packages.gz
> --2010-07-19 09:17:40--
> http://ftp.fr.debian.org/debian/dists/squeeze/main/binary-amd64/Packages.gz
> Resolving ftp.fr.debian.org... 212.27.32.66
> Connecting to ftp.fr.debian.org|212.27.32.66|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 8691759 (8.3M) [text/plain]
> Saving to: `/dev/null'
>
>  0% [
>                                                  ] 1,164
> --.-K/s
>
[...]
> }}}

Au contraire , voici ce que je trouve en considérant le dépôt de
Hudson (lequel je peux utiliser sans soucis de ce type ;o)

{{{
#!sh

$ wget -O /dev/null http://hudson-labs.org/debian/binary/Packages
--11:36:41--  http://hudson-labs.org/debian/binary/Packages
           => `/dev/null'
Resolving hudson-labs.org... 63.246.20.93
Connecting to hudson-labs.org|63.246.20.93|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://pkg.hudson-labs.org/debian/binary/Packages [following]
--11:36:42--  http://pkg.hudson-labs.org/debian/binary/Packages
           => `/dev/null'
Resolving pkg.hudson-labs.org... 63.246.20.93
Connecting to pkg.hudson-labs.org|63.246.20.93|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,617 (1.6K) [application/x-gzip]

100%[=================================================================================================================>]
1,617         --.--K/s

11:36:42 (118.07 MB/s) - `/dev/null' saved [1617/1617]

$ wget -O /dev/null http://hudson-labs.org/debian/binary/Packages.gz
--11:37:04--  http://hudson-labs.org/debian/binary/Packages.gz
           => `/dev/null'
Resolving hudson-labs.org... 63.246.20.93
Connecting to hudson-labs.org|63.246.20.93|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://pkg.hudson-labs.org/debian/binary/Packages.gz [following]
--11:37:05--  http://pkg.hudson-labs.org/debian/binary/Packages.gz
           => `/dev/null'
Resolving pkg.hudson-labs.org... 63.246.20.93
Connecting to pkg.hudson-labs.org|63.246.20.93|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,617 (1.6K) [application/x-gzip]

100%[=================================================================================================================>]
1,617         --.--K/s

11:37:06 (240.92 KB/s) - `/dev/null' saved [1617/1617]

}}}

Alors , à mon avis

> Je crois qu'apt demande le fichier Packages .
>
> Q:
>  - Est-ce qu'il devrait télécharger le fichier Packages.gz ?

Oui, mais on n'y trouve que Packages.gz et `apt` ne veut pas le
télécharger (pou quoi? sais pas !)

>  - Avez-vous d'autres idées ?
>

Moi ? Non ! Est-ce qu'on doit rediriger la requête vers Packages.gz
lorsqu'on demande Packages? Doit-on y ajouter un symlink ? (sais pas
!)

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:


Plus d'informations sur la liste de diffusion linux