微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

ubuntu16.o4 /etc/apt/sources.list --aliyun


sudo cp /etc/apt/sources.list /etc/apt/sources.list_bak


sudo gedit /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-proposed 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-proposed 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


##Just wait a second,and that will be ok. Good luck :) Oh,by the way,the correct ubuntu-developement-code is needed. For example,"yakkety" is ubuntu 16.10,"vivid" is ubuntu 15.04,and... yeah,that's it.

原文地址:https://www.jb51.cc/ubuntu/355965.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐