ubuntu更换源解决--“下载软件仓库信息失败,检查您的internet连接”

前端之家收集整理的这篇文章主要介绍了ubuntu更换源解决--“下载软件仓库信息失败,检查您的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
原文链接:https://www.f2er.com/ubuntu/354046.html

猜你在找的Ubuntu相关文章