标签:date 阿里云 bsp 文件 nbsp 打开 span upgrade 软件
第一步:备份原来的源文件
cd /etc/apt/
然后会显示下面的源文件sources.list
输入命令 sudo cp sources.list sources.list.bak
就是将sources.list备份到sources.list.bak
阿里云源的文件
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
##测试版源
deb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
# 源码
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
##测试版源
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
替换并保存 sudo gedit sources.list打开文件,替换成阿里云文件即可
sudo apt-get update 更新源 sudo apt-get upgrade 更新软件
标签:date 阿里云 bsp 文件 nbsp 打开 span upgrade 软件
原文地址:https://www.cnblogs.com/soul-stone/p/8976097.html