51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

ubuntu 20.04 更换 镜像源

ubuntu 20.04 更换 镜像源

cp /etc/apt/sources.list /etc/apt/sources.list.bak

然后 清空/etc/apt/sources.list

然后粘贴如下内容:

deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
最后更新镜像源
sudo apt-get update
赞(6)
未经允许不得转载:工具盒子 » ubuntu 20.04 更换 镜像源