Add apt-mirror for Ubuntu 24
This commit is contained in:
@ -1,34 +0,0 @@
|
||||
############# 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
|
||||
|
||||
# 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
|
||||
|
||||
clean http://ftp.us.debian.org/debian
|
27
apt-mirror-server/etc/apt/mirror_ubn24.list
Normal file
27
apt-mirror-server/etc/apt/mirror_ubn24.list
Normal file
@ -0,0 +1,27 @@
|
||||
#### START /etc/apt/mirror.list ####
|
||||
|
||||
set base_path /DATA/repos
|
||||
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 _autoclean 1
|
||||
|
||||
set use_proxy on
|
||||
set http_proxy http://10.8.254.254:3128
|
||||
set https_proxy http://10.8.254.254:3128
|
||||
|
||||
#set postmirror_script $var_path/postmirror.sh
|
||||
set run_postmirror 0
|
||||
|
||||
set nthreads 40
|
||||
set _tilde 0
|
||||
|
||||
|
||||
deb-amd64 http://archive.ubuntu.com/ubuntu noble main restricted universe multiverse
|
||||
deb-amd64 http://archive.ubuntu.com/ubuntu noble-security main restricted universe multiverse
|
||||
deb-amd64 http://archive.ubuntu.com/ubuntu noble-updates main restricted universe multiverse
|
||||
|
||||
clean http://archive.ubuntu.com/ubuntu
|
||||
|
||||
#### End ####
|
Reference in New Issue
Block a user