switch linux mint 20 apt repository to tsinghua' mirrors

空扰寡人 提交于 2020-08-18 01:23:35

orial

lwk@qwfys:/etc/apt/sources.list.d$ cat official-package-repositories.list 
# Do not edit this file manually, use Software Sources instead.

deb http://packages.linuxmint.com ulyana main upstream import backport #id:linuxmint_main

deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ focal partner
lwk@qwfys:/etc/apt/sources.list.d$ 

edit file /etc/apt/sources.list.d/cat official-package-repositories.list

lwk@qwfys:/etc/apt/sources.list.d$ ll
total 12
drwxr-xr-x 2 root root 4096 Jul  5 20:01 ./
drwxr-xr-x 7 root root 4096 Jul  5 19:05 ../
-rw-r--r-- 1 root root  512 Jul  5 20:01 official-package-repositories.list
lwk@qwfys:/etc/apt/sources.list.d$ cat official-package-repositories.list 
deb https://mirrors.bfsu.edu.cn/linuxmint ulyana main upstream import backport 

deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports main restricted universe multiverse

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ focal partner

lwk@qwfys:/etc/apt/sources.list.d$
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!