how to rsync the ubuntu-mirrors?

David Bartley dtbartle at csclub.uwaterloo.ca
Thu Apr 30 04:08:12 BST 2009


Hi,

Do 'apt-get clean && apt-get update' first to see if that fixes the problem.

Are you just using rsync directly to sync? You probably want to do a
two-stage sync, due to the way debian/ubuntu archives are setup.
There's a script (ftpsync) that you can use to properly mirror [1].

[1] http://www.debian.org/mirror/ftpmirror

-- David

On Wed, Apr 29, 2009 at 7:26 PM, sankergg <sankergg at gmail.com> wrote:
> hello everyone,
> I have a local rsync mirror,and there is a cron task every 12 hours  to exec
> rsync with the rsync url
> "rsync://ftp.yz.yamagata-u.ac.jp/pub/linux/ubuntu/archives/ ".  And it works
> well.
> But when I do "apt-get update",it displays the the flowing word:
> """
> W: Failed to fetch http://192.168.5.224/ubuntu/dists/hardy-updates/main/binary-i386/Packages.bz2  Hash Sum mismatch
> W: Failed to fetch http://192.168.5.224/ubuntu/dists/hardy-updates/main/source/Sources.bz2  Hash Sum mismatch
> W: Failed to fetch http://192.168.5.224/ubuntu/dists/hardy-updates/universe/binary-i386/Packages.bz2  Hash Sum mismatch
> W: Failed to fetch http://192.168.5.224/ubuntu/dists/hardy-updates/universe/source/Sources.bz2  Hash Sum mismatch
> W: Failed to fetch http://192.168.5.224/ubuntu/dists/hardy-updates/multiverse/binary-i386/Packages.bz2  Hash Sum mismatch
> W: Failed to fetch http://192.168.5.224/ubuntu/dists/hardy-updates/multiverse/source/Sources.bz2  Hash Sum mismatch
> W: Failed to fetch http://192.168.5.224/ubuntu/dists/hardy-backports/main/binary-i386/Packages.bz2  Hash Sum mismatch
> W: Failed to fetch http://192.168.5.224/ubuntu/dists/hardy-backports/universe/binary-i386/Packages.bz2  Hash Sum mismatch
> W: Failed to fetch http://192.168.5.224/ubuntu/dists/hardy-backports/multiverse/binary-i386/Packages.bz2  Hash Sum mismatch
> W: Failed to fetch http://192.168.5.224/ubuntu/dists/hardy-backports/main/source/Sources.bz2  Hash Sum mismatch
> W: Failed to fetch http://192.168.5.224/ubuntu/dists/hardy-backports/universe/source/Sources.bz2  Hash Sum mismatch
> W: Failed to fetch http://192.168.5.224/ubuntu/dists/hardy-security/main/binary-i386/Packages.bz2  Hash Sum mismatch
> W: Failed to fetch http://192.168.5.224/ubuntu/dists/hardy-security/restricted/binary-i386/Packages.bz2  Hash Sum mismatch
> W: Failed to fetch http://192.168.5.224/ubuntu/dists/hardy-security/main/source/Sources.bz2  Hash Sum mismatch
> W: Failed to fetch http://192.168.5.224/ubuntu/dists/hardy-security/restricted/source/Sources.bz2  Hash Sum mismatch
> W: Failed to fetch http://192.168.5.224/ubuntu/dists/hardy-security/universe/binary-i386/Packages.bz2  Hash Sum mismatch
> W: Failed to fetch http://192.168.5.224/ubuntu/dists/hardy-security/universe/source/Sources.bz2  Hash Sum mismatch
> W: Failed to fetch http://192.168.5.224/ubuntu/dists/hardy-security/multiverse/binary-i386/Packages.bz2  Hash Sum mismatch
> E: Some index files failed to download, they have been ignored, or old ones used instead.
> """
> Is there anyone who know? I can not fix it , and some Packages can not be
> used!
> Help!!
> Thank you all.
>
> From a fresh ubuntu administrator.
>
>
>
> ________________________________
> sankergg
> 2009-04-30
> ________________________________
> --
> ubuntu-mirrors mailing list
> ubuntu-mirrors at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-mirrors
>
>



More information about the ubuntu-mirrors mailing list