# apt-mirror configuration file
## The default configuration options (uncomment and change to override)
set base_path /srv/data/apt-mirror/ubuntu
set mirror_path $base_path/mirror
set skel_path $base_path/skel
set var_path $base_path/var
## set defaultarch <running host architecture>
set nthreads 20
set _tilde 0
set defaultarch amd64
## mirror sources
#ubuntu14.04
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
#ubuntu15.10
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ wily main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ wily-security main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ wily-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ wily-proposed main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ wily-backports main restricted universe multiverse
## Cleaner configuration example
# set cleanscript $var_path/clean.sh
# Cleaning section
clean https://mirrors.tuna.tsinghua.edu.cn/ubuntu
转载于:https://www.cnblogs.com/tchroot/p/10784371.html