ubuntu更新软件源

更新源方法:

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,这篇博客解释了三种

连接模式的区别。

时间: 2024-10-03 23:15:47

ubuntu更新软件源的相关文章

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

0.前言 通过修改ubuntu软件源可提高apt命令下载安装软件的速度. 参考资料 [官方资料]--配置文件修改方法 [Ubuntu怎样修改软件源地址]--使用ubuntu软件中心修改(推荐) [at-get update错误处理] 1.使用ubuntu软件中心更新 请参考[Ubuntu怎样修改软件源地址]--来自百度经验 图1 打开软件和更新 图2 选择国内软件源 2.使用指令方法修改 [1]首先备份源列表 sudo cp /etc/apt/sources.list /etc/apt/sour

vim修复,telnet安装启动,linux更新软件源

 vim修复: 修复前提,你到UBUNTU可以联网,否则只能卸载,不能安装 1.sudo apt-get remove vim-common 2.sudo apt-get install vim telnet: 开启telnet: 1.首先安装必要telnet 在终端输入命令:sudo apt-get install xinetd telnetd 2.配置 1)sudo vi/etc/inetd.conf 并加入以下一行 telnet stream tcp nowait telnetd/us

linux -- ubuntu 何为软件源

新手学Ubuntu的时候,一般不知道什么是源,但源又是Ubuntu下常用到的东西.因此,本文就详细介绍一下Ubuntu 源. 什么是软件源? 源,在Ubuntu下,它相当于软件库,需要什么软件,只要记得正确的软件名就可以用命令安装:  sudo apt-get install  软件名 例如:你要安装gcc软件,那么你就可以再终端中输入sudo apt-get install gcc,这样就能帮你装好gcc软件,如果源里没有这个软件时,此命令就没法完成. 当然,如果你要删除软件时,可以再终端中输

[ubuntu]deb软件源

虽然ubuntu的中国服务器的速度已经非常不错,但是难免,会有网络不畅的情形,所以修改软件源地址是一个基础的知识点. 修改ubuntu的软件源的方式有多种,一直是通过ubuntu软件中心提供的UI,还有一种就是通过编辑/etc/apt/sources.list配置文件. UI操作 通过软件中心配置软件源比较简单,直接打开ubuntu软件中心,顶部菜单里 编辑(E)->软件源(S)-即可配置软件源地址,安装时选择中文的话,默认应该是ubuntu的中国服务器.这个速度还可以. 编辑配置文件 做好备份

Ubuntu16.04更新软件源,执行apt-get update时出现“The following signatures couldn't be verified”错误

Ubuntu16.04中科大软件源: deb http://mirrors.ustc.edu.cn/ubuntu/ trusty universe deb-src http://mirrors.ustc.edu.cn/ubuntu/ trusty universe Ubuntu16.04更新为中科大的软件源后,执行apt-get update时出现以下错误: W: GPG error: https://mirrors.ustc.edu.cn trusty InRelease: The follo

kali linux 更新软件源,安装中文输入法

1. 更新软件源打开sources.list文件,进行添加更新源:leafpad /etc/apt/sources.list 2. 添加软件源#官方源 deb http://http.kali.org/kali kali main non-free contrib deb-src http://http.kali.org/kali kali main non-free contrib deb http://security.kali.org/kali-security kali/updates

ubuntu12.04更新软件源时出现校验和不符

在执行update命令之后,出现系统校验和不符,网上找了一些方法,最后在大神的帮助下终于解决了!! 1.更改 /etc/apt/apt.conf.d/00aptitude 文件,在最后一行加入: Acquire::CompressionTypes::Order "gz"; 然后执行 update就可以了. (我是用这个方法解决的) 2.在软件更新管理器中点击右下角的"设置",在其它软件中把两个"独立"前边的对勾去掉.这个方法解决了一些朋友的问题,

连接不上cn.archive.ubuntu.com软件源问题

问题描述:无法连接上cn.archive.ubuntu.com软件源 解决方法:更换软件源,进入源列表中,执行sudo vim /etc/apt/sources.list ,将cn.archive.ubuntu.com替换为其它的源,ubuntu 16.04版本可替换的源参看下图,其它版本可进入http://wiki.ubuntu.org.cn/%E6%BA%90%E5%88%97%E8%A1%A8查询不同版本的ubuntu系统对应的源列表 替换完成后,刷新下载列表,执行sudo apt-get

Ubuntu非LTS长久支持版不能用apt-get更新软件源的问题

参考文献链接:http://blog.csdn.net/jscese/article/details/39010273 情况: 目前Ubutun版本更新迭代太快-常规版本的维护期都比较短,基本一年以内,只有LTS版本才会长久支持3-5年. 但是对于已经不再维护的旧版本ubuntu,官方提供old源用于更新和安装软件 操作步骤: 一. 首先备份Ubuntu Linux 的源列表(也可以不备份,直接把新地址加在后面) sudo cp /etc/apt/sources.list /etc/apt/so