Re: Mirror set up
On Wed, 21 Apr 2004 11:05:22 -0300, UnKnown wrote in message
<[🔎] 20040421140522.GA28516@burst.fcien.edu.uy>:
> Hi ppl,
> I'm mirroring the debian server to simplify instalation and
> uptdate
> in my network, everything goes fine though I have some doubts, and one
> little problem.
> I'm making the mirror for i386 and hurd but I'm having several
> files/dirs for other architectures. All of them start in a directory
> like this
>
> dist/sid/main/installer-sparc
> dist/sid/main/installer-s390
> and so on
>
> I've the following exclude set:
>
>
> EXCLUDE=" --exclude binary-alpha/ --exclude binary-arm/ --exclude \
> binary-m68k/ --exclude binary-powerpc/ --exclude binary-sparc/ \
> --exclude binary-ia64/ --exclude binary-mips*/ --exclude binary-hppa/
> \--exclude binary-sh/ --exclude binary-s390/ \
> --exclude *_alpha.deb --exclude *_arm.deb \
> --exclude *_m68k.deb --exclude *_powerpc.deb --exclude *_sparc.deb \
> --exclude *_ia64.deb --exclude *_hppa.deb --exclude *_sh.deb \
> --exclude *_mips.deb --exclude *_mipsel.deb --exclude *_s390.deb
> --exclude disks-alpha/ --exclude disks-arm/ \
> --exclude disks-ia64/ --exclude disks-m68k/ --exclude disks-mips*/ \
> --exclude disks-powerpc/ --exclude disks-s390/ --exclude
> disks-sparc/ \
..also add --excludes for the $arch.udeb's you wanna toss out.
> "
>
> If i add to this list the dirs:
>
> installer-sparc and the other, will that be enough?
..pass, ideas, anyone? Trying this:
EXCLUDE="\
--exclude binary-alpha/ \
--exclude binary-arm/ \
# --exclude binary-i386/ \
--exclude binary-m68k/ \
--exclude binary-powerpc/ \
--exclude binary-sparc/ \
--exclude binary-ia64/ \
--exclude binary-mips*/ \
--exclude binary-hppa/ \
--exclude binary-sh/ \
--exclude binary-s390/ \
--exclude binary-hurd-i386/ \
--exclude *_alpha.deb \
--exclude *_arm.deb \
# --exclude *_i386.deb \
--exclude *_m68k.deb \
--exclude *_powerpc.deb \
--exclude *_sparc.deb \
--exclude *_ia64.deb \
--exclude *_hppa.deb \
--exclude *_sh.deb \
--exclude *_mips.deb \
--exclude *_mipsel.deb \
--exclude *_s390.deb \
--exclude *_hurd-i386.deb \
--exclude disks-alpha/
--exclude disks-arm/ \
# --exclude disks-i386/ \
--exclude disks-ia64/ \
--exclude disks-hppa/ \
--exclude disks-m68k/ \
--exclude disks-mips*/ \
--exclude disks-powerpc/ \
--exclude disks-s390/ \
--exclude disks-sparc/ \
# --exclude stable/ \
# --exclude testing/ \
# --exclude unstable/ \
# --exclude source/ \
# --exclude *.orig.tar.gz \
# --exclude *.diff.gz \
# --exclude *.dsc \
# --exclude /contrib/ \
# --exclude /non-free/ \
--exclude installer-alpha/ \
--exclude installer-arm/ \
# --exclude installer-i386/ \
--exclude installer-hppa/ \
--exclude installer-ia64/ \
--exclude installer-m68k/ \
--exclude installer-mips*/ \
--exclude installer-powerpc/ \
--exclude installer-s390/ \
--exclude installer-sparc/ \
"
...and then this:
--exclude sid/installer-hppa/ \
--exclude sid/installer-ia64/ \
--exclude sid/installer-m68k/ \
--exclude sid/installer-mips*/ \
--exclude sid/installer-powerpc/ \
--exclude sid/installer-s390/ \
--exclude sid/installer-sparc/ \
...bought me _all_ installer-$ARCH's, also the Sarge ones.
> Shuld I delete those dirs, place the excludes and the rerune the
> anonftpsync script, or do i need to do something else.
..afaik, yes.
> And if I wont to add another arch. do I only need to remove the
> excludes and thats all ?
..afaik, yes.
> Well may be those are silly questions but I just wont to do it the
> right way.
..bull.
--
..med vennlig hilsen = with Kind Regards from Arnt... ;-)
...with a number of polar bear hunters in his ancestry...
Scenarios always come in sets of three:
best case, worst case, and just in case.
Reply to: