国内老版本ubuntu更新源地址以及sources.list的配置方法
在终端输入并运行
sudo apt-get install vim
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup (备份当前的源列表,以便日後需要时恢复)
sudo vim /etc/apt/sources.list (修改sources.list文件中源的列表)
sources.list文件中注释原有的并添加
1.国内可用的更新源地址:(1)中科大地址 http://mirrors.ustc.edu.cn/ubuntu-old-releases (2)163 http://mirrors.163.com (3)其它资源
2.sources.list配置方法
(1)打开sources.list
$sudo vim /etc/apt/sources.list
(2)填写更新源的地址,格式如下:
deb 源地址/ubuntu/ 版本代号 main restricted universe multiverse
deb 源地址/ubuntu/ 版本代号-security main restricted universe multiverse
deb 源地址/ubuntu/ 版本代号-updates main restricted universe multiverse
deb 源地址/ubuntu/ 版本代号-proposed main restricted universe multiverse
deb 源地址/ubuntu/ 版本代号-backports main restricted universe multiverse
deb-src 源地址/ubuntu/ 版本代号 main restricted universe multiverse
deb-src 源地址/ubuntu/ 版本代号-security main restricted universe multiverse
deb-src 源地址/ubuntu/ 版本代号-updates main restricted universe multiverse
deb-src 源地址/ubuntu/ 版本代号-proposed main restricted universe multiverse
deb-src 源地址/ubuntu/ 版本代号-backports main restricted universe multiverse
注意:版本代号的首字母大小写要根据源地址子文件名对应(国内通常为小写)!
(3)举例
举例1:中科大ubuntu8.10(intrepid)更新源的内容格式
deb http://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ intrepid main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ intrepid-security main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ intrepid-updates main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ intrepid-proposed main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ intrepid main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ intrepid-security main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ intrepid-updates main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ intrepid-proposed main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ intrepid-backports main restricted universe multiverse
举例2:中科大ubuntu14.10(utopic)更新源的内容格式
deb http://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ utopic main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ utopic-security main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ utopic-updates main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ utopic-proposed main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ utopic-backports main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ utopic main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ utopic-security main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ utopic-updates main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ utopic-proposed main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ utopic-backports main restricted universe multiverse
说明:
中科大支持的老版本ubuntu源(ubuntu-old-releases)有:
breezy/
dapper/
edgy/
feisty/
gutsy/
hardy/
hoary/
intrepid/
jaunty/
karmic/
lucid/
maverick/
natty/
oneiric/
quantal/
raring/
saucy/
utopic/
warty/
如果是长期更新源(带有LTS后缀)其格式如下:
举例3:中科大ubuntu12.04(precise)更新源的内容格式
deb http://debian.ustc.edu.cn/ubuntu/ precise main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ precise-backports restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ precise-security main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ precise main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ precise-security main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
举例4:163的ubuntu15.10(wily)更新源的内容格式
deb http://mirrors.163.com/ubuntu/ wily main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ wily-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ wily-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ wily-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ wily-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ wily main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ wily-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ wily-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ wily-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ wily-backports main restricted universe multiverse
3. ubuntu版本号与版本代号对应关系
Ubuntu 的开发代号有三个特点
- 都是动物
- 都是两个词,并且两个词的首字母相同
- 从6.06开始,首字母从D开始递增
Ubuntu 历史版本一览表
| 版本号 | 代号 | 发布时间 |
|---|---|---|
| 16.04 LTS | Xenial Xerus 好客的非洲地松鼠 |
即将发布 2016/4 |
| 15.10 | Wily Werewolf 狡诈的狼人 |
2015/10/22 |
| 15.04 | Vivid Vervet 活泼的小猴 |
2015/04/23 |
| 14.10 | Utopic Unicorn 乌托邦独角兽 |
2014/10/23 |
| 14.04 LTS | Trusty Tahr 值得信赖的塔尔羊 |
2014/04/18 |
| 13.10 | Saucy Salamander 活泼的蝾螈 |
2013/10/17 |
| 13.04 | Raring Ringtail 铆劲浣熊 |
2013/04/25 |
| 12.10 | Quantal Quetzal 缤纷的绿咬鹃 |
2012/10/18 |
| 12.04 LTS | Precise Pangolin 精准的穿山甲 |
2012/04/26 |
| 11.10 | Oneiric Ocelot 有梦的虎猫 |
2011/10/13 |
11.04 Unity成为默认桌面环境 |
Natty Narwhal 敏捷的独角鲸 |
2011/04/28 |
| 10.10 | Maverick Meerkat 标新立异的的狐獴 |
2010/10/10 |
| 10.04 LTS | Lucid Lynx 清醒的猞猁 |
2010/04/29 |
| 9.10 | Karmic Koala 幸运的无尾熊 |
2009/10/29 |
| 9.04 | Jaunty Jackalope 活泼的兔子 |
2009/04/23 |
| 8.10 | Intrepid Ibex 无畏的高地山羊 |
2008/10/30 |
8.06 官方查不到此版本发布信息 |
Haughty Husky 骄傲的哈士奇 |
2008/06/07 |
| 8.04 LTS | Hardy Heron 坚强的苍鹭 |
2008/04/24 |
| 7.10 | Gutsy Gibbon 勇敢的长臂猿 |
2007/10/18 |
| 7.04 | Feisty Fawn 烦躁不安的小鹿 |
2007/04/19 |
| 6.10 | Edgy Eft 尖利的小蜥蜴 |
2006/10/26 |
| 6.06 LTS | Dapper Drake 整洁的公鸭 |
2006/06/01 |
| 5.10 | Breezy Badger 活泼的獾 |
2005/10/13 |
| 5.04 | Hoary Hedgehog 白发得刺猬 |
2005/04/08 |
4.10 初始发布版本 |
Warty Warthog 多疣的疣猪 |
2004/10/20 |
4. 更新源地址
$sudo apt-get update
以下命令请选择性使用!
$sudo apt-get upgrade
(使所有的系统软件更新至最新!)
5. 参考资料
官方老版本源:
deb http://old-releases.ubuntu.com/ubuntu/ karmic main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ karmic-security main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ karmic-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ karmic-proposed main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ karmic main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ karmic-security main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ karmic-updates main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ karmic-proposed main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
其他Ubuntu Linux版本的只需要讲karmic改成其版本代号即可。这样过期后的版本也可以继续使用了。
国内老版本ubuntu更新源地址以及sources.list的配置方法的更多相关文章
- 老版本ubuntu更新源地址以及sources.list的配置方法 转
转自(http://blog.csdn.net/snaking616/article/details/52966634) 1.国内可用的更新源地址: (1)中科大地址 http://mirrors.u ...
- [转载] 老版本ubuntu 更新源
untu的普通版本支持的时间都有限,过了支持的时间,更新源都会被停用,比如ubuntu9.10原来的源都失效了(包括官方源,类似ustc的第 三方源,因为这些第三方源也是和官方源同步的).因此,直接用 ...
- 关于老版本ubuntu源不能用的问题
在解决方向键为大写ABCD时安装vim 我的是Ubuntu 10.10 老版本 输入 sudo apt-get install vim 时出现 Package 'vim' has no install ...
- [转] 停止支持的老版本ubuntu源列表-old-releases
我使用的是ubuntu 9.10,在网上找了大半个月之后,今天终于找到了可用的源地址.感谢这位cgjcgs仁兄. 点击阅读原文 ubuntu的普通版本支持的时间都有限,过了支持的时间,更新源都会被停用 ...
- centos 6.4 更新源地址
执行如下命令: mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.old vim /etc/yum.repo ...
- Ubuntu 下 Apache2 和 PHP 服务器环境配置
Ubuntu 下 Apache2 和 PHP 服务器环境配置 1.简介 本文主要是 Ubuntu 下 Apache2 和 PHP 服务器环境配置方法,同样适用于 Debian 系统:Ubuntu 20 ...
- Ubuntu 更新国内镜像源失败
Ubuntu 更新国内镜像源失败 首先打开系统原来的/etc/apt/sources.list 查看,原来的仓库地址是 https 还是 http 如果是http那么说明本机的 CA 证书有问题,运行 ...
- 微软Hololens学院教程-Hologram 211-Gestures(手势)【微软教程已经更新,本文是老版本】
这是老版本的教程,为了不耽误大家的时间,请直接看原文,本文仅供参考哦!原文链接:https://developer.microsoft.com/EN-US/WINDOWS/HOLOGRAPHIC/ho ...
- 微软Hololens学院教程-Hologram 210 Gaze(凝视)【微软教程已经更新,本文是老版本】
这是老版本的教程,为了不耽误大家的时间,请直接看原文,本文仅供参考哦!原文链接:https://developer.microsoft.com/EN-US/WINDOWS/HOLOGRAPHIC/ho ...
随机推荐
- SortedSet的实现类是TreeSet:它的作用是字为添加到TreeSet中的元素排序。
SortedSet可自动为元素排序. SortedSet的实现类是TreeSet:它的作用是字为添加到TreeSet中的元素排序. 练习:自定义类用TreeSet排序. 与HashSet不同, ...
- win10 安装node.js node.js 安装成功但npm -v 报错问题解决
错误症状官网下载node-v8 .node-v10 的msi 安装进行安装. npm -v 错误如下 0 info it worked if it ends with ok 1 verbose cli ...
- SpringBoot 推荐博客
http://412887952-qq-com.iteye.com/category/356333
- MongoDB学习总结(二)
前言:学习札记! MongoDB学习总结(二) 1. 安装.初识 之前写过一篇MongoDB的快速上手文章,里边详细的讲了如何安装.启动MongoDB,这里就不再累述安装过程,简单介绍一下Mongo ...
- Linux下Qt Creator编辑器无法输入中文解决
Ubuntu安装了搜狗输入法,在浏览器中可以使用,但是在Qt Creator中却无法输入中文. 解决办法: 执行sudo apt-get install fcitx-libs-qt5 该命令将库文件l ...
- 一个有界任务队列的thradpoolexcutor, 直接捕获错误日志
基于官方的需要改版 1.改为有界,官方是吧所有任务添加到线程池的queue队列中,这样内存会变大,也不符合分布式的逻辑(会把中间件的所有任务一次性取完,放到本地的queue队列中,导致分布式变差) 2 ...
- java字符串池和字符串堆内存分配
1. String str=new String("abc")和String str="abc"的字符串“abc”都是存放在堆中,而不是存在 栈中. 2. 其实 ...
- TIJ -- CountDownLatch
1. 2. Class : CountDownLatchDemo package lime.thinkingInJava._021._007._001; import java.sql.Time; i ...
- redis数据操作笔记
redis是key-value的数据结构,每条数据都是一个键值对键的类型是字符串 注意:键不能重复,值的类型分为五种:字符串string 哈希hash 列表list 集合set 有序集合zset 一. ...
- 【Linux常用工具】
tmux - 终端分屏工具 man - Help cat/more/less - 文件阅读 less还具有字符串搜索功能