Ubuntu 10.04 更新源[通俗易懂]

Ubuntu 10.04 更新源[通俗易懂]1.sudogedit/etc/apt/sources.list编辑你的源列表,将原来的内容全部删除,当然之前也可以用sudocp/etc/apt/sources.list/etc/apt

大家好,又见面了,我是你们的朋友全栈君。1.sudo gedit /etc/apt/sources.list

     编辑你的源列表,将原来的内容全部删除,当然之前也可以用sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak命令的方式进行备份,以备不时之需。添加下面列表中最适合你的源(注意不要全部添加),选择一个最合 适你的即可,复制到你的列表中,然后保存列表。
  

     (注:只复制粘贴所有deb开头的行。细心的读者会发现源sources.list文件中有以许多#开头的行,这个#意味这此行为注释行,不起作用,剩余的deb的行才是真正的源)  

     2.sudo apt-get update 更新源列表信息
     可以在运行“sudo apt-get update”时查看一下错误信息,把不能连接的源删除再重新运行“sudo apt-get update”。

     3.sudo apt-get upgrade 升级
     或者用ubuntu自带的更新管理器升级也可

     Ubuntu 10.04源列表:

     Archive.ubuntu.com更新服务器(欧洲,此为官方源,电信网通用户使用):
     deb http://archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse
     deb http://archive.ubuntu.com/ubuntu/ lucid-security main restricted universe multiverse
     deb http://archive.ubuntu.com/ubuntu/ lucid-updates main restricted universe multiverse
     deb http://archive.ubuntu.com/ubuntu/ lucid-proposed main restricted universe multiverse
     deb http://archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
     deb-src http://archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse
     deb-src http://archive.ubuntu.com/ubuntu/ lucid-security main restricted universe multiverse
     deb-src http://archive.ubuntu.com/ubuntu/ lucid-updates main restricted universe multiverse
     deb-src http://archive.ubuntu.com/ubuntu/ lucid-proposed main restricted universe multiverse
     deb-src http://archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse

     骨头兄亲自搭建并维护这个Ubuntu源(该源位于浙江杭州百兆共享宽带的电信机房):
     deb http://ubuntu.srt.cn/ubuntu/ lucid main restricted universe multiverse
     deb http://ubuntu.srt.cn/ubuntu/ lucid-security main restricted universe multiverse
     deb http://ubuntu.srt.cn/ubuntu/ lucid-updates main restricted universe multiverse
     deb http://ubuntu.srt.cn/ubuntu/ lucid-proposed main restricted universe multiverse
     deb http://ubuntu.srt.cn/ubuntu/ lucid-backports main restricted universe multiverse
     deb-src http://ubuntu.srt.cn/ubuntu/ lucid main restricted universe multiverse
     deb-src http://ubuntu.srt.cn/ubuntu/ lucid-security main restricted universe multiverse
     deb-src http://ubuntu.srt.cn/ubuntu/ lucid-updates main restricted universe multiverse
     deb-src http://ubuntu.srt.cn/ubuntu/ lucid-proposed main restricted universe multiverse
     deb-src http://ubuntu.srt.cn/ubuntu/ lucid-backports main restricted universe multiverse

     网易163更新服务器(速度很快):
     deb http://mirrors.163.com/ubuntu/ lucid main restricted universe multiverse
     deb http://mirrors.163.com/ubuntu/ lucid-security main restricted universe multiverse
     deb http://mirrors.163.com/ubuntu/ lucid-updates main restricted universe multiverse
     deb http://mirrors.163.com/ubuntu/ lucid-proposed main restricted universe multiverse
     deb http://mirrors.163.com/ubuntu/ lucid-backports main restricted universe multiverse
     deb-src http://mirrors.163.com/ubuntu/ lucid main restricted universe multiverse
     deb-src http://mirrors.163.com/ubuntu/ lucid-security main restricted universe multiverse
     deb-src http://mirrors.163.com/ubuntu/ lucid-updates main restricted universe multiverse
     deb-src http://mirrors.163.com/ubuntu/ lucid-proposed main restricted universe multiverse
     deb-src http://mirrors.163.com/ubuntu/ lucid-backports main restricted universe multiverse

     sohu 更新服务器:
     deb http://mirrors.sohu.com/ubuntu/ lucid main restricted universe multiverse
     deb http://mirrors.sohu.com/ubuntu/ lucid-security main restricted universe multiverse
     deb http://mirrors.sohu.com/ubuntu/ lucid-updates main restricted universe multiverse
     deb http://mirrors.sohu.com/ubuntu/ lucid-proposed main restricted universe multiverse
     deb http://mirrors.sohu.com/ubuntu/ lucid-backports main restricted universe multiverse
     deb-src http://mirrors.sohu.com/ubuntu/ lucid main restricted universe multiverse
     deb-src http://mirrors.sohu.com/ubuntu/ lucid-security main restricted universe multiverse
     deb-src http://mirrors.sohu.com/ubuntu/ lucid-updates main restricted universe multiverse
     deb-src http://mirrors.sohu.com/ubuntu/ lucid-proposed main restricted universe multiverse
     deb-src http://mirrors.sohu.com/ubuntu/ lucid-backports main restricted universe multiverse

     Mirrors.shlug.org更新服务器(电信服务器,Ubuntu China Official Mirror, maintained by Shanghai Linux User Group):
     deb http://cn.archive.ubuntu.com/ubuntu lucid main restricted universe multiverse
     deb http://cn.archive.ubuntu.com/ubuntu lucid-security main restricted universe multiverse
     deb http://cn.archive.ubuntu.com/ubuntu lucid-updates main restricted universe multiverse
     deb http://cn.archive.ubuntu.com/ubuntu lucid-backports main restricted universe multiverse
     deb http://cn.archive.ubuntu.com/ubuntu lucid-proposed main restricted universe multiverse
     deb-src http://cn.archive.ubuntu.com/ubuntu lucid main restricted universe multiverse
     deb-src http://cn.archive.ubuntu.com/ubuntu lucid-security main restricted universe multiverse
     deb-src http://cn.archive.ubuntu.com/ubuntu lucid-updates main restricted universe multiverse
     deb-src http://cn.archive.ubuntu.com/ubuntu lucid-backports main restricted universe multiverse
     deb-src http://cn.archive.ubuntu.com/ubuntu lucid-proposed main restricted universe multiverse

     Mirror.lupaworld.com更新服务器(浙江省杭州市双线服务器):
     deb http://mirror.lupaworld.com/ubuntu lucid main restricted universe multiverse
     deb http://mirror.lupaworld.com/ubuntu lucid-security main restricted universe multiverse
     deb http://mirror.lupaworld.com/ubuntu lucid-updates main restricted universe multiverse
     deb http://mirror.lupaworld.com/ubuntu lucid-backports main restricted universe multiverse
     deb http://mirror.lupaworld.com/ubuntu lucid-proposed main restricted universe multiverse
     deb-src http://mirror.lupaworld.com/ubuntu lucid main restricted universe multiverse
     deb-src http://mirror.lupaworld.com/ubuntu lucid-security main restricted universe multiverse
     deb-src http://mirror.lupaworld.com/ubuntu lucid-updates main restricted universe multiverse
     deb-src http://mirror.lupaworld.com/ubuntu lucid-backports main restricted universe multiverse
     deb-src http://mirror.lupaworld.com/ubuntu lucid-proposed main restricted universe multiverse

     厦门大学更新服务器(教育网服务器):
     deb ftp://ubuntu.realss.cn/ubuntu/ lucid main restricted universe multiverse
     deb ftp://ubuntu.realss.cn/ubuntu/ lucid-backports restricted universe multiverse
     deb ftp://ubuntu.realss.cn/ubuntu/ lucid-proposed main restricted universe multiverse
     deb ftp://ubuntu.realss.cn/ubuntu/ lucid-security main restricted universe multiverse
     deb ftp://ubuntu.realss.cn/ubuntu/ lucid-updates main restricted universe multiverse
     deb-src ftp://ubuntu.realss.cn/ubuntu/ lucid main restricted universe multiverse
     deb-src ftp://ubuntu.realss.cn/ubuntu/ lucid-backports main restricted universe multiverse
     deb-src ftp://ubuntu.realss.cn/ubuntu/ lucid-proposed main restricted universe multiverse
     deb-src ftp://ubuntu.realss.cn/ubuntu/ lucid-security main restricted universe multiverse
     deb-src ftp://ubuntu.realss.cn/ubuntu/ lucid-updates main restricted universe multiverse

     成都市电子科技大学更新服务器(教育网,推荐校园网和网通用户使用):
     deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid main multiverse restricted universe
     deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
     deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
     deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
     deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe
     deb-src http://ubuntu.uestc.edu.cn/ubuntu/ lucid main multiverse restricted universe
     deb-src http://ubuntu.uestc.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
     deb-src http://ubuntu.uestc.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
     deb-src http://ubuntu.uestc.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
     deb-src http://ubuntu.uestc.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe
     == 如果无法解析uestc.edu.cn域名,请使用以下地址 ==
     deb http://ubuntu.dormforce.net/ubuntu/ lucid main multiverse restricted universe
     deb http://ubuntu.dormforce.net/ubuntu/ lucid-backports main multiverse restricted universe
     deb http://ubuntu.dormforce.net/ubuntu/ lucid-proposed main multiverse restricted universe
     deb http://ubuntu.dormforce.net/ubuntu/ lucid-security main multiverse restricted universe
     deb http://ubuntu.dormforce.net/ubuntu/ lucid-updates main multiverse restricted universe
     deb-src http://ubuntu.dormforce.net/ubuntu/ lucid main multiverse restricted universe
     deb-src http://ubuntu.dormforce.net/ubuntu/ lucid-backports main multiverse restricted universe
     deb-src http://ubuntu.dormforce.net/ubuntu/ lucid-proposed main multiverse restricted universe
     deb-src http://ubuntu.dormforce.net/ubuntu/ lucid-security main multiverse restricted universe
     deb-src http://ubuntu.dormforce.net/ubuntu/ lucid-updates main multiverse restricted universe

     上海市上海交通大学更新服务器:
     deb http://ftp.sjtu.edu.cn/ubuntu/ lucid main multiverse restricted universe
     deb http://ftp.sjtu.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
     deb http://ftp.sjtu.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
     deb http://ftp.sjtu.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
     deb http://ftp.sjtu.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe
     deb-src http://ftp.sjtu.edu.cn/ubuntu/ lucid main multiverse restricted universe
     deb-src http://ftp.sjtu.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
     deb-src http://ftp.sjtu.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
     deb-src http://ftp.sjtu.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
     deb-src http://ftp.sjtu.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe

     中国科学技术大学更新服务器:
     deb http://debian.ustc.edu.cn/ubuntu/ lucid main multiverse restricted universe
     deb http://debian.ustc.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
     deb http://debian.ustc.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
     deb http://debian.ustc.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
     deb http://debian.ustc.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe
     deb-src http://debian.ustc.edu.cn/ubuntu/ lucid main multiverse restricted universe
     deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
     deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
     deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
     deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe

     中国地质大学(北京)更新服务器:
     deb http://www.tofree.org/ubuntu/ lucid main restricted universe multiverse
     deb http://www.tofree.org/ubuntu/ lucid-security main restricted universe multiverse
     deb http://www.tofree.org/ubuntu/ lucid-updates main restricted universe multiverse
     deb http://www.tofree.org/ubuntu/ lucid-proposed main restricted universe multiverse
     deb http://www.tofree.org/ubuntu/ lucid-backports main restricted universe multiverse
     deb-src http://www.tofree.org/ubuntu/ lucid main restricted universe multiverse
     deb-src http://www.tofree.org/ubuntu/ lucid-security main restricted universe multiverse
     deb-src http://www.tofree.org/ubuntu/ lucid-updates main restricted universe multiverse
     deb-src http://www.tofree.org/ubuntu/ lucid-proposed main restricted universe multiverse
     deb-src http://www.tofree.org/ubuntu/ lucid-backports main restricted universe multiverse

     中国台湾 台湾大学更新服务器(推荐网通用户使用,电信PING平均响应速度41MS。强烈推荐此源,比较完整,较少出现同步问题):
     deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ lucid main restricted universe multiverse
     deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ lucid main restricted universe multiverse
     deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ lucid-updates main restricted universe multiverse
     deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ lucid-updates main restricted universe multiverse
     deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ lucid-backports main restricted universe multiverse
     deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ lucid-backports main restricted universe multiverse
     deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ lucid-security main restricted universe multiverse
     deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ lucid-security main restricted universe multiverse
     deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ lucid-proposed main multiverse restricted universe
     deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ lucid-proposed main restricted universe multiverse

     mirror.rootguide.org更新服务器(上海市 电信):
     deb http://mirror.rootguide.org/ubuntu/ lucid main restricted universe multiverse
     deb-src http://mirror.rootguide.org/ubuntu/ lucid main restricted universe multiverse
     deb http://mirror.rootguide.org/ubuntu/ lucid-updates main restricted universe multiverse
     deb-src http://mirror.rootguide.org/ubuntu/ lucid-updates main restricted universe multiverse
     deb http://mirror.rootguide.org/ubuntu/ lucid-backports main restricted universe multiverse
     deb-src http://mirror.rootguide.org/ubuntu/ lucid-backports main restricted universe multiverse
     deb http://mirror.rootguide.org/ubuntu/ lucid-security main restricted universe multiverse
     deb-src http://mirror.rootguide.org/ubuntu/ lucid-security main restricted universe multiverse
     deb http://mirror.rootguide.org/ubuntu/ lucid-proposed main multiverse restricted universe
     deb-src http://mirror.rootguide.org/ubuntu/ lucid-proposed main restricted universe multiverse

     台湾的官方源速度也相当不错,有时甚至快于内地的:
     deb http://tw.archive.ubuntu.com/ubuntu lucid main restricted universe multiverse
     deb http://tw.archive.ubuntu.com/ubuntu lucid-security main restricted universe multiverse
     deb http://tw.archive.ubuntu.com/ubuntu lucid-updates main restricted universe multiverse
     deb http://tw.archive.ubuntu.com/ubuntu lucid-backports main restricted universe multiverse
     deb http://tw.archive.ubuntu.com/ubuntu lucid-proposed main restricted universe multiverse
     deb-src http://tw.archive.ubuntu.com/ubuntu lucid main restricted universe multiverse
     deb-src http://tw.archive.ubuntu.com/ubuntu lucid-security main restricted universe multiverse
     deb-src http://tw.archive.ubuntu.com/ubuntu lucid-updates main restricted universe multiverse
     deb-src http://tw.archive.ubuntu.com/ubuntu lucid-backports main restricted universe multiverse
     deb-src http://tw.archive.ubuntu.com/ubuntu lucid-proposed main restricted universe multiverse

     以下源支持IPV6,推荐可以使用IPV6的教育网用户使用,速度在200kb/s左右,如需源代码,将deb替换成deb-src即可
     deb http://mirror.switch.ch/ftp/ubuntu/ lucid main multiverse restricted universe
     deb http://mirror.switch.ch/ftp/ubuntu/ lucid-backports main multiverse restricted universe
     deb http://mirror.switch.ch/ftp/ubuntu/ lucid-proposed main multiverse restricted universe
     deb http://mirror.switch.ch/ftp/ubuntu/ lucid-security main multiverse restricted universe
     deb http://mirror.switch.ch/ftp/ubuntu/ lucid-updates main multiverse restricted universe
     deb http://ftp.heanet.ie/mirrors/ubuntu/ lucid main multiverse restricted universe
     deb http://ftp.heanet.ie/mirrors/ubuntu/ lucid-backports main multiverse restricted universe
     deb http://ftp.heanet.ie/mirrors/ubuntu/ lucid-proposed main multiverse restricted universe
     deb http://ftp.heanet.ie/mirrors/ubuntu/ lucid-security main multiverse restricted universe
     deb http://ftp.heanet.ie/mirrors/ubuntu/ lucid-updates main multiverse restricted universe
     deb http://ftp.kddlabs.co.jp/020/Linux/packages/ubuntu/archive/ lucid main multiverse restricted universe
     deb http://ftp.kddlabs.co.jp/020/Linux/packages/ubuntu/archive/ lucid-backports main multiverse restricted universe
     deb http://ftp.kddlabs.co.jp/020/Linux/packages/ubuntu/archive/ lucid-proposed main multiverse restricted universe
     deb http://ftp.kddlabs.co.jp/020/Linux/packages/ubuntu/archive/ lucid-security main multiverse restricted universe
     deb http://ftp.kddlabs.co.jp/020/Linux/packages/ubuntu/archive/ lucid-updates main multiverse restricted universe

作者:linlonx@灵龙-技术 实验室
地址:http://www.linlonx.com/read.php/144.htm
版权所有©转载时必须以链接形式注明作者和原始出处及本声明!

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

发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/155457.html原文链接:https://javaforall.cn

【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛

【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...

(0)


相关推荐

  • Python中if __name__ == ‘__main__‘:的作用和原理

    Python中if __name__ == ‘__main__‘:的作用和原理if__name__==’__main__’:的作用一个python文件通常有两种使用方法,第一是作为脚本直接执行,第二是import到其他的python脚本中被调用(模块重用)执行。因此if__name__==’main’:的作用就是控制这两种情况执行代码的过程,在if__name__==’main’:下的代码只有在第一种情况下(即文件作为脚本直接执行)才会…

  • Android模拟器开发_安卓模拟器开发

    Android模拟器开发_安卓模拟器开发更多例子:https://code.google.com/p/playn/wiki/DemoLinksgameplay–http://gameplay3d.org/index.php旨在帮助独立游戏开发的生态系统,开源的跨平台的3D引擎支持BlackBerry10、PlayBook、AppleiOS5+、AndroidNDK2.3+、MicrosoftWindows7、AppleMacOSX、Linux完整着色系统,基于节点的场景图形系统,粒子系统,Fullfeatured

  • 《增长黑客》节选与笔记[通俗易懂]

    《增长黑客》节选与笔记[通俗易懂]《增长黑客》节选与笔记自序1.1 创业家的黑暗前传1.2 增长黑客的胜利1.3 什么是“增长黑客”1.4 增长黑客的职责和特质1.5 一切用数据说话1.6 增长黑客担任的团队角色1.7 如何招聘增长黑客1.8 如何成为增长黑客1.9 增长黑客的常用工具箱第2章 创造正确的产品2.1 Instagram重生记2.2 PMF,探寻产品与市场的完美契合2.3 拒绝…

  • matlab中的length函数「建议收藏」

    matlab中的length函数「建议收藏」在MATLAB中:size:获取数组的行数和列数length:数组长度(即行数或列数中的较大值)numel:元素总数。s=size(A),当只有一个输出参数时,返回一个行向量,该行向量的第一个元素时数组的行数,第二个元素是数组的列数。[r,c]=size(A),当有两个输出参数时,size函数将数组的行数返回到第一个输出变量,将数组的列数返回到第二个输出变量

  • Linux 多学习过程

    Linux 多学习过程

  • sqlyog连接mysql错误码2003_sqlyog无法连接本地主机

    sqlyog连接mysql错误码2003_sqlyog无法连接本地主机首先保证你的MySQL数据库安装成功cmd命令下  mysql-uroot-p 这样就启动成功了。。。sqlyog配置新连接报错:错误号码2058,是因为mysql密码加密方法变了。先登录你的数据库,然后执行 ALTERUSER’root’@’localhost’IDENTIFIEDWITHmysql_native_passwordBY’pass…

发表回复

您的电子邮箱地址不会被公开。

关注全栈程序员社区公众号