I have set up an internal Debian mirror on my home LAN. The mirroring script I run is at the end of this message. Note that I do exclude architectures other than the i386.
When I download the sarge .jigdo files from http://cdimage.debian.org/pub/cdimage-testing/cd/jigdo-area/, and run jigdo-mirror with the .jigdo-mirror file included below, there are a multitude of missing files - I'll leave out that list unless someone needs it to help troubleshoot. What am I doing wrong, and/or how do I get the jigdo-mirror to work off the local mirror? I have been able to do network installations for weeks, but a out-of-work friend without net access is looking for CD's, so I need to build the ISO images and burn them. It seems silly to download .iso files from the net when I *should* have everything I need on the local ftp server. --JATF ------------Start .jigdo-mirror file--------- jigdoDir="/home/samba/noraid/mirrors/jigdo-area" imageDir="/home/samba/noraid/mirrors/iso" tmpDir="/home/samba/noraid/mirrors" debianMirror="file:/home/samba/noraid/mirrors/debian" nonusMirror="file:/home/samba/noraid/mirrors/debian-non-US" ------------Stop .jigdo-mirror file---------- ------------Start Mirror Script------------ #!/bin/bash DEB=1 DEBNONUS=1 DEBSEC=1 if [ "$1" = "-d" ]; then echo "Updating US Mirror" DEBSEC=0 DEBNONUS=0 elif [ "$1" = "-n" ]; then echo "Updating Non-US Mirror" DEB=0 DEBSEC=0 elif [ "$1" = "-s" ]; then echo "Updating Security Mirror" DEB=0 DEBNONUS=0 elif [ "$1" = "-a" ]; then echo "Updating All Mirrors." else echo "usage: mirror_update <-d|-n|-s|-a> [-p]" echo " -d Update Debian Mirror" echo " -n Update Debian-non-US Mirror" echo " -s Update Debian-security Mirror" echo " -a Update All 3 mirrors" echo " -p Pretend - Don't actually copy anything" exit 0 fi USMIRROR=rsync://ftp.nl.debian.org/debian USDEST=/home/samba/noraid/mirrors/debian NONUSMIRROR=rsync://nonus.debian.org/debian-non-US NONUSDEST=/home/samba/noraid/mirrors/debian-non-US SECMIRROR=rsync://security.debian.org/debian-security SECDEST=/home/samba/noraid/mirrors/debian-security EXCLUDE="\ --exclude binary-alpha/ --exclude binary-arm/ \ --exclude binary-m68k/ --exclude binary-powerpc/ --exclude binary-sparc/ \ --exclude binary-ia64/ --exclude binary-mips*/ --exclude binary-hppa/ \ --exclude binary-s390/ \ --exclude binary-hurd-i386/ \ --exclude *_alpha.deb --exclude *_arm.deb \ --exclude *_m68k.deb --exclude *_powerpc.deb --exclude *_sparc.deb \ --exclude *_ia64.deb --exclude *_hppa.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-powerpc/ --exclude disks-s390/ --exclude disks-sparc/ \ --exclude potato --exclude slink" # --exclude *_sh.deb \ # --exclude binary-sh/ \ # --exclude source/ \ #EXCLUDE= if [ "$2" = "-p" ]; then EXCLUDE="$EXCLUDE --dry-run" fi if [ $DEB = 1 ]; then rsync -vrtlHz --progress --delete-after $EXCLUDE $USMIRROR $USDEST fi if [ $DEBNONUS = 1 ]; then rsync -vrtlHz --progress --delete-after $EXCLUDE $NONUSMIRROR $NONUSDEST fi if [ $DEBSEC = 1 ]; then rsync -vrtlHz --progress --delete-after $EXCLUDE $SECMIRROR $SECDEST fi -----------End Mirror Script-------------