Created
January 30, 2015 06:05
-
-
Save chusiang/a822e39970e4dbe1ecf8 to your computer and use it in GitHub Desktop.
apt-mirror for Debian 7 / Ubuntu 12.04, 14.04 and other.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############# config ################## | |
# | |
set base_path /var/spool/apt-mirror | |
# | |
set mirror_path $base_path/mirror | |
set skel_path $base_path/skel | |
set var_path $base_path/var | |
# set cleanscript $var_path/clean.sh | |
# set defaultarch <running host architecture> | |
# set postmirror_script $var_path/postmirror.sh | |
# set run_postmirror 0 | |
set nthreads 20 | |
set _tilde 0 | |
# | |
############# end config ############## | |
#deb http://ftp.us.debian.org/debian unstable main contrib non-free | |
#deb-src http://ftp.us.debian.org/debian unstable main contrib non-free | |
#deb http://opensource.nchc.org.tw/debian wheezy main | |
#deb-src http://opensource.nchc.org.tw/debian wheezy main | |
#deb http://security.debian.org wheezy/updates main | |
#deb-src http://security.debian.org wheezy/updates main | |
#deb http://ftp.debian.org/debian wheezy-updates main | |
#deb-src http://ftp.debian.org/debian wheezy-updates main | |
# mirror additional architectures | |
#deb-alpha http://ftp.us.debian.org/debian unstable main contrib non-free | |
#deb-amd64 http://ftp.us.debian.org/debian unstable main contrib non-free | |
#deb-armel http://ftp.us.debian.org/debian unstable main contrib non-free | |
#deb-hppa http://ftp.us.debian.org/debian unstable main contrib non-free | |
#deb-i386 http://ftp.us.debian.org/debian unstable main contrib non-free | |
#deb-ia64 http://ftp.us.debian.org/debian unstable main contrib non-free | |
#deb-m68k http://ftp.us.debian.org/debian unstable main contrib non-free | |
#deb-mips http://ftp.us.debian.org/debian unstable main contrib non-free | |
#deb-mipsel http://ftp.us.debian.org/debian unstable main contrib non-free | |
#deb-powerpc http://ftp.us.debian.org/debian unstable main contrib non-free | |
#deb-s390 http://ftp.us.debian.org/debian unstable main contrib non-free | |
#deb-sparc http://ftp.us.debian.org/debian unstable main contrib non-free | |
# ---- mirror of Debian Wheezy ---- | |
# - debian | |
deb-amd64 http://opensource.nchc.org.tw/debian wheezy main contrib non-free | |
deb-amd64 http://opensource.nchc.org.tw/debian wheezy-updates main contrib non-free | |
deb-amd64 http://opensource.nchc.org.tw/debian wheezy-backports main | |
deb-amd64 http://opensource.nchc.org.tw/debian wheezy-proposed-updates main | |
deb-amd64 http://security.debian.org/ wheezy/updates main contrib non-free | |
deb-i386 http://opensource.nchc.org.tw/debian wheezy main contrib non-free | |
deb-i386 http://opensource.nchc.org.tw/debian wheezy-updates main contrib non-free | |
deb-i386 http://opensource.nchc.org.tw/debian wheezy-backports main | |
deb-i386 http://opensource.nchc.org.tw/debian wheezy-proposed-updates main | |
deb-i386 http://security.debian.org/ wheezy/updates main contrib non-free | |
# - mate | |
deb-amd64 ftp://ftp.ubuntu-tw.org/mirror/mate-desktop/debian wheezy main | |
# - iceweasel | |
deb-amd64 http://mozilla.debian.net/ wheezy-backports iceweasel-release | |
# - hime | |
deb-amd64 http://debian.luna.com.tw/wheezy ./ | |
# - jenkins | |
deb-amd64 http://pkg.jenkins-ci.org/debian binary/ | |
# - ceph | |
deb-amd64 http://ceph.com/debian/ wheezy main | |
# ---- mirror of Ubuntu Precise ---- | |
# - ubuntu | |
# - 12.04 | |
deb-amd64 http://tw.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse | |
deb-amd64 http://tw.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse | |
deb-amd64 http://tw.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse | |
deb-amd64 http://tw.archive.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse | |
deb-amd64 http://tw.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse | |
deb-i386 http://tw.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse | |
deb-i386 http://tw.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse | |
deb-i386 http://tw.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse | |
deb-i386 http://tw.archive.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse | |
deb-i386 http://tw.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse | |
# - 14.04 | |
deb-amd64 http://tw.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse | |
deb-amd64 http://tw.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse | |
deb-amd64 http://tw.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse | |
deb-amd64 http://tw.archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse | |
deb-amd64 http://tw.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse | |
deb-i386 http://tw.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse | |
deb-i386 http://tw.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse | |
deb-i386 http://tw.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse | |
deb-i386 http://tw.archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse | |
deb-i386 http://tw.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse | |
# - ubuntu extras | |
# - 12.04 | |
deb-amd64 http://extras.ubuntu.com/ubuntu precise main | |
deb-i386 http://extras.ubuntu.com/ubuntu precise main | |
deb-amd64 http://dell.archive.canonical.com/updates/ precise-dell public | |
deb-i386 http://dell.archive.canonical.com/updates/ precise-dell public | |
# - 14.04 | |
deb-amd64 http://extras.ubuntu.com/ubuntu trusty main | |
deb-i386 http://extras.ubuntu.com/ubuntu trusty main | |
deb-amd64 http://dell.archive.canonical.com/updates/ trusty-dell public | |
deb-i386 http://dell.archive.canonical.com/updates/ trusty-dell public | |
#clean http://ftp.us.debian.org/debian | |
clean http://opensource.nchc.org.tw/ | |
clean http://security.debian.org/ | |
clean ftp://ftp.ubuntu-tw.org/ | |
clean http://mozilla.debian.net/ | |
clean http://debian.luna.com.tw/ | |
clean http://pkg.jenkins-ci.org/ | |
clean http://ceph.com/ | |
clean http://tw.archive.ubuntu.com/ | |
clean http://extras.ubuntu.com/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment