转自:http://blog.163.com/yinligang_111/blog/static/129288372011621104853803/
更新源方法:
1. 打开终端。单击主菜单中的“应用程序 - 附件 - 终端”。
2. 修改更新服务器列表。请在终端中执行下面的两条命令:
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
#备份原来的软件列表,会要求输入密码
sudo gedit /etc/apt/sources.list
#用gedit打开sources.list文件
在接下来在打开的文本编辑器中,把看到的内容全部删掉,在上面Ubuntu11.04源列表里选择一组对于你来说速度最快的更新服务器列表。粘贴到你所看到的窗口中。这里推荐台湾源和网易源,更新软件的速度很快!
4. 关闭文本编辑器。
5. 更新软件包列表。执行下面的命令:
sudo apt-get update
6. 安装系统更新
打开“系统->系统管理->更新管理器”,安装更新。完成后若系统提示重新启动,请重新启动系统。
下面是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
转自:http://blog.163.com/yinligang_111/blog/static/129288372011621104853803/
分享到:
相关推荐
LinuxUSB转串口源代码
linux内核源代码情景分析,kind直接适用版 已经转换过了,所以可以直接用kind打开
以太网转串口源代码(linux平台下的)
LINUX 下SPI转UART驱动 源代码
通过这个软件是您玩转linux centos系统,CentOS(Community Enterprise Operating System,中文意思是:社区企业操作系统)是Linux发行版之一,它是来自于Red Hat Enterprise Linux依照开放源代码规定释出的源代码所...
Linux很基础的基础入门介绍。大神可忽略。
测试使用说明: 1。将 字符集编码格式为 GB2312 的文件 test0.java,test...使用本工具可以对 Linux 下文件的字符集编码格式进行批量转换。只需适当配置一下,可以批量处理各种文件格式的文件,如 *.txt,*.java 等等。
windows下eclipse工程转到linux下源代码注释中文乱码解决方法.docx
此源码从一个开源项目nox中提取。其中有一份使用说明,包含了接口使用以及代码结构分析;此模块的接口使用方便,通过调用可以轻松管理应用中不同模块发出的日志消息、向socket中发送日志消息的功能。...
基于Linux Qt的二维码生成 源代码
Linux核心源代码分析,内容讲的还可以,希望和大家一起分享一下!已转换成PDF格式!
Linux下 将uyvy格式的图片转换成jpeg格式和bmp的源代码
Linux拥有丰富各种源代码资源,但是大部分代码在Windows平台情况是无法 正常编译的。Windows平台根本无法直接利用这些源代码资源。如果想要使用完整的代码,就要做移植工作。因为C/C++ Library的不同和其他的一些原因...
Linux下各类TCP网络服务器的实现源代码,转之红联
个人把本书的pdg版本下载下来,转换成了pdf版本,对Linux内核有兴趣的同学可以学习。本书和浙大毛德操那本《情景分析》都针对的是2.4.0内核版本,两书写作风格各异。个人感觉李善平老师这本更学院派一些。
linux C/c++ 源代码,将中文字串与UTF-8格式字串相互转化,我在项目中使用的代码,完全可用
基于gec6818语音识别系统(源代码+项目视频)Linux项目、汉字显示、录音、base64tcp文件传输、iconv字符编码转换、alsa声卡 哔哩哔哩项目展示视频:https://www.bilibili.com/video/BV1Dv411C7cZ/ 源码+库资源+设计...
1.5 Linux 的发展.................................................................................................. 11 1.5.1 Linux 的发展历史 ..............................................................
使用v4l2从usb摄像头获取yuv422(yuv2)数据,转换成rgb贴在framebuffer中 环境:嵌入式linux操作系统 硬件:s3c6410 自己写的代码所以收5分
官网下载很慢,这个为linux 7.1.1版本,可以适配qt5,为大家下载安装提供方便。 Vtk,(visualization toolkit)是一个开源的免费软件系统,主要用于三维计算机图形学、图像处理和可视化。Vtk是在面向对象原理的基础...