Mirroring Ubuntu
Johann Spies
jspies at sun.ac.za
Mon Jan 30 14:15:36 UTC 2006
I don't see a mailing list for ubuntu mirror-administrators so I am
asking my question on the user-list.
I have a problem with the size of the ubuntu mirror and want to mirror
the i386 and amd64 trees of ubuntu excluding the warty distribution.
The complex structure of ubuntu/debian archives makes this a non-trivial
task using rsync. So I have tried debmirror with the following
configuration:
HOST=rsync.mirrorservice.org
DISTS="warty-security,warty-updates,hoary,hoary-backports,hoary-security,hoary-updates,breezy,breezy-backports,breezy-security,breezy-updates,dapper,dapper-security,dapper-updates"
ARCHS="i386,amd64"
SECTION="main,multiverse,restricted,universe"
MIRROR_ROOT=':archive.ubuntu.com/ubuntu/'
LOCAL="/home/ftp/pub/mirrors/ubuntu.com"
METHOD="rsync"
OPTIONS="--getcontents --dry-run"
if [ -f $LOCAL/Archive-Update-in-Progress-debian ]
then
echo "Mirroring ubuntu"
echo "So exiting"
exit
fi
echo "Processing standard using $HOST"
/usr/bin/debmirror --section=$SECTION --host=$HOST --method=$METHOD
--dist=$DISTS --arch=$ARCHS $OPTIONS -r $MIRROR_ROOT $LOCAL
/bin/rm -f $LOCAL/Archive-Update-in-Progress-debian
which ends with
Download of dists/warty-security/Contents-i386.gz failed
Download of dists/warty-security/Contents-amd64.gz failed
Download of dists/warty-updates/Contents-i386.gz failed
Download of dists/warty-updates/Contents-amd64.gz failed
Download of dists/hoary-backports/Contents-i386.gz failed
Download of dists/hoary-backports/Contents-amd64.gz failed
Download of dists/hoary-security/Contents-i386.gz failed
Download of dists/hoary-security/Contents-amd64.gz failed
Download of dists/hoary-updates/Contents-i386.gz failed
Download of dists/hoary-updates/Contents-amd64.gz failed
Download of dists/breezy-backports/universe/binary-i386/Packages failed
dists/breezy-backports/universe/binary-i386/Packages failed md5sum
check
Download of dists/breezy-backports/universe/binary-amd64/Packages
failed
dists/breezy-backports/universe/binary-amd64/Packages failed md5sum
check
Download of dists/breezy-backports/universe/source/Sources failed
dists/breezy-backports/universe/source/Sources failed md5sum check,
removing
Download of dists/breezy-backports/Contents-i386.gz failed
Download of dists/breezy-backports/Contents-amd64.gz failed
Download of dists/breezy-security/Contents-i386.gz failed
Download of dists/breezy-security/Contents-amd64.gz failed
Download of dists/breezy-updates/Contents-i386.gz failed
Download of dists/breezy-updates/Contents-amd64.gz failed
Download of dists/dapper-security/Contents-i386.gz failed
Download of dists/dapper-security/Contents-amd64.gz failed
Download of dists/dapper-updates/Contents-i386.gz failed
Download of dists/dapper-updates/Contents-amd64.gz failed
Failed to download some Package, Sources, Contents or release files!
Now my questions: Is there a way do mirror just hoary, breezy and dapper
using rsync?
Regards
Johann
--
Johann Spies Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch
"The Lord knoweth how to deliver the godly out of
temptations, and to reserve the unjust unto the day of
judgment to be punished;" II Peter 2:9
More information about the ubuntu-users
mailing list