更新源方法:

1. 打开终端。单击主菜单中的“应用程序 - 附件 - 终端”。

2. 修改更新服务器列表。请在终端中执行下面的两条命令:

sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup

还原更新源:

  sudo cp /etc/apt/sources.list_backup /etc/apt/sources.list

#备份原来的软件列表,会要求输入密码

sudo gedit /etc/apt/sources.list

#用gedit打开sources.list文件

在接下来在打开的文本编辑器中,把看到的内容全部删掉,在上面Ubuntu11.04源列表里选择一组对于你来说速度最快的更新服务器列表。粘贴到你所看到的窗口中。这里推荐台湾源和网易源,更新软件的速度很快!

4. 关闭文本编辑器。

5. 更新软件包列表。执行下面的命令:

sudo apt-get update

6. 安装系统更新

打开“系统->系统管理->更新管理器”,安装更新。完成后若系统提示重新启动,请重新启动系统。

如果你是校园网用户,请查看:Ubuntu11.04教育网源

下面是Ubuntu 11.04一些常见的源

#Ubuntu官方源

deb http://cn.archive.Ubuntu.com/ubuntu/ natty multiverse

deb-src http://cn.archive.Ubuntu.com/ubuntu/ natty multiverse

deb http://cn.archive.Ubuntu.com/ubuntu/ natty-updates multiverse

deb-src http://cn.archive.Ubuntu.com/ubuntu/ natty-updates multiverse

deb http://security.Ubuntu.com/ubuntu natty-security main restricted

deb-src http://security.Ubuntu.com/ubuntu natty-security main restricted

deb http://security.Ubuntu.com/ubuntu natty-security universe

deb-src http://security.Ubuntu.com/ubuntu natty-security universe

deb http://security.Ubuntu.com/ubuntu natty-security multiverse

deb-src http://security.Ubuntu.com/ubuntu natty-security multiverse

deb http://archive.canonical.com/Ubuntu natty partner

deb-src http://archive.canonical.com/Ubuntu natty partner

#Ubuntu 11.04台湾源(推荐)

deb http://tw.archive.Ubuntu.com/ubuntu/ natty main universe restricted multiverse

deb-src http://tw.archive.Ubuntu.com/ubuntu/ natty main universe restricted multiverse

deb http://tw.archive.Ubuntu.com/ubuntu/ natty-security universe main multiverse restricted

deb-src http://tw.archive.Ubuntu.com/ubuntu/ natty-security universe main multiverse restricted

deb http://tw.archive.Ubuntu.com/ubuntu/ natty-updates universe main multiverse restricted

deb-src http://tw.archive.Ubuntu.com/ubuntu/ natty-updates universe main multiverse restricted

#SRT Sources

deb http://Ubuntu.srt.cn/ubuntu/ natty main restricted universe multiverse

deb http://Ubuntu.srt.cn/ubuntu/ natty-security main restricted universe multiverse

deb http://Ubuntu.srt.cn/ubuntu/ natty-updates main restricted universe multiverse

deb http://Ubuntu.srt.cn/ubuntu/ natty-proposed main restricted universe multiverse

deb http://Ubuntu.srt.cn/ubuntu/ natty-backports main restricted universe multiverse

deb-src http://Ubuntu.srt.cn/ubuntu/ natty main restricted universe multiverse

deb-src http://Ubuntu.srt.cn/ubuntu/ natty-security main restricted universe multiverse

deb-src http://Ubuntu.srt.cn/ubuntu/ natty-updates main restricted universe multiverse

deb-src http://Ubuntu.srt.cn/ubuntu/ natty-proposed main restricted universe multiverse

deb-src http://Ubuntu.srt.cn/ubuntu/ natty-backports main restricted universe multiverse

#Ubuntu11.04网易源(速度很快、推荐)

deb http://mirrors.163.com/Ubuntu/ natty main universe restricted multiverse

deb-src http://mirrors.163.com/Ubuntu/ natty main universe restricted multiverse

deb http://mirrors.163.com/Ubuntu/ natty-security universe main multiverse restricted

deb-src http://mirrors.163.com/Ubuntu/ natty-security universe main multiverse restricted

deb http://mirrors.163.com/Ubuntu/ natty-updates universe main multiverse restricted

deb http://mirrors.163.com/Ubuntu/ natty-proposed universe main multiverse restricted

deb-src http://mirrors.163.com/Ubuntu/ natty-proposed universe main multiverse restricted

deb http://mirrors.163.com/Ubuntu/ natty-backports universe main multiverse restricted

deb-src http://mirrors.163.com/Ubuntu/ natty-backports universe main multiverse restricted

deb-src http://mirrors.163.com/Ubuntu/ natty-updates universe main multiverse restricted

#Ubuntu11.04上海源

deb http://mirror.rootguide.org/Ubuntu/ natty main universe restricted multiverse

deb-src http://mirror.rootguide.org/Ubuntu/ natty main universe restricted multiverse

deb http://mirror.rootguide.org/Ubuntu/ natty-security universe main multiverse restricted

deb-src http://mirror.rootguide.org/Ubuntu/ natty-security universe main multiverse restricted

deb http://mirror.rootguide.org/Ubuntu/ natty-updates universe main multiverse restricted

deb http://mirror.rootguide.org/Ubuntu/ natty-proposed universe main multiverse restricted

deb-src http://mirror.rootguide.org/Ubuntu/ natty-proposed universe main multiverse restricted

deb http://mirror.rootguide.org/Ubuntu/ natty-backports universe main multiverse restricted

deb-src http://mirror.rootguide.org/Ubuntu/ natty-backports universe main multiverse restricted

deb-src http://mirror.rootguide.org/Ubuntu/ natty-updates universe main multiverse restricted

#Ubuntu 11.04 搜狐源

deb http://mirrors.shlug.org/Ubuntu/ natty main universe restricted multiverse

deb-src http://mirrors.shlug.org/Ubuntu/ natty main universe restricted multiverse

deb http://mirrors.shlug.org/Ubuntu/ natty-security universe main multiverse restricted

deb-src http://mirrors.shlug.org/Ubuntu/ natty-security universe main multiverse restricted

deb http://mirrors.shlug.org/Ubuntu/ natty-updates universe main multiverse restricted

deb http://mirrors.shlug.org/Ubuntu/ natty-proposed universe main multiverse restricted

deb-src http://mirrors.shlug.org/Ubuntu/ natty-proposed universe main multiverse restricted

deb http://mirrors.shlug.org/Ubuntu/ natty-backports universe main multiverse restricted

deb-src http://mirrors.shlug.org/Ubuntu/ natty-backports universe main multiverse restricted

deb-src http://mirrors.shlug.org/Ubuntu/ natty-updates universe main multiverse restricted

#Ubuntu 11.04 骨头源 (bones7456架设的一个Ubuntu源 ,提供ubuntu,deepin)

deb http://Ubuntu.srt.cn/ubuntu/ natty main universe restricted multiverse

deb-src http://Ubuntu.srt.cn/ubuntu/ natty main universe restricted multiverse

deb http://Ubuntu.srt.cn/ubuntu/ natty-security universe main multiverse restricted

deb-src http://Ubuntu.srt.cn/ubuntu/ natty-security universe main multiverse restricted

deb http://Ubuntu.srt.cn/ubuntu/ natty-updates universe main multiverse restricted

deb http://Ubuntu.srt.cn/ubuntu/ natty-proposed universe main multiverse restricted

deb-src http://Ubuntu.srt.cn/ubuntu/ natty-proposed universe main multiverse restricted

deb http://Ubuntu.srt.cn/ubuntu/ natty-backports universe main multiverse restricted

deb-src http://Ubuntu.srt.cn/ubuntu/ natty-backports universe main multiverse restricted

deb-src http://Ubuntu.srt.cn/ubuntu/ natty-updates universe main multiverse restricted

Ubuntu11.04教育网源
2011-04-29 10:09

以下是ubuntu 10.10 教育网的源:

sudo gedit /etc/apt/sources.list

#成都电子科大的源,教育网推荐

deb http://Ubuntu.uestc.edu.cn/ubuntu/ natty main restricted universe multiverse

deb http://Ubuntu.uestc.edu.cn/ubuntu/ natty-backports main restricted universe multiverse

deb http://Ubuntu.uestc.edu.cn/ubuntu/ natty-proposed main restricted universe multiverse

deb http://Ubuntu.uestc.edu.cn/ubuntu/ natty-security main restricted universe multiverse

deb http://Ubuntu.uestc.edu.cn/ubuntu/ natty-updates main restricted universe multiverse

deb-src http://Ubuntu.uestc.edu.cn/ubuntu/ natty main restricted universe multiverse

deb-src http://Ubuntu.uestc.edu.cn/ubuntu/ natty-backports main restricted universe multiverse

deb-src http://Ubuntu.uestc.edu.cn/ubuntu/ natty-proposed main restricted universe multiverse

deb-src http://Ubuntu.uestc.edu.cn/ubuntu/ natty-security main restricted universe multiverse

deb-src http://Ubuntu.uestc.edu.cn/ubuntu/ natty-updates main restricted universe multiverse

#中科大的源,教育网推荐

deb http://debian.ustc.edu.cn/Ubuntu/ natty main restricted universe multiverse

deb http://debian.ustc.edu.cn/Ubuntu/ natty-backports restricted universe multiverse

deb http://debian.ustc.edu.cn/Ubuntu/ natty-proposed main restricted universe multiverse

deb http://debian.ustc.edu.cn/Ubuntu/ natty-security main restricted universe multiverse

deb http://debian.ustc.edu.cn/Ubuntu/ natty-updates main restricted universe multiverse

deb-src http://debian.ustc.edu.cn/Ubuntu/ natty main restricted universe multiverse

deb-src http://debian.ustc.edu.cn/Ubuntu/ natty-backports main restricted universe multiverse

deb-src http://debian.ustc.edu.cn/Ubuntu/ natty-proposed main restricted universe multiverse

deb-src http://debian.ustc.edu.cn/Ubuntu/ natty-security main restricted universe multiverse

deb-src http://debian.ustc.edu.cn/Ubuntu/ natty-updates main restricted universe multiverse

#北京交大的源,教育网

deb http://mirror.bjtu.edu.cn/Ubuntu/ natty main multiverse restricted universe

deb http://mirror.bjtu.edu.cn/Ubuntu/ natty-backports main multiverse restricted universe

deb http://mirror.bjtu.edu.cn/Ubuntu/ natty-proposed main multiverse restricted universe

deb http://mirror.bjtu.edu.cn/Ubuntu/ natty-security main multiverse restricted universe

deb http://mirror.bjtu.edu.cn/Ubuntu/ natty-updates main multiverse restricted universe

deb-src http://mirror.bjtu.edu.cn/Ubuntu/ natty main multiverse restricted universe

deb-src http://mirror.bjtu.edu.cn/Ubuntu/ natty-backports main multiverse restricted universe

deb-src http://mirror.bjtu.edu.cn/Ubuntu/ natty-proposed main multiverse restricted universe

deb-src http://mirror.bjtu.edu.cn/Ubuntu/ natty-security main multiverse restricted universe

deb-src http://mirror.bjtu.edu.cn/Ubuntu/ natty-updates main multiverse restricted universe

#兰州大学的源,教育网

deb ftp://mirror.lzu.edu.cn/Ubuntu/ natty main multiverse restricted universe

deb ftp://mirror.lzu.edu.cn/Ubuntu/ natty-backports main multiverse restricted universe

deb ftp://mirror.lzu.edu.cn/Ubuntu/ natty-proposed main multiverse restricted universe

deb ftp://mirror.lzu.edu.cn/Ubuntu/ natty-security main multiverse restricted universe

deb ftp://mirror.lzu.edu.cn/Ubuntu/ natty-updates main multiverse restricted universe

deb ftp://mirror.lzu.edu.cn/Ubuntu-cn/ natty main multiverse restricted universe

#上海交大的源

deb http://ftp.sjtu.edu.cn/Ubuntu/ natty main multiverse restricted universe

deb http://ftp.sjtu.edu.cn/Ubuntu/ natty-backports main multiverse restricted universe

deb http://ftp.sjtu.edu.cn/Ubuntu/ natty-proposed main multiverse restricted universe

deb http://ftp.sjtu.edu.cn/Ubuntu/ natty-security main multiverse restricted universe

deb http://ftp.sjtu.edu.cn/Ubuntu/ natty-updates main multiverse restricted universe

deb http://ftp.sjtu.edu.cn/Ubuntu-cn/ natty main multiverse restricted universe

deb-src http://ftp.sjtu.edu.cn/Ubuntu/ natty main multiverse restricted universe

deb-src http://ftp.sjtu.edu.cn/Ubuntu/ natty-backports main multiverse restricted universe

deb-src http://ftp.sjtu.edu.cn/Ubuntu/ natty-proposed main multiverse restricted universe

deb-src http://ftp.sjtu.edu.cn/Ubuntu/ natty-security main multiverse restricted universe

deb-src http://ftp.sjtu.edu.cn/Ubuntu/ natty-updates main multiverse restricted universe

#163的,电信教育网通用

deb http://mirrors.163.com/Ubuntu/ natty main restricted universe multiverse

deb http://mirrors.163.com/Ubuntu/ natty-security main restricted universe multiverse

deb http://mirrors.163.com/Ubuntu/ natty-updates main restricted universe multiverse

deb http://mirrors.163.com/Ubuntu/ natty-proposed main restricted universe multiverse

deb http://mirrors.163.com/Ubuntu/ natty-backports main restricted universe multiverse

deb-src http://mirrors.163.com/Ubuntu/ natty main restricted universe multiverse

deb-src http://mirrors.163.com/Ubuntu/ natty-security main restricted universe multiverse

deb-src http://mirrors.163.com/Ubuntu/ natty-updates main restricted universe multiverse

deb-src http://mirrors.163.com/Ubuntu/ natty-proposed main restricted universe multiverse

deb-src http://mirrors.163.com/Ubuntu/ natty-backports main restricted universe multivers

在虚拟机中,可能会发生 NODATA错误,这是网路没有授权导致的,我的解决方法是:

把 虚拟机的网络模式设置为 NET,(一开始是桥接),这样网卡就被授权,从而可以下载数据

http://www.cnblogs.com/ggjucheng/archive/2012/08/19/2646007.html,这篇博客解释了三种

连接模式的区别。

ubuntu更新软件源的更多相关文章

  1. ubuntu 更新软件源

    ubuntu 更新软件源 修改文件sources.list 位于/etc/apt/sources.list,并备份原文件为sources.list.bak deb http://mirrors.163 ...

  2. Linux学习笔记——Ubuntu更新软件源

    0.前言     通过改动ubuntu软件源可提高apt命令下载安装软件的速度.     參考资料     [官方资料]--配置文件改动方法     [Ubuntu如何改动软件源地址]--使用ubun ...

  3. Ubuntu更新软件源出现GPG error

    原因 在sources.list文件中加入了非ubuntu官方源,所以认为加入源是不可信任的. 解决方法导入该源公钥.E084DAB9为PUBKEY后八位 gpg --keyserver keyser ...

  4. ubuntu安装软件失败,出现404错误,更新软件源

    更新源方法 备份原来的源 首先备份原来的源,用来出错后进行恢复 sudo cp /etc/apt/sources.list/etc/apt/sources.list_backup 1 如果更新源后出错 ...

  5. [ubuntu]deb软件源

    虽然ubuntu的中国服务器的速度已经非常不错,但是难免,会有网络不畅的情形,所以修改软件源地址是一个基础的知识点. 修改ubuntu的软件源的方式有多种,一直是通过ubuntu软件中心提供的UI,还 ...

  6. linux -- ubuntu 何为软件源

    新手学Ubuntu的时候,一般不知道什么是源,但源又是Ubuntu下常用到的东西.因此,本文就详细介绍一下Ubuntu 源. 什么是软件源? 源,在Ubuntu下,它相当于软件库,需要什么软件,只要记 ...

  7. ubuntu更换软件源

     ubuntu更换软件源 /etc/apt/source.list 163: deb http://mirrors.163.com/ubuntu/ trusty main restricted u ...

  8. kali linux 更新软件源,安装中文输入法,修复Linux与windows引导菜单解决windows引导丢失

    1. 更新软件源打开sources.list文件,进行添加更新源:leafpad /etc/apt/sources.list 2. 添加软件源#官方源 deb http://http.kali.org ...

  9. Debian更新软件源提示There is no public key available for the following key IDs的解决方法

    今天装了的debian7.0 但是更新软件源的时候出错 提示 W: There is no public key available for the following key IDs: 9D6D8F ...

随机推荐

  1. 移动端设置-----rem

    对于现在不同尺寸的移动端屏幕,如果设置px来说实在有点影响用户体验,在小屏幕上太大,大屏幕上太小,不能实现响应式,所以就引进了rem的概念. rem是相对于根元素<html> 在我的项目中 ...

  2. 搭建spring mvc项目

    在之前搭建maven项目这篇的基础上继续集成,引入spring mvc支持 一.添加jar包引用 修改pom.xml文件,加入:(其他关联的jar包maven会自动引用) <!-- 项目属性 - ...

  3. Nodejs - 如何用 eventproxy 模块控制并发

    本文目标 本文的目标是获取 ZOJ 1001-1010 每道题 best solution 的作者 id,取得数据后一次性输出在控制台. 前文 如何用 Nodejs 分析一个简单页面 我们讲了如何用 ...

  4. java学习笔记一

    数据类型 Java数据类型分为两大类:基本数据类型和复合数据类型,其中复合数据类型包括数组.类和接口. 基本数据类型(默认值只在类中有,函数变量无初始值) int 32bit 0 boolean 1b ...

  5. 如何用java自带的工具生成证书

    一.keytool的概念 keytool 是个密钥和证书管理工具.它使用户能够管理自己的公钥/私钥对及相关证书,用于(通过数字签名)自我认证(用户向别的用户/服务认证自己)或数据完整性以及认证服务.在 ...

  6. Android ListView 的基本应用,包括缓存

    class MyAdapter extends BaseAdapter {         //返回要显示的条目的数量         @Override         public int get ...

  7. tyvj1087 sumsets

    背景 广东汕头聿怀初中 Train#2 Problem1 描述     正整数N可以被表示成若干2的幂次之和.例如,N = 7时,共有下列6种不同的方案:1) 1+1+1+1+1+1+12) 1+1+ ...

  8. (五)SQL Server分区自动化案例

    需求定义 统计表可能达到每天1000万数据.只查询当天的数据用于统计,可归档三月前的数据.得出分区方案如下: 每天生成一个分区 归档三个月前的分区 基本架构 固定生成12个辅助数据库文件,将每年当月的 ...

  9. [Scala] 快学Scala A3L3

    Actor 通过尽可能避免锁和共享状态,actor使得我们能够容易地设计出正确.没有死锁或争用状况的程序. Scala类库提供了一个actor模型的简单实现.AKKA是更高级的actor类库. 19. ...

  10. 《征服 C 指针》摘录2:C变量的 作用域 和 生命周期(存储期)

    在开发一些小程序的时候,也许我们并不在意作用域的必要性.可是,当你书写几万行,甚至几十万行的代码的时候,没有作用域肯定是不能忍受的. C 语言有如下 3 种作用域. 1.全局变量 在函数之外声明的变量 ...