• 下载软件仓库信息失败,检查您的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
  • 相关阅读:
    HTML a标签的href 属性 tel 点击可以直接拨打电话 ( 移动端 )
    【集群实战】NFS网络文件共享服务3-相关知识补充(showmount,exports,rpc)
    【集群实战】NFS网络文件共享服务2-mount挂载(参数,优化)
    Linux发送邮件命令mail,mutt
    【集群实战】NFS服务常见故障排查和解决方法
    【集群实战】NFS网络文件共享服务
    【集群实战】Rsync试题-异机数据备份解决方案
    【集群实战】Rsync常见错误总结
    【集群实战】Rsync数据同步工具
    【shell】Shell变量基础及深入
  • 原文地址:https://www.cnblogs.com/evilloop/p/2829750.html
Copyright © 2020-2023  润新知