############# 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://archive.ubuntu.com/ubuntu artful main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu artful-security main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu artful-updates main restricted universe multiverse #deb http://archive.ubuntu.com/ubuntu artful-proposed main restricted universe multiverse #deb http://archive.ubuntu.com/ubuntu artful-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu artful main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu artful-security main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu artful-updates main restricted universe multiverse #deb-src http://archive.ubuntu.com/ubuntu artful-proposed main restricted universe multiverse #deb-src http://archive.ubuntu.com/ubuntu artful-backports main restricted universe multiverse
clean http://archive.ubuntu.com/ubuntu
设置项不做修改,把源改成国内比较快的
1 2 3 4 5
...
deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
# You can set the default proxies for Wget to use for http, https, and ftp. # They will override the value in the environment. #https_proxy = http://proxy.yoyodyne.com:18023/ #http_proxy = http://proxy.yoyodyne.com:18023/ #ftp_proxy = http://proxy.yoyodyne.com:18023/
# If you do not want to use proxy at all, set this to off. #use_proxy = on