网页可以打开,但用软件中心和sudo apt-get install ***下载就会报错

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
qiaojiuyuan
帖子: 5
注册时间: 2014-03-15 23:10
系统: win7

网页可以打开,但用软件中心和sudo apt-get install ***下载就会报错

#1

帖子 qiaojiuyuan » 2015-09-07 14:51

我可以打开网页,用火狐也可以下载,但用软件中心和命令就下载不了。每次下载都会提示:下载软件仓库信息失败,检查您的网络连接。我不会发图片,不然可以把截图发上来给大家看看...不知道是哪里出了问题,困扰了我好久,请大家帮忙看看,感谢!
头像
jjkppo
帖子: 157
注册时间: 2007-11-09 1:35
联系:

Re: 网页可以打开,但用软件中心和sudo apt-get install ***下载就会报错

#2

帖子 jjkppo » 2015-09-07 14:57

可尝试过

代码: 全选

sudo apt-get update

代码: 全选

sudo apt-get update 钱包
sudo apt-get install 老婆
qiaojiuyuan
帖子: 5
注册时间: 2014-03-15 23:10
系统: win7

Re: 网页可以打开,但用软件中心和sudo apt-get install ***下载就会报错

#3

帖子 qiaojiuyuan » 2015-09-07 15:10

jjkppo 写了:可尝试过

代码: 全选

sudo apt-get update
刚试了下你的这个更新命令,我这报错。如下:
W: 无法下载 http://mirrors.163.com/ubuntu/dists/tru ... slation-en 连接失败 [IP: 123.58.173.186 80]

W: 无法下载 http://extras.ubuntu.com/ubuntu/dists/t ... ce/Sources 连接失败 [IP: 91.189.92.152 80]

W: 无法下载 http://extras.ubuntu.com/ubuntu/dists/t ... 4/Packages 连接失败 [IP: 91.189.92.152 80]

W: 无法下载 http://extras.ubuntu.com/ubuntu/dists/t ... 6/Packages 连接失败 [IP: 91.189.92.152 80]

W: 无法下载 http://extras.ubuntu.com/ubuntu/dists/t ... tion-zh_CN 连接失败 [IP: 91.189.92.152 80]

W: 无法下载 http://extras.ubuntu.com/ubuntu/dists/t ... slation-zh 连接失败 [IP: 91.189.92.152 80]

W: 无法下载 http://extras.ubuntu.com/ubuntu/dists/t ... slation-en 连接失败 [IP: 91.189.92.152 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
头像
chattan
帖子: 3922
注册时间: 2007-07-11 20:59
联系:

Re: 网页可以打开,但用软件中心和sudo apt-get install ***下载就会报错

#4

帖子 chattan » 2015-09-07 15:16

1.排除网络问题
2.换软件源,比如163或者sohu
qiaojiuyuan
帖子: 5
注册时间: 2014-03-15 23:10
系统: win7

Re: 网页可以打开,但用软件中心和sudo apt-get install ***下载就会报错

#5

帖子 qiaojiuyuan » 2015-09-07 15:21

chattan 写了:1.排除网络问题
2.换软件源,比如163或者sohu

换软件源为sohu或163后重新加载报错。提示我检查网络连接。报错如下:
W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/trusty/Release.gpg Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... elease.gpg Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... elease.gpg Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... elease.gpg Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... ce/Sources Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... ce/Sources Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... ce/Sources Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... ce/Sources Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 4/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 4/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 4/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 4/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 6/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 6/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 6/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 6/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... slation-en Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... slation-en Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... slation-en Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... slation-en Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... ce/Sources Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... ce/Sources Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... ce/Sources Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... ce/Sources Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 4/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 4/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 4/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 4/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 6/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 6/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 6/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 6/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... slation-en Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... slation-en Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... slation-en Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... slation-en Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... ce/Sources Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... ce/Sources Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... ce/Sources Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... ce/Sources Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 4/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 4/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 4/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 4/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 6/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 6/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 6/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 6/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... slation-en Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... slation-en Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... slation-en Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... slation-en Connection failed
, W:Failed to fetch http://extras.ubuntu.com/ubuntu/dists/t ... elease.gpg Connection failed [IP: 91.189.92.152 80]
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... ce/Sources Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... ce/Sources Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... ce/Sources Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... ce/Sources Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 4/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 4/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 4/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 4/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 6/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 6/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 6/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... 6/Packages Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... slation-en Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... slation-en Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... slation-en Connection failed
, W:Failed to fetch http://mirrors.sohu.com/ubuntu/dists/tr ... slation-en Connection failed
, W:Failed to fetch http://extras.ubuntu.com/ubuntu/dists/t ... ce/Sources Connection failed [IP: 91.189.92.152 80]
, W:Failed to fetch http://extras.ubuntu.com/ubuntu/dists/t ... 4/Packages Connection failed [IP: 91.189.92.152 80]
, W:Failed to fetch http://extras.ubuntu.com/ubuntu/dists/t ... 6/Packages Connection failed [IP: 91.189.92.152 80]
, W:Failed to fetch http://extras.ubuntu.com/ubuntu/dists/t ... slation-en Connection failed [IP: 91.189.92.152 80]
, E:Some index files failed to download. They have been ignored, or old ones used instead.
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 网页可以打开,但用软件中心和sudo apt-get install ***下载就会报错

#6

帖子 poloshiao » 2015-09-07 15:58

http://extras.ubuntu.com/ubuntu/dists/t ... 4/Packages Connection
1. 把
deb http://extras.ubuntu.com/ubuntu trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main
暫時給為
# deb http://extras.ubuntu.com/ubuntu trusty main
# deb-src http://extras.ubuntu.com/ubuntu trusty main
一段時間以後 再嘗試改回來
换软件源为sohu或163后重新加载报错。提示我检查网络连接。报错如下:
2. 看看能否自動選擇最佳下載伺服器
http://blog.longwin.com.tw/2011/02/ubun ... tory-2011/
头像
alinmn
帖子: 185
注册时间: 2006-05-19 21:42
来自: NIT

Re: 网页可以打开,但用软件中心和sudo apt-get install ***下载就会报错

#7

帖子 alinmn » 2016-06-13 13:46

@ qiaojiuyuan,你的问题解决了吗?遇到相同问题,搞不定。
rosynirvana
帖子: 893
注册时间: 2011-02-14 17:46

Re: 网页可以打开,但用软件中心和sudo apt-get install ***下载就会报错

#8

帖子 rosynirvana » 2016-06-13 14:23

首先看看能不能在浏览器里面访问提供更新源的服务器
bobby_winon
帖子: 236
注册时间: 2008-01-31 12:39

Re: 网页可以打开,但用软件中心和sudo apt-get install ***下载就会报错

#9

帖子 bobby_winon » 2016-06-16 14:16

我用阿里云(aliyun),有时候也会用台湾的源。那个快就用那个。
什么是linux,linux就是没有窗户,更没有大门的小黑屋。听说unix是他爹,mac os和ios是他同父异母的兄弟。android、ps、ps2、ps3、ps4和很多超级电脑都关在小黑屋里。我也在里面,不过很快乐!
回复