把Ubuntu系统自带的源修改为国内的源,中科大源链接:https://mirrors.ustc.edu.cn/repogen/...

https://mirrors.ustc.edu.cn/repogen/

 

Tips: 可通过 URL 的形式直接下载配置. 例如:

https://mirrors.ustc.edu.cn/repogen/conf/debian-http-6-sid
https://mirrors.ustc.edu.cn/repogen/conf/archlinux-https-4

Archlinux (/etc/pacman.d/mirrorlist):                 HTTPS                 HTTP                               IPv4                 IPv6               Download

 
Server = https://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch

Debian (/etc/apt/sources.list):                 HTTPS                 HTTP                               IPv4                 IPv6                               stretch (stable)                 jessie (oldstable)                 wheezy (oldstable)                 buster (testing)                 sid (unstable)               Download

Tips: Remember to install package

deb https://mirrors.ustc.edu.cn/debian/ stretch main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian/ stretch main contrib non-free

deb https://mirrors.ustc.edu.cn/debian/ stretch-updates main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian/ stretch-updates main contrib non-free

deb https://mirrors.ustc.edu.cn/debian/ stretch-backports main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian/ stretch-backports main contrib non-free

deb https://mirrors.ustc.edu.cn/debian-security/ stretch/updates main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian-security/ stretch/updates main contrib non-free

Ubuntu (/etc/apt/sources.list):                 HTTPS                 HTTP                               IPv4                 IPv6                                  eoan (19.10)        disco (19.04)        cosmic (18.10)        bionic (18.04)        artful (17.10)        zesty (17.04)        yakkety (16.10)        xenial (16.04)        wily (15.10)        vivid (15.04)        utopic (14.10)        trusty (14.04)        saucy (13.10)        raring (13.04)        quantal (12.10)        precise (12.04)        oneiric (11.10)        natty (11.04)        maverick (10.10)        lucid (10.04)        karmic (9.10)        jaunty (9.04)        intrepid (8.10)        hardy (8.04)        gutsy (7.10)        feisty (7.04)        edgy (6.10)        dapper (6.06)        breezy (5.10)        hoary (5.04)        warty (4.10)                  Download

 
deb https://mirrors.ustc.edu.cn/ubuntu/ eoan main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ eoan main restricted universe multiverse

deb https://mirrors.ustc.edu.cn/ubuntu/ eoan-security main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ eoan-security main restricted universe multiverse

deb https://mirrors.ustc.edu.cn/ubuntu/ eoan-updates main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ eoan-updates main restricted universe multiverse

deb https://mirrors.ustc.edu.cn/ubuntu/ eoan-backports main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ eoan-backports main restricted universe multiverse

## Not recommended
# deb https://mirrors.ustc.edu.cn/ubuntu/ eoan-proposed main restricted universe multiverse
# deb-src https://mirrors.ustc.edu.cn/ubuntu/ eoan-proposed main restricted universe multiverse

Made by sNullp. Collaborator: @ZhangCheng, @Knight

Source code hosted on LUG@USTC GitLab. Help us improve it!

转载于:https://www.cnblogs.com/shuimuqingyang/p/11089783.html

你可能感兴趣的:(把Ubuntu系统自带的源修改为国内的源,中科大源链接:https://mirrors.ustc.edu.cn/repogen/...)