Re: Où trouver un doc pour créer un dépôt mirroir?
Le Wed, 12 Jan 2011 10:04:36 +0100, Olivier PAVILLA a écrit :
>
> Bonjour.
>
> J'essaie de mettre en place un dépôt miroir sur mon réseau local.
> J'ai essayé 3 ou 4 docs :
> apt-mirror de Kent Miller
> http://www.debian-fr.org/gerer-un-reseau-sans-internet-t23915.html
> http://www.technoaddict.fr/index.php/2009/11/creer-son-miroir-local-ubuntu-et-debian/
> Mais ca merde tout le temps à la fin du tutos. Je me retrouve avec des
> erreurs à la ligne machin dans apt-mirror.
> Où trouver un *bonne* doc pour créer un dépôt mirroir?
Bonjour,
Il aurait été effectivement souhaitable de nous dire ce qui
"merdait" ?
Voici un exemple de fichiers, pour Debian et Ubuntu (attention!
certaines entrées sont sur deux lignes):
*Pour Debian*:
# cat apt-mirror-configuration-debian
set base_path /media/MIROIR/miroir
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 5
set tilde 0
## SID
deb http://ftp.fr.debian.org/debian/ unstable main contrib non-free
deb
http://download.tuxfamily.org/shames/debian-sid/desktopfx/unstable/ ./
deb http://deb.opera.com/opera/ sid non-free
deb http://scenari-platform.org/deb/ sid main
deb http://mirror.home-dn.net/debian-multimedia sid main
deb http://download.tuxfamily.org/xcfaudio/xcfa/ dev contrib
deb-amd64 http://ftp.fr.debian.org/debian/ unstable main contrib
non-free
deb-amd64 http://mirror.home-dn.net/debian-multimedia sid
main
## STABLE
deb http://ftp.fr.debian.org/debian/ stable main contrib non-free
deb http://deb.opera.com/opera/ stable non-free
deb http://mirror.home-dn.net/debian-multimedia stable main
deb http://security.debian.org/debian-security stable/updates main
contrib non-free
deb http://ftp.fr.debian.org/debian stable-proposed-updates main
contrib non-free
deb-amd64 http://ftp.fr.debian.org/debian/ stable main contrib
non-free
deb-amd64 http://mirror.home-dn.net/debian-multimedia stable
main
##VOLATILE
deb http://volatile.debian.org/debian-volatile/ lenny/volatile main
contrib non-free
deb http://volatile.debian.org/debian-volatile/
lenny-proposed-updates/volatile main contrib non-free
##NETTOYAGE
clean http://security.debian.org/debian-security
clean http://ftp.fr.debian.org/debian/
clean
http://download.tuxfamily.org/shames/debian-sid/desktopfx/unstable/
clean http://download.tuxfamily.org/xcfaudio/xcfa/
clean http://scenari-platform.org/deb
clean http://mirror.home-dn.net/debian-multimedia
clean http://deb.opera.com/opera/
clean http://volatile.debian.org/debian-volatile
*Pour Ubuntu* (utiliser pour des install party):
# cat /media/MIROIR/miroir/apt-mirror-configuration-ubuntu
set base_path /media/MIROIR/miroir
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 5
set _tilde 0
deb http://fr.archive.ubuntu.com/ubuntu maverick main restricted
universe multiverse
deb http://fr.archive.ubuntu.com/ubuntu maverick-security main
restricted universe multiverse
deb http://fr.archive.ubuntu.com/ubuntu maverick-updates main
restricted universe multiverse
deb http://fr.archive.ubuntu.com/ubuntu maverick-proposed main
restricted universe multiverse
deb http://fr.archive.ubuntu.com/ubuntu maverick-backports main
restricted universe multiverse
deb http://security.ubuntu.com/ubuntu maverick-security main
restricted universe multiverse
deb http://deb.opera.com/opera/ sid non-free
deb http://fr.archive.ubuntu.com/ubuntu maverick
main/debian-installer restricted/debian-installer
universe/debian-installer multiverse/debian-installer deb
http://fr.archive.ubuntu.com/ubuntu maverick-updates
main/debian-installer universe/debian-installer deb
http://fr.archive.ubuntu.com/ubuntu maverick-security
main/debian-installer deb http://fr.archive.ubuntu.com/ubuntu
maverick-proposed main/debian-installer universe/debian-installer
deb http://archive.canonical.com/ubuntu maverick partner
deb http://extras.ubuntu.com/ubuntu maverick main
deb http://download.tuxfamily.org/gericom/libreoffice /
set cleanscript $var_path/clean.sh
##Utile pour les install party
skip-clean
http://archive.ubuntu.com/ubuntu/dists/maverick/main/dist-upgrader-all
skip-clean
http://archive.ubuntu.com/ubuntu/dists/maverick-proposed/main/dist-upgrader-all
skip-clean
http://archive.ubuntu.com/ubuntu/dists/maverick-updates/main/dist-upgrader-all
skip-clean http://changelogs.ubuntu.com
clean http://fr.archive.ubuntu.com/ubuntu
clean http://security.ubuntu.com/ubuntu
clean http://deb.opera.com/opera
clean http://archive.canonical.com/ubuntu
clean http://extras.ubuntu.com/ubuntu
clean http://download.tuxfamily.org/gericom/libreoffice
A+
--
Px
Reply to: