Re: mirroring just binary-i386 files
On Fri, Jun 15, 2001 at 12:24:22AM -0400, Daniel Barclay wrote:
> I'm currently using mirror, but run into a series of problems:
I don't, so here are my mirror config:
<snip>
package=Debian
#
comment=Mirroring parts of ftp.debian.org:/debian
#
site=ftp.de.debian.org
remote_dir=/debian
local_dir=/home/ftp/debian
#
remote_user=ftp
remote_password=your@e.mail.com
#
exclude_patt=(Packages-Master|Contents|binary|disks|upgrade)-(alpha|m68k|sparc|arm|hurd-i386|powerpc|mips|mipsel|sparc64|hppa|sh|s390|ia64)($|/|\.gz$)
exclude_patt+|_(alpha|m68k|sparc|arm|hurd-i386|powerpc|mips|mipsel|sparc64|hppa|sh|s390|ia64)\.
exclude_patt+|source(/|$)
exclude_patt+|^ls-lR|Packages-all-nomsdosnames\.gz$|\.orig\.tar\.gz$|\.diff\.gz$|\.dsc$||pool.*\.tar\.gz$
exclude_patt+|Packages$|^indices/md5sums$|^indices/Maintainers$
exclude_patt+|indices/msdos-name|dsync\.list$|^Archive
exclude_patt+|indices/md5sums\.gz$
#
max_delete_files=50%
max_delete_dirs=50%
save_deletes=true
save_dir=/home/ftp/pub/Old
#
ls_lR_file=ls-lR.gz
#
update_log=ftp.debian.org.log
local_dir_check=true
use_files=false
</snip>
You might want to change some settings but basicly it works fine.
> Does rsync give better control over link expansion than mirror?
The absurd_debmirror script works fine, too. Just try...
> Does some form of apt support permanently mirroring a distribution?
> (Permanently as opposed to whichever cache it is that apt asks if
> you want to purge?)
Take a look at apt-move and apt-proxy
--
Bye,
Dietmar
Reply to: