• ubuntu10.4的更新源因过期无法更新的解决方法


     

    转载自:http://blog.csdn.net/suquan629/article/details/52333769

    ubuntu10.42016年早已停止了更新支持,ubuntu也不再维护了。官方源以及第三方源包括163sohu等也不再维护。那是不是意味着这个版本的ubuntu只能放弃使用?

    当然不是的!!!

    为了解决这个问题,ubuntu提供了old-release的方案,通过命令行更新源如下:

    sudo gedit /etc/apt/sources.list打开源列表文件,把里面的地址全删除,然后换上如下的地址,如果你是其他版本的,把lucid替换即可。

    deb http://old-releases.ubuntu.com/ubuntu lucid main restricted universe multiverse  
    deb http://old-releases.ubuntu.com/ubuntu lucid-security main restricted universe multiverse  
    deb http://old-releases.ubuntu.com/ubuntu lucid-updates main restricted universe multiverse  
    deb http://old-releases.ubuntu.com/ubuntu lucid-proposed main restricted universe multiverse  
    deb http://old-releases.ubuntu.com/ubuntu lucid-backports main restricted universe multiverse  
    deb-src http://old-releases.ubuntu.com/ubuntu lucid main restricted universe multiverse  
    deb-src http://old-releases.ubuntu.com/ubuntu lucid-security main restricted universe multiverse  
    deb-src http://old-releases.ubuntu.com/ubuntu lucid-updates main restricted universe multiverse  
    deb-src http://old-releases.ubuntu.com/ubuntu lucid-proposed main restricted universe multiverse  
    deb-src http://old-releases.ubuntu.com/ubuntu lucid-backports main restricted universe multiverse 

    然后再运行sudo apt-get update

     

     

     

  • 相关阅读:
    linux shell中 if else以及大于、小于、等于逻辑表达式
    下载chrome插件和离线安装CRX文件的方法
    ROM、PROM、EPROM、EEPROM、FLASH ROM简介
    Scientific Toolworks Understand
    C和C++相互调用
    ubuntu 问题
    ubuntu 精简配置
    Linux i2c 读写程序
    是armhf,还是armel?
    Linux Free命令每个数字的含义 和 cache 、buffer的区别
  • 原文地址:https://www.cnblogs.com/LoTGu/p/6204331.html
Copyright © 2020-2023  润新知