[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Galere avec rsync (mirror debian)



Bonjour,

Décidément, je galère avec ma tentative de mirrorer une woody
"proprement" (c'est pourtant pas dur paraît!)

Mon problème vient des packages qui sont (je suppose) stockés dans
pool/ mais qui devraient avoir un lien dans woody/

Mon script est tout ce qu'il y a de plus bête (en voilà le début) :

================
#!/bin/sh

options='-auv --stats --copy-unsafe-links --delete --exclude-from=./debianexclu
rootftp='ftp.fr.debian.org::debian'
ftp=$rootftp/dists/woody
rootlocal='/home/ftp/debian'
local=$rootlocal/dists/woody
opt=$1

# MAIN

echo -e "\n\n\n woody : main/binary-all\n"
rsync $options $opt $ftp/main/binary-all/ $local/main/binary-all

echo -e "\n woody : main/binary-i386\n"
rsync $options $opt $ftp/main/binary-i386/ $local/main/binary-i386

echo -e "\n woody : main/disks-i386\n"
rsync $options $opt $ftp/main/disks-i386/ $local/main/disks-i386

================

Et voilà le bout de log correspondant :

================

 woody : main/binary-i386

receiving file list ... done
readlink games/xshipwars-images-st_1.6-1.deb: No such file or directory
readlink hamradio/hamsoft_0.1.2-1.deb: No such file or directory
readlink interpreters/libcgi-extratags-perl_0.02-5.deb: No such file or directory
readlink interpreters/libcgi-fasttemplate-perl_1.09-1.deb: No such file or directory
[...encore plein de lignes dans le même genre...]
readlink x11/xfonts-thai_20001108.deb: No such file or directory
./
Packages
Packages.gz
Release
./

Number of files: 31
Number of files transferred: 3
Total file size: 7147962 bytes
Total transferred file size: 7147962 bytes
Literal data: 1554931 bytes
Matched data: 5593031 bytes
File list size: 529
Total bytes written: 62135
Total bytes read: 1587900

wrote 62135 bytes  read 1587900 bytes  6639.98 bytes/sec
total size is 7147962  speedup is 4.33

================

Et si je vais sur le site ftp correspondant je ne vois pas le supposé
hamradio/hamsoft_0.1.2-1.deb :

chezmoi$ ncftp ftp.fr.debian.org
NcFTP 3.0.4 (October 25, 2001) by Mike Gleason (ncftp@ncftp.com).
Connecting to 212.27.32.66...
ProFTPD 1.2.1 Server (Official French mirror of Debian) [212.27.32.66]
Logging in...
Anonymous access granted, restrictions apply.
Logged in to ftp.fr.debian.org.
ncftp /debian > cd debian/dists/woody/main/binary-i386/hamradio/
ncftp ...n/binary-i386/hamradio > ls
ncftp ...n/binary-i386/hamradio >

================


Quelqu'un ayant rencontré la même difficulté pourrait-il m'indiquer la
voie de la sagesse ? Je récupererai bien pool/, j'ai essayé, mais avec
une ligne 64K utilisée à 100% il me faudrait plusieurs semaines pour
mirrorer entièrement pool/... Le temps pour tous les packages d'être
updatés :-(

Merci d'avance !

--
Jean-Christophe Boggio                       
cat@thefreecat.org                           -o)
Independant Consultant and Developer         /\\
Delphi, Linux, Perl, PostgreSQL, Debian     _\_V



Reply to: