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
版权所有©转载时必须以链接形式注明作者和原始出处及本声明!

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

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

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • python字符串的使用方法_python输入字符串str

    python字符串的使用方法_python输入字符串strpython字符串常用方法find(sub[,start[,end]])在索引start和end之间查找字符串sub​找到,则返回最左端的索引值,未找到,则返回-1​start和end都可

    2022年7月28日
    1
  • 常见端口渗透总结[通俗易懂]

    常见端口渗透总结[通俗易懂]文章目录0x00背景服务默认端口爆破0x01实战测试文件共享服务端口渗透ftp服务NFS服务Samba服务LDAP协议远程连接服务端口渗透SSH服务Telnet服务Windows远程连接VNC服务Pcanywhere服务Web应用服务端口渗透IIS服务Apache/Tomcat/Nginx/Axis2WebLogicJbossWebsphereGlassFishJenkinsResinJettyLotus数据库服务端口渗透MySQL数据库MSSQL数据库Oracle数据库PostgreSQL数据库Mon

    2022年9月12日
    0
  • Tomcat 调优及 JVM 参数优化

    Tomcat 调优及 JVM 参数优化Tomcat的缺省配置是不能稳定长期运行的,也就是不适合生产环境,它会死机,让你不断重新启动,甚至在午夜时分唤醒你。对于操作系统优化来说,是尽可能的增大可使用的内存容量、提高CPU的频率,保证文件系统的读写速率等。经过压力测试验证,在并发连接很多的情况下,CPU的处理能力越强,系统运行速度越快。Tomcat的优化不像其它软件那样,简简单单的修改几个参数就可以了,它的优化主要…

    2022年6月25日
    25
  • matlab插值实验目的,matlab插值实验报告数学实验.doc

    matlab插值实验目的,matlab插值实验报告数学实验.docmatlab插值实验报告数学实验.doc新乡学院数学与信息科学系实验报告实验项目名称插值实验所属课程名称数学实验实验类型综合性实验实验日期班级学号姓名成绩一、实验概述【实验目的】掌握用MATLAB插值的方法,了解拉格朗日插值、线性插值、样条插值的基本思想,了解三种网格节点数据的插值方法的基本思想,了解掌握用MATLAB计算一维差值和二维插值的方法。【实验原理】拉格朗日LAGRANGE插值。已知函…

    2022年5月26日
    35
  • Android Service 服务(一)—— Service

    Android Service 服务(一)—— Service

    2021年11月29日
    38
  • TP3.2 使用 ajax 写法demo

    TP3.2 使用 ajax 写法demo水平线下面是之前5.21写的。今天(9.10)来补充一下依然是在ThinkPHP3.2框架下index.html页面部分代码:<ahref=”#”class=”aj”>这是ajax</a><scripttype=”text/javascript”src=”__PUBLIC__/js/jquery-2.1.1.min.js”>&…

    2022年9月29日
    0

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

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