标签:nbsp class span multi str cti 备份 mirrors bio
1.备份原有的源文件
cd /etc/apt/
sudo cp -p sources.list sources.list.bak
2.修改源文件
sudo vim sources.list
删除sources.list 文件中所有内容添加一下内容 保存退出。
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
3.
sudo apt-get update
标签:nbsp class span multi str cti 备份 mirrors bio
原文地址:https://www.cnblogs.com/wanghuixi/p/12736969.html