ich habe hier ein kleines Problem mit debmirror. Und zwar mit der rsync Option und der Übergabe einer maximalen Bandbreite.
Sobald ich über --rsync-options=$ROPTS" ein Limit setze ladet er nichts mehr runter und bringt folgende Fehler:
Code: Alles auswählen
Errors:
dists/unstable/main/binary-i386/Packages.gz failed md5sum check
Download of dists/unstable/main/binary-i386/Packages failed
dists/unstable/main/binary-i386/Packages failed md5sum check
Download of dists/unstable/main/binary-i386/Packages.bz2 failed
.....
Failed to download some Package, Sources or Release files!
WARNING: releasing 1 pending lock...
Code: Alles auswählen
#!/bin/sh
DEB_MIRROR=/mnt/pub/debianmirror/
DEB_HOST=ftp.de.debian.org
DEB_ROOT=:debian/
DEB_DIST=stable,testing,unstable
DEB_SECT=main,contrib,non-free
DEB_ARCH=i386
ROPTS="--bwlimit=50"
DEB_OPT="--verbose --debug --progress --method=rsync --passive --nosource --cleanup --getcontents --ignore-release-gpg --rsync-options=$ROPTS"
debmirror $DEB_MIRROR --host=$DEB_HOST --arch=$DEB_ARCH --dist=$DEB_DIST --root=$DEB_ROOT --section=$DEB_SECT $DEB_OPT
Nutzt hier jemand debmirror über rsync mit bwlimit? Entweder da ist irgendwo ein Syntaxfehler drin oder das Teil funktioniert einfach nicht richtig.