pour ne pas utiliser apt-mirror http://doc.ubuntu-fr.org/tutoriel/creer_un_miroir_de_depot_local?s[]=apt&s[]=mirror
Tres simple à utiliser Fiyorden Le 18 février 2011 08:53, Snarf <sn...@nerim.net> a écrit : > Le vendredi 18 février 2011 à 08:34, Olivier PAVILLA écrivait: > > Bonjour. > Hola > > > Quelqu'un a t-il déjà monté un serveur miroir? > > J'en ai monté, mais mon problème, c'est que l'option "--method=rsync" ne > > fonctionne pas. > [SNIP] > > > Et je'ai ce message : > > rsync: failed to connect to fr.archive.ubuntu.com: Network is > > unreachable (101) > > rsync error: error in socket IO (code 10) at clientserver.c(122) > > [Receiver=3.0.7] > > rsync: failed to connect to fr.archive.ubuntu.com: Network is > > unreachable (101) > > rsync error: error in socket IO (code 10) at clientserver.c(122) > > [Receiver=3.0.7] > Il te dit "en gros" qu'il n'a pas de chemin pour aller en rsync vers le > serveur fr.archive.ubuntu.com. Rsync utilise le port 873 (tcp/udp) > > a priori un proxy HTTP classique n'est pas suffisant. > > > Si je fais la même commande avec --methode=http, ca passe. > > Je ne comprends pas > > debmirror -v --progress -m --passive --arch=i386,amd64 > > --dist=lenny,squeeze --nosource --method=http > > --host=fr.archive.ubuntu.com --root=:ubuntu > > --section=main,restricted,universe,multiverse --getcontents --cleanup > > /var/mirror/ubuntu/ --proxy=http://<monproxy>:3128 --ignore-release-gpg > Dans ce cas, ça passe, car, tu lui donne un proxy http accessible, et > ton proxy lui accede a fr.archive.ubuntu.com. > > pas contre dans la doc de rsync : > > -------------------- cut here -------------------- > You may establish the connection via a web proxy by setting the > environment variable > RSYNC_PROXY to a hostname:port pair pointing to your web proxy. > Note that your web proxy's configuration must allow proxying to port > 873. > -------------------- cut here -------------------- > > voilou voilou > > > Snarf > > > -- > Chuck Norris sait où se trouve Ornicar > > -- > Liste de diffusion ubuntu-fr ubuntu-fr@lists.ubuntu.com > Pour s'abonner ou se désabonner : > https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr > Charte de la liste: http://doc.ubuntu-fr.org/groupes/ubuntu-fr-ml/charte >
-- Liste de diffusion ubuntu-fr ubuntu-fr@lists.ubuntu.com Pour s'abonner ou se désabonner : https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr Charte de la liste: http://doc.ubuntu-fr.org/groupes/ubuntu-fr-ml/charte