标签:ali .com 阿里 uri style restrict multi res bak
#进入源地址
cd /etc/apt
#备份源文件
sudo cp sources.list sources.list.bak
#编辑
sudo vim /etc/apt/sources.list
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-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
#更新源
sudo apt-get update
#更新软件
sudo apt-get upgrade
ps:系统中没有 vim 时,sudo apt-get install vim-gtk
标签:ali .com 阿里 uri style restrict multi res bak
原文地址:https://www.cnblogs.com/lmaster/p/9947028.html