• 下载软件仓库信息失败,检查您的internet连接解决办法


    提示“下载软件仓库信息失败,检查您的internet连接”,手动检查更新时,也是如此,有图为证:

    解决办法:
    打开Ubuntu的终端,输入
     
    sudo gedit /etc/apt/sources.list
     
    删掉里边所有旧的内容,把新的源列表内容贴进去
     
    再执行:
     
    sudo apt-get update
     
    就可以生效。
     
    若是没有执行sudo apt-get update
     
    结果老是按原来的源更新,重启了也没有用。
    推荐一个不错的源(已经用以下源解决):
    deb http://mirrors.163.com/ubuntu/ oneiric main restricted universe multiverse
    deb http://mirrors.163.com/ubuntu/ oneiric-security main restricted universe multiverse
    deb http://mirrors.163.com/ubuntu/ oneiric-updates main restricted universe multiverse
    deb http://mirrors.163.com/ubuntu/ oneiric-proposed main restricted universe multiverse
    deb http://mirrors.163.com/ubuntu/ oneiric-backports main restricted universe multiverse
    deb-src http://mirrors.163.com/ubuntu/ oneiric main restricted universe multiverse
    deb-src http://mirrors.163.com/ubuntu/ oneiric-security main restricted universe multiverse
    deb-src http://mirrors.163.com/ubuntu/ oneiric-updates main restricted universe multiverse
    deb-src http://mirrors.163.com/ubuntu/ oneiric-proposed main restricted universe multiverse
    deb-src http://mirrors.163.com/ubuntu/ oneiric-backports main restricted universe multiverse
     
    deb http://archive.ubuntu.com/ubuntu/ oneiric main restricted universe multiverse
    deb http://archive.ubuntu.com/ubuntu/ oneiric-security main restricted universe multiverse
    deb http://archive.ubuntu.com/ubuntu/ oneiric-updates main restricted universe multiverse
    deb http://archive.ubuntu.com/ubuntu/ oneiric-proposed main restricted universe multiverse
    deb http://archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
    deb-src http://archive.ubuntu.com/ubuntu/ oneiric main restricted universe multiverse
    deb-src http://archive.ubuntu.com/ubuntu/ oneiric-security main restricted universe multiverse
    deb-src http://archive.ubuntu.com/ubuntu/ oneiric-updates main restricted universe multiverse
    deb-src http://archive.ubuntu.com/ubuntu/ oneiric-proposed main restricted universe multiverse
    deb-src http://archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
  • 相关阅读:
    《那些年啊,那些事——一个程序员的奋斗史》——72
    《那些年啊,那些事——一个程序员的奋斗史》——74
    《那些年啊,那些事——一个程序员的奋斗史》——71
    《那些年啊,那些事——一个程序员的奋斗史》——72
    boost asio 学习(二)了解boost::bind
    boost asio 学习(四)使用strand将任务排序
    boost asio 网络聊天 代码修改学习
    asio 广播代码示例
    c++ 博客资源
    boost::asio 学习草稿
  • 原文地址:https://www.cnblogs.com/evilloop/p/2829750.html
Copyright © 2020-2023  润新知