zoukankan      html  css  js  c++  java
  • [Linux]ubuntu更新支持

    之前对Ubuntu的更新支持,LTS没有深入理解,一直使用ubuntu 10.10 maverick,资源占用,效率都很满意。

    今天使用sudo apt-get install 无法安装软件,错误提示如下:

    W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/maverick/main/source/Sources.gz  404  Not Found
    W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/maverick/restricted/source/Sources.gz  404  Not Found
    W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/maverick/universe/source/Sources.gz  404  Not Found
    W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/maverick/multiverse/source/Sources.gz  404  Not Found
    W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/maverick/main/binary-i386/Packages.gz  404  Not Found
    W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/maverick/restricted/binary-i386/Packages.gz  404  Not Found
    W: Failed to fetch http://linux.dropbox.com/ubuntu/dists/maverick/main/binary-i386/Packages.gz  Connection failed [IP: 199.47.216.171 80]
    W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/maverick/universe/binary-i386/Packages.gz  404  Not Found
    W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/maverick/multiverse/binary-i386/Packages.gz  404  Not Found
    W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/maverick-updates/main/source/Sources.gz  404  Not Found
    W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/maverick-updates/restricted/source/Sources.gz  404  Not Found
    W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/maverick-updates/universe/source/Sources.gz  404  Not Found
    W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/maverick-updates/multiverse/source/Sources.gz  404  Not Found
    W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/maverick-updates/main/binary-i386/Packages.gz  404  Not Found
    W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/maverick-updates/restricted/binary-i386/Packages.gz  404  Not Found
    W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/maverick-updates/universe/binary-i386/Packages.gz  404  Not Found
    W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/maverick-updates/multiverse/binary-i386/Packages.gz  404  Not Found
    W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/main/source/Sources.gz  404  Not Found [IP: 91.189.91.13 80]
    W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/restricted/source/Sources.gz  404  Not Found [IP: 91.189.91.13 80]
    W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/universe/source/Sources.gz  404  Not Found [IP: 91.189.91.13 80]
    W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/multiverse/source/Sources.gz  404  Not Found [IP: 91.189.91.13 80]
    W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/main/binary-i386/Packages.gz  404  Not Found [IP: 91.189.91.13 80]
    W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/restricted/binary-i386/Packages.gz  404  Not Found [IP: 91.189.91.13 80]
    W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/universe/binary-i386/Packages.gz  404  Not Found [IP: 91.189.91.13 80]
    W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/multiverse/binary-i386/Packages.gz  404  Not Found [IP: 91.189.91.13 80]

    第一反应,是ubuntu支持过期了,但之前理解是“不再提供软件的官方更新”,但ubuntu 10.10中已发布版本的软件应该可以用吧。这里是我理解错误。

    访问:http://cn.archive.ubuntu.com/ubuntu/dists/ 查看,已经没有maverick的支持了。又结合http://zh.wikipedia.org/wiki/Ubuntu的长期支持版本部分内容,尤其下图:

    确定问题所在,解决方法:

    1. 升级新版本。困难,折腾,赞未考虑。

    2. 使用旧版本更新源,但目前已经没有了maverick相应支持软件目录,无法下载软件。

    Google 问题解决:http://ubuntuforums.org/archive/index.php/t-1127305.html,文中指的历史版本是ubuntu 7.04 feisty. 道理相通.
    Feisty has expired and no longer support. Therefore, the repos have been moved to http://old-releases.ubuntu.com/. You need to replace the current repos in your /etc/apt/sources.list with the new repos, http://old-releases.ubuntu.com/. deb http://old-releases.ubuntu.com/ubuntu feisty main restricted

    old-release解决方案]有效解决此问题,但尝试了下,国外的服务器速度太慢,几乎无法忍受。

    3. 考虑ubuntu 10.04是LTS版本,且于10.10差距不大,可否使用10.04的源更新安装软件。

    测试使用10.04 lucid的更新源,软件安装成功,暂时使用此方案。

    对Linux更新支持方案理解尚未深入,同时选择系统版本安装时需考虑长期更新版本,后续升级问题。下一步考虑升级到12.04了。

  • 相关阅读:
    推荐.Net、C# 逆向反编译四大工具利器
    逆向工具/反编译工具 集合
    秒杀系统-并发处理
    react动态渲染组件
    通过dom获取react节点
    mac上安装windows触摸板不能右键
    STM32F103智能配网mqtt协议EMQ安卓App远程控制LED采集温湿度ESP8266
    itop4412 基于物联网技术的商品支付系统 毕业设计
    STM32F103 单片机最小系统 核心板 C8T6 MINI 飞控 小车 主控制板
    31865 MAX31865 RTD铂电阻温度检测器 PT100至PT1000传感器模块
  • 原文地址:https://www.cnblogs.com/xfiver/p/2889538.html
Copyright © 2011-2022 走看看