[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debianmirror with rsync



Lars Staun Knudsen a écrit :

> Hi

Hi,

>
> I'm trying to create a locale debmirror for powerpc and i386. I'm
> using the script published at debian.org. First i executed the
> script with only ARCH_EXCLUDE defined:
> ARCH_EXCLUDE="alpha amd64 arm hppa hurd-i386 ia64 m68k mipsel mips
> s390 sparc"

Have you try the debmirror package? It can create and update a mirror
with a single command. Here an example:

debmirror [--ignore-release-gpg] -e rsync -h ftp.debian.org -r :debian
-d etch,sarge,sid -s main,non-free,contrib -a i386,powerpc -p --nosource
/path/to/mirror

cu.

>
> But 22 gigs and 24 hours later i started to notice packagenames that
> includes "*_arm","kernel-image-2.4.17-s390" and etc... So i decided
> to stop the script and try it with a more defined exclude-list.
> Although the way i read the guide "ARCH_EXCLUDE" should be enough.
>
> EXCLUDE="\
>   --exclude binary-alpha/ --exclude binary-arm/ \
>   --exclude binary-m68k/  --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 *_m68k.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-ia64/ --exclude disks-m68k/ --exclude disks-mips*/  \
>   --exclude disks-s390/  --exclude disks-sparc/ \
>  "
>
> But then the log was a bit messy..
> rsync: mkstemp "/Lager/mirror/pool/main/i/....." failed: No space
> left on device (28)
>
> So what now..? Run the script with only "ARCH_EX.." or delete 23
> gigs and start all over..? Googling the log error gives to many hits
> that tells me notice, so dont hold back...
>
> Debianguide:
> http://www.debian.org/mirror/ftpmirror
> debianscript:
> http://www.debian.org/mirror/anonftpsync
>
> --
> /Lars



Reply to: