apt-mirror (1) - Linux Manuals

apt-mirror: apt sources mirroring tool

NAME

apt-mirror - apt sources mirroring tool

SYNOPSIS

apt-mirror [configfile]

DESCRIPTION

A small and efficient tool that lets you mirror a part of or the whole Debian GNU/Linux distribution or any other apt sources.

Main features:
 It uses a config similar to apts sources.list
 It's fully pool comply
 It supports multithreaded downloading
 It supports multiple architectures at the same time
 It can automatically remove unneeded files
 It works well on overloaded channel to internet
 It never produces an inconsistent mirror including while mirroring
 It works on all POSIX complied systems with perl and wget

COMMENTS

apt-mirror uses /etc/apt-mirror.list as a configuration file. By default it is tuned to official debian mirror in Finland. Change it for your needs.

After you setup the configuration file you may run as root:

    # su - apt-mirror -c apt-mirror

Or uncomment line in /etc/cron.d/apt-mirror to enable daily mirror upgrades.

FILES

/etc/apt-mirror.list
  Main configuration file

/etc/cron.d/apt-mirror
  Cron configuration template

/var/spool/apt-mirror/mirror
  Mirror places here

/var/spool/apt-mirror/skel
  Place for temporarily downloaded indexes

/var/spool/apt-mirror/var
  Log files placed here. URLs and MD5 summs also here.

KNOWN BUGS

Do not specify default http port (80) explicitly. (i.e. deb http://server:80/ sid ...)

AUTHOR

Dmitry N. Hramtsov <hdn [at] nsu.ru>