码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu解决下载速度过慢

时间:2020-01-11 13:35:26      阅读:72      评论:0      收藏:0      [点我收藏+]

标签:date   打开   ror   list   update   restrict   ack   multi   deb   

一、换源

1、打开source.list

2、加入

#ali
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main
deb-src http://mirrors.aliyun.com/ubuntu/ xenial universe
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security universe

 

#wangyi
deb http://mirrors.163.com/ubuntu/ wily main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ wily-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ wily-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ wily-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ wily-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ wily main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ wily-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ wily-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ wily-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ wily-backports main restricted universe multiverse

亲测以上速度很快

3、更新源

sudo apt-get update

4、修复

sudo apt-get -f install

5、更新软件

sudo apt-get upgrade
二、在软件更新中选择最佳服务器

ubuntu解决下载速度过慢

标签:date   打开   ror   list   update   restrict   ack   multi   deb   

原文地址:https://www.cnblogs.com/ArChieve/p/12179608.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!