pedretti75 | Bonjour.
je remonte ce problème, mais le mien est un peu différent, je m'explique :
J'utilise mkdebmirror pour construire mon mirroir, (qui lui même utilise debmirror)
le script est :
Code :
- #! /bin/sh
- # $Id: mkdebmirror,v 1.20 2005/04/06 19:57:04 lange Exp $
- # Thomas Lange, lange@informatik.uni-koeln.de, (c) 2001-2004
- # create partitial debian mirror using command debmirror(1) and rsync
- # - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- rsync_disks() {
- # get the boot disks
- rsync --delete -av $2::debian/dists/$1/main/disks-$arch $destdir/debian/dists/$1/main/
- }
- # - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- update_from() {
- # update local mirror from a host
- host=$1
- allopt="$debug --ignore-missing-release --ignore-release-gpg --passive --getcontents --nosource --arch=$arch --ignore=disks-$arch/"
- defopt="$allopt --host=$host --dist=$dist"
- echo "------------------ create mirror for debian ------------------"
- debmirror $destdir/debian $defopt
- echo "------------------ create mirror for debian-non-US ------------------"
- debmirror $destdir/debian-non-US $defopt -r /debian-non-US -s non-US/main,non-US/contrib,non-US/non-free
- }
- # - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- # main program
- #
- # here you have to adjust the hostnames of the mirror and the names of the distributions
- debug="$@"
- arch=i386
- dist=sarge,sarge-proposed-updates
- destdir=/usr/debmirror
- # first sync from a mirror near to you
- update_from ftp2.fr.debian.org
|
et lors que j'exécute mon script "mkdebmirror" j'ai :
Code :
- ------------------ create mirror for debian ------------------
- Mirroring to /usr/debmirror/debian from ftp://anonymous:ftp2.fr.debian.org//debian/
- Arches: i386
- Dists: sarge,sarge-proposed-updates
- Sections: main,contrib,non-free,main/debian-installer
- Passive mode on.
- Attempting to get lock, this might take 2 minutes before it fails.
- Get Release files.
- [0%] Keeping: dists/sarge/Release
- [0%] Keeping: dists/sarge/Release.gpg
- gpg: Signature made Mon May 16 21:34:38 2005 CEST using DSA key ID 4F368D5D
- gpg: Good signature from "Debian Archive Automatic Signing Key (2005) <ftpmaster@debian.org>"
- gpg: WARNING: This key is not certified with a trusted signature!
- gpg: There is no indication that the signature belongs to the owner.
- gpg: Fingerprint: 4C7A 8E5E 9454 FE3F AE1E 78AD F1D5 3D8C 4F36 8D5D
- [0%] Keeping: dists/sarge-proposed-updates/Release
- [0%] Keeping: dists/sarge-proposed-updates/Release.gpg
- gpg: Signature made Mon May 16 21:34:38 2005 CEST using DSA key ID 4F368D5D
- gpg: Good signature from "Debian Archive Automatic Signing Key (2005) <ftpmaster@debian.org>"
- gpg: WARNING: This key is not certified with a trusted signature!
- gpg: There is no indication that the signature belongs to the owner.
- gpg: Fingerprint: 4C7A 8E5E 9454 FE3F AE1E 78AD F1D5 3D8C 4F36 8D5D
- Get Packages and Sources files and other miscellany.
- [0%] Keeping: dists/sarge/Contents-i386.gz
- Parse Packages and Sources files and add to the file list everything therein.
- Cleanup mirror.
- Download all files that we need to get (1 MiB).
- Downloaded 8 MiB in 17s at 481.87 kiB/s
- Everything OK. Moving meta files.
- All done.
- ------------------ create mirror for debian-non-US ------------------
- Mirroring to /usr/debmirror/debian-non-US from ftp://anonymous:ftp2.fr.debian.org//debian-non-US/
- Arches: i386
- Dists: sarge,sarge-proposed-updates
- Sections: non-US/main,non-US/contrib,non-US/non-free
- Passive mode on.
- Attempting to get lock, this might take 2 minutes before it fails.
- Get Release files.
- [0%] Getting: dists/sarge/Release failed:dists/sarge/Release: No such file or directory
- dists/sarge/Release failed md5sum check, removing
- [0%] Getting: dists/sarge/Release.gpg failed:dists/sarge/Release.gpg: No such file or directory
- dists/sarge/Release.gpg failed md5sum check, removing
- Release signature does not verify.
- [0%] Getting: dists/sarge-proposed-updates/Release failed:dists/sarge-proposed-updates/Release: No such file or directory
- ....etc... (suite d'erreur identique)
|
Pour le mirroir "debian", ca va je pense.
Le problème pour debian-nonUS est qu'il cherche a rappatrier "dists/sarge/Release" au lieu de "dists/sarge/non-US/Release".
Et je ne vois pas comment le changer dans les paramètres... Message édité par pedretti75 le 17-05-2005 à 15:36:34
|