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

     

     

     

  • 相关阅读:
    hadoop 环境配置
    批量生成不同尺寸的图片
    如何生成publish windows app 用到的 pfx 文件
    MVC项目用Windsor注入
    UWP textbox 只能输入数字
    power shell upload file to azure storage
    Checkbox can't checked
    安装部署 Goaccess
    阿里云OSS的Bucket容量大小采集
    1. Nagios和 NagiosQL安装及配置
  • 原文地址:https://www.cnblogs.com/LoTGu/p/6204331.html
Copyright © 2011-2022 走看看