zoukankan      html  css  js  c++  java
  • 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

     

     

     

  • 相关阅读:
    Centos7 定时任务
    Linux启动配置文件和运行等级runlevel
    Linux 网卡命名规则
    将博客搬至CSDN
    Lua调用C++动态链接库.so
    使用shell脚本执行批量mongosh语句
    TCP和UDP详解
    经受时延的确认(Delay ACK)
    18张图带你了解衡量网络性能的四大指标:带宽、时延、抖动、丢包
    TCP学习
  • 原文地址:https://www.cnblogs.com/LoTGu/p/6204331.html
Copyright © 2011-2022 走看看