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)


相关推荐

  • 【Android动画】之Tween动画 (渐变、缩放、位移、旋转)

    【Android动画】之Tween动画 (渐变、缩放、位移、旋转)

  • 2021编程语言排行榜出炉

    2021编程语言排行榜出炉今日,IEEESpectrum发布了2021年度编程语言排行榜,其中Python在总榜单以及其他几个分榜单中依然牢牢占据第一名的位置。另外值得关注的是微软C#语言,它的排行从2020年的第23名跃升至了今年的第6名,称得上是今年的大势语言。2021年度编程语言排行榜依然从8个信息源按照11种指标收集数据,最终得到了数十种编程语言流行度的整体排名。这8个信息源分别为CareerBuilder、GitHub、Google、HackerNews、IEEE、Reddi

  • 个人搭建git服务器_服务器搭建git仓库

    个人搭建git服务器_服务器搭建git仓库git在push的时候出现insufficientpermissionforaddinganobject错误//解决方法,在git库的目录下//明明一开始创建user的时候有执行这个命令,不知道什么原因chown-Rgit:gitmygit.gitGit本地中文文件名问题解决linux环境//Git本地中文文件名问题解决gitconfig–global…

  • spring 中StoredProcedure的使用方法

    spring 中StoredProcedure的使用方法StoredProcedure是一个抽象类,必须写一个子类来继承它,这个类是用来简化JDBCTemplate运行存储过程操作的。首先我们写一个实现类:packagecom.huaye.framework.dao;importjava.sql.Types;importjava.util.HashMap;importjava.util.Map;…

  • pip 卸载包_linux卸载python3

    pip 卸载包_linux卸载python3使用pip卸载模块pipuninstallbagname

    2022年10月10日
  • Pytest(1)安装与入门[通俗易懂]

    Pytest(1)安装与入门[通俗易懂]pytest介绍pytest是python的一种单元测试框架,与python自带的unittest测试框架类似,但是比unittest框架使用起来更简洁,效率更高。根据pytest的官方网站介绍,它

发表回复

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

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