debmirror mit rsync und bwlimit funktioniert nicht!

Einrichten des lokalen Netzes, Verbindung zu anderen Computern und Diensten.
Antworten
Athlux
Beiträge: 543
Registriert: 16.05.2004 22:15:56

debmirror mit rsync und bwlimit funktioniert nicht!

Beitrag von Athlux » 29.02.2008 19:46:36

Hi,

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...
Hier ist das Skript welches ich ausführe:

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
Kommentiere ich hier --rsync-options aus ladet er Pakete runter.

Nutzt hier jemand debmirror über rsync mit bwlimit? Entweder da ist irgendwo ein Syntaxfehler drin oder das Teil funktioniert einfach nicht richtig.
Gruß Athlux

Antworten