affin de pouvoir installer et maintenir un certain nombre de pc qui n’ont pas accès au net j’ai décidé de maintenir un miroir des dépôts que j’utilise avec apt-mirror. Tout marche très bien pour les dépôts officiels mais pas pour certains dépôts :
[code][root@phil-debian:~]#cat /etc/apt/mirror.list
############# config ##################
set base_path /home/phil/mirror
set mirror_path $base_path/mirror
set skel_path $base_path/skel
set var_path $base_path/var
set cleanscript $var_path/clean.sh
set defaultarch i386
set nthreads 20
set _tilde 0
############# end config ##############
LENNY
deb http://ftp.fr.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free
deb http://download.tuxfamily.org/shames/debian-lenny/desktopfx/unstable/ ./
deb http://mirror.home-dn.net/debian-multimedia/ lenny main
deb http://www.debian-multimedia.org/ lenny main
deb http://deb.opera.com/opera/ testing non-free
clean http://ftp.fr.debian.org/debian
clean http://security.debian.org
clean http://download.tuxfamily.org/shames/debian-lenny/desktopfx/unstable
clean http://mirror.home-dn.net/debian-multimedia
clean http://www.debian-multimedia.org
clean http://deb.opera.com/opera[/code]
et je ne sais pas pourquoi, il rajoute un / qui rend l’adresse du depot fausse :
[quote][root@phil-debian:~]#apt-mirror
Downloading 24 index files using 20 threads…
Begin time: Mon Jan 7 06:42:38 2008
[20]… [19]… [18]… [17]… [16]… [15]… [14]… [13]… [12]… [11]… [10]… [9]… [8]… [7]… [6]… [5]… [4]… [3]… [2]… [1]… [0]…
End time: Mon Jan 7 06:45:52 2008
Proceed indexes: [PPPPsh: mirror.home-dn.net/debian-multimedia///dists/lenny/main/binary-i386/Packages.gz: Aucun fichier ou répertoire de ce type
apt-mirror: can’t open index in proceed_index_gz at /usr/bin/apt-mirror line 382.
[/quote]
pourtant sans le dépôt mutlimedia ça marche très bien…
