当前位置:首页 > Linux > Ubuntu 16.04 LTS国内快速更新源

Ubuntu 16.04 LTS国内快速更新源

Ubuntu 16.04 LTS国内快速更新源

一、源文件位置

备份并替换/etc/apt/sources.list的源内容:

二、更改源文件内容

sudo vi /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 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
# Canonical 合作伙伴和附加
deb http://archive.canonical.com/ubuntu/ xenial partner
deb http://extras.ubuntu.com/ubuntu/ xenial main

更新系统

sudo apt-get update

除特别注明外,本站所有文章均为浮生若梦原创,转载请注明出处来自http://www.vbboy.com/?id=19

发表评论

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。