[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Mirror



I have a question, not a problem.  At the bottom of my message is my config file (/etc/mirror/mirror.default) for mirror.  First off, I no it works, it d/l about 273 megs of packages, then died.  I am trying to set up a unofficial debian mirror, I pretty much I wasn¹t every i386 package (hamm, slink, non-free, contrib etc) but not any other platform.  From what I can tell, this config file *should* do that, but when I set it off, it got packages from the slink directory that were not i386 (I think it got from arm, to alpha be for it died), then be for getting any thing from hamm, it died (I don't think this was a configuration problem, but a connection problem) can any one verify that the setup up is correct?


####Begin mirror.default####

package=Debian
        #
        comment=Mirror of parts of ftp.debian.org/pub/debian
        #
        # specify remote host, directory and ls-lR file
        site=ftp.debian.org
        remote_dir=/pub/debian
        ls_lR_file=ls-lR.gz
        #
        # specify the local directory
        local_dir=/ftp/debian
        #
        # inform this user about results
        mail_to=root
        #
        # Now the nifty perl regular expressions. The '(A|B|C)' construct
        # describes alternatives A, B and C. As '.' is a meta character that
        # matches any character, we have to escape with \ in pathnames.
        # See "man perlre" for information on perl's regular expressions.
        # Compress these files.
        compress_patt=\.*(C|c)ontents(-i386)?
 compress_patt+|Packages(-Master)?|ls-lR|md5sums
        compress_patt+|Maintainers|msdos-names
        #
        # Exclude these files or directories
        # Here we exclude the released tree, all ms-dos symlinks, all source
        # packages, the private tree (but see below) and the bug tree
        exclude_patt=.*(-|_)m68k|ms-?dos(-i386)?/|source/|private/
        exclude_patt+|debian-(bugs|lists)/
        exclude_patt+|(binary|disks)-(alpha|sparc|m68k|powerpc)/
        exclude_patt+|i-connect-fixes/|ALPHA-TEST/|/core$|(I|i)ncoming/
        exclude_patt+|WebPages/|\.contents\.new|\.in\.|\.new-?|\.mirrorinfo
        exclude_patt+|Packages(-Master)?-(alpha|powerpc|sparc)
        #
        # Also exclude these.
        exclude_patt+|experimental/.*(\.(tar|diff)\.gz|\.dsc)$
        exclude_patt+|experimental/.*_(m68k|sparc|alpha|powerpc)\.deb$
        exclude_patt+|orphaned/.*(\.(tar|diff)\.gz|\.m68k\.deb|\.dsc)$
        exclude_patt+|rex(-(fixed|updates))?/
        exclude_patt+|bo/
        exclude_patt+|bo-updates/.*(\.changes|((\.orig)?\.tar|diff)\.gz|\.dsc)
        #
        exclude_patt+|\.notar
        #
# Uncomment the following lines to exclude BIG packages
        # exclude_patt+|experimental/|disks-i386/
        # exclude_patt+|xbooks_.*|picon.*|timidity.*|quake.*
        # exclude_patt+|bible-kjv.*|abuse.*|scilab.*|networker.*
        # exclude_patt+gnat_.*|xemacs.*|non-free/|contrib/
        #
        # Don't delete what is mirrored by the other mirror package below
        # NB no / at end of directory names to save directories from deletion
        # also save private/project directory (which contains Incoming)
        #
        delete_excl=(local|debian-non-US)(/|$)
        #
        # Do not delete if more than 20% of all files would vanish
        max_delete_files=20%


#package=Debian-non-US
#I do not need non-US, so it is commented out.
        #
        #comment=Mirror of nonus.debian.org:/pub/debian-non-US/binary-i386
        #
        # site and directory
        #
        #site=nonus.debian.org
#remote_dir=/pub/debian-non-US/
        #
        # mirror it into /mirror/debian
        #local_dir=/ftp/debian/debian-non-US/
        #
        # inform this user about results
        #mail_to=root
        #
        #compress_patt=\.*Contents$
        #compress_patt+|Packages(-Master)?$
        #compress_patt+||ls-lR|contents|md5sums|Maintainers|msdos-names$
        #
        #exclude_patt=Incoming/|source/
        #exclude_patt+|binary-(alpha|sparc|m68k|powerpc)/
        #
        #do_deletes=true

####End####

Thanks,

           -Matt-


kopishke@midcoast.com
http://www.midcoast.com/~kopishke
http://169.244.147.29                   MSAD#40 Home Page
http://169.244.147.29/ss/            MVHS Seed Savers Project
http://169.244.147.29/MVCUG/    Medomak Valley Computer User Group
       --------------------------------------------------
      | *To see tomorrow's PC, Look at todays Macintosh* |
      |*If it says "Windows 95 or better" install Linux!*|
       --------------------------------------------------


Reply to: