>>>>> " " == Otto Wyss <[EMAIL PROTECTED]> writes:

     > I want to mirror any i386 packages from a debian package mirror
     > with the following command

     > rsync -avvP --include-from="file"
     > ftp.at.debian.org::debian-ftp/debian-non-US/pool/non-US/main
     > /mirror/debian/non-US/main

     > while "file" contains

     > +"_all" +"_i386" -"*" +"*/"

     > But the -"*" does not work, all files were mirrored! What's
     > wrong?

You must exclude unwanted files, which is somehow complicated to
explain how it exaclty works and is currently discuessed in other
mails here. maybe some expert can shed some light on it for us.

     > Is there a better way to mirror just one architecture (i386)
     > from a debian mirror?

put those two in your /etc/apt/sources.list:

deb ftp://rut.informatik.uni-tuebingen.de/ unstable main
deb-src ftp://rut.informatik.uni-tuebingen.de/ unstable main

and then

apt-get install debian-mirror

I'm currently adding configuration via debconf to it and doing some
cleanup to the code but take a look at the script to see how to
partially mirror debian.

MfG
        Goswin

PS: Near the end the pools get mirrored with --include-from and --exclude options 
(which should not work with rsync >=2.4.0 but does) in this way.

Reply via email to