Ubuntu更改更新源
来源:互联网 发布:java使用框架的好处 编辑:程序博客网 时间:2024/05/22 03:28
在终端输入并运行
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup #备份当前的源列表,以便日後需要时恢复
sudo gedit /etc/apt/sources.list #修改sources.list文件中源的列表
弹出文本后在sources.list文件中尾部添加下列内容:
#中国科学技术大学更新服务器(教育网,推荐校园网和网通用户使用):
deb http://debian.ustc.edu.cn/ubuntu/ jaunty main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ jaunty-backports main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ jaunty-proposed main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ jaunty-security main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ jaunty-updates main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ jaunty main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ jaunty-backports main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ jaunty-proposed main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ jaunty-security main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ jaunty-updates main multiverse restricted universe
#中国台湾大学更新服务器(推荐网通、电信用户使用,很稳定的源):
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty-updates main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty-backports main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty-security main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty-proposed main multiverse restricted universe
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty-proposed main restricted universe multiverse
#上海市上海交通大学更新服务器(推荐校园网和网通用户使用):
deb http://ftp.sjtu.edu.cn/ubuntu/ jaunty main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ jaunty-backports main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ jaunty-proposed main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ jaunty-security main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ jaunty-updates main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ jaunty main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ jaunty-backports main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ jaunty-proposed main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ jaunty-security main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ jaunty-updates main multiverse restricted universe
#北京交通大学的更新服务器(推荐校园网用户、网通用户使用):
deb http://mirror.bjtu.edu.cn/ubuntu/ jaunty main restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu/ jaunty-backports restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu/ jaunty-proposed main restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu/ jaunty-security main restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://mirror.bjtu.edu.cn/ubuntu/ jaunty main restricted universe multiverse
deb-src http://mirror.bjtu.edu.cn/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://mirror.bjtu.edu.cn/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src http://mirror.bjtu.edu.cn/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://mirror.bjtu.edu.cn/ubuntu/ jaunty-updates main restricted universe multiverse
#cn99.com更新服务器(江苏省常州市电信,推荐电信用户使用):
deb http://ubuntu.cn99.com/ubuntu/ jaunty main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ jaunty-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ jaunty-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ jaunty-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ jaunty main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ jaunty-backports main restricted universe multiverse
#传说中的清华大学ubuntu源 300k/s
deb jaunty main restricted universe multiverse
deb jaunty-backports restricted universe multiverse
deb jaunty-proposed main restricted universe multiverse
deb jaunty-security main restricted universe multiverse
deb jaunty-updates main restricted universe multiverse
deb-src jaunty main restricted universe multiverse
deb-src jaunty-backports main restricted universe multiverse
deb-src jaunty-proposed main restricted universe multiverse
deb-src jaunty-security main restricted universe multiverse
deb-src jaunty-updates main restricted universe multiverse
#Ubuntu 官方源 推荐北方网通用户添加
deb http://archive.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
#台湾的官方源速度也相当不错,有时甚至快于内地的:
deb http://tw.archive.ubuntu.com/ubuntu gutsy main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu gutsy-security main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu gutsy-updates main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu gutsy-backports main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu gutsy-proposed main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu gutsy main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu gutsy-security main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu gutsy-updates main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu gutsy-backports main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu gutsy-proposed main restricted universe multiverse
#Mirror.lupaworld.com 源更新服务器(浙江省杭州市双线服务器,网通同电信都可以用,亚洲地区官方更新服务器):
deb http://mirror.lupaworld.com/ubuntu gutsy main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu gutsy-security main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu gutsy-updates main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu gutsy-backports main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu gutsy main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu gutsy-security main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu gutsy-updates main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu gutsy-backports main restricted universe multiverse
#超快的国内升级网站:
deb http://ubuntu.dormforce.net/ubuntu/ intrepid main multiverse restricted universe
deb http://ubuntu.dormforce.net/ubuntu/ intrepid-backports main multiverse restricted universe
deb http://ubuntu.dormforce.net/ubuntu/ intrepid-proposed main multiverse restricted universe
deb http://ubuntu.dormforce.net/ubuntu/ intrepid-security main multiverse restricted universe
deb http://ubuntu.dormforce.net/ubuntu/ intrepid-updates main multiverse restricted universe
deb-src http://ubuntu.dormforce.net/ubuntu/ intrepid main multiverse restricted universe
deb-src http://ubuntu.dormforce.net/ubuntu/ intrepid-backports main multiverse restricted universe
deb-src http://ubuntu.dormforce.net/ubuntu/ intrepid-proposed main multiverse restricted universe
deb-src http://ubuntu.dormforce.net/ubuntu/ intrepid-security main multiverse restricted universe
deb-src http://ubuntu.dormforce.net/ubuntu/ intrepid-updates main multiverse restricted universe
deb ftp://ubuntu.realss.cn/ubuntu/ hardy main restricted universe multiverse
deb ftp://ubuntu.realss.cn/ubuntu/ hardy-backports restricted universe multiverse
deb ftp://ubuntu.realss.cn/ubuntu/ hardy-proposed main restricted universe multiverse
deb ftp://ubuntu.realss.cn/ubuntu/ hardy-security main restricted universe multiverse
deb ftp://ubuntu.realss.cn/ubuntu/ hardy-updates main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ hardy main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ hardy-backports main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ hardy-proposed main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ hardy-security main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ hardy-updates main restricted universe multiverse
# Archive.ubuntu.com更新服务器(欧洲,此为官方源,电信网通用户使用):
deb http://archive.ubuntu.com/ubuntu/ karmic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ karmic-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ karmic-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ karmic-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ karmic main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ karmic-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ karmic-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ karmic-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
# 网易163更新服务器:
deb http://mirrors.163.com/ubuntu/ karmic main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ karmic-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ karmic-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ karmic-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ karmic-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ karmic main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ karmic-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ karmic-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ karmic-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ karmic-backports main restricted universe multiverse
# sohu 更新服务器:
deb http://mirrors.sohu.com/ubuntu/ karmic main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ karmic-security main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ karmic-updates main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ karmic-proposed main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ karmic-backports main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ karmic main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ karmic-security main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ karmic-updates main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ karmic-proposed main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ karmic-backports main restricted universe multiverse
防止非官方源中软件包不全的问题,请在sources.list文件中尾部添加下面这个官方源。
#候补官方源
deb http://archive.ubuntu.org.cn/ubuntu-cn/ feisty main restricted universe multiverse
如果没有这个源,下面安装某些软件的时候会提示找不到,比如w32codecs ,然后 保存编辑好的文件,执行以下命令更新。
sudo apt-get update #这一步是更新你的源列表,换源後必须执行
(如果更新速度非常慢请更换源 sudo gedit /etc/apt/sources.list)
sudo apt-get dist-upgrade #这一步是更新软件
台湾源的测试可能会慢一些,耐心等一下,换源后一般下载速度都有几十K,上百K也很正常。~要是总是用几K的外源,Ubuntu也不可能在PRC混了 ~
- Ubuntu更改更新源
- ubuntu 8.04 更改更新源
- fedora更改---更新源
- 树莓派更改更新源
- ubuntu软件更新源,更改,可提高更新的速度
- Ubuntu 更新源地址列表及更改方法
- Ubuntu 11.10更新源地址列表更改方法及下载
- Ubuntu 更新源地址列表及更改方法
- Ubuntu 12.04更新源地址列表更改方法(一劳永逸)
- Ubuntu 12.04更新源地址列表更改方法
- Ubuntu 12.04更新源地址列表更改方法
- Ubuntu 12.04更新源地址列表更改方法
- Ubuntu 12.04更新源地址列表更改方法(一劳永逸)
- Ubuntu 更新源地址列表及更改方法
- Ubuntu 12.04更新源地址列表更改方法
- Ubuntu 12.04更新源地址列表更改方法
- Ubuntu 更新源地址列表及更改方法简介
- ubuntu软件更新源,更改,可提高更新的速度
- HDU 1171(完全背包)
- 如何从人群中看出真正优秀的人
- DVD影视光盘制作全程指导
- Ubuntu上用virtualbox安装WinXp心得
- Ubuntu常见问题及解决方案
- Ubuntu更改更新源
- GNOME(ubuntu)常用快捷键
- Ubuntu常用命令使用方法
- Ubuntu各种中文乱码解决
- Ubuntu系统常用软件安装
- ubuntu打开3D屛保死机或屛保后无法唤醒问題解决方案
- Ubuntu闪电配置
- Ubuntu:解决“E: 无法获得锁 /var/lib/apt/lists/lock”
- linux下卸载realplayer的方法