当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 5 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : apt-get update failed: Connection failed
帖子发表于 : 2016-12-15 13:02 

注册: 2008-06-06 11:09
帖子: 3
送出感谢: 0 次
接收感谢: 0 次
Recently, I change my software Repo source, My ubuntu is 14.04 in a virtualbox. I changet the source to aliyun

some code snippet is below

$ cat /etc/apt/sources.list
abbott@abbott-VirtualBox:/software/jeffy-vim-read$ cat /etc/apt/sources.list
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse


when I exec the update, it says:

W:Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/ ... elease.gpg Connection failed [IP: 115.28.122.210 80]
But if I copy the link to Firefox, I can open and download the file, but the software & Update Center or the command line can't do update.

Could anyone help to figure out why this happens?


页首
 用户资料  
 
2 楼 
 文章标题 : Re: apt-get update failed: Connection failed
帖子发表于 : 2016-12-18 19:20 

注册: 2007-05-13 14:54
帖子: 35
系统: ubuntu16.04.3
送出感谢: 0 次
接收感谢: 0 次
try to use the automatic setup,系统设置/软件和更新/Ubuntu软件/下载自/其他站点/选择最佳服务器 wait a moment,then 选择服务器/关闭 wait for the automatic setup, and try the "sudo apt-get update or sudo apt-get upgrade" again.


_________________
做人要厚道
--------
MechRevo X3 + Ubuntu 16.04.2


页首
 用户资料  
 
3 楼 
 文章标题 : Re: apt-get update failed: Connection failed
帖子发表于 : 2016-12-18 19:53 

注册: 2007-01-14 16:23
帖子: 4255
送出感谢: 0 次
接收感谢: 107
14.04啊,好像有问题一段时间了,不知道是网络还是啥问题,反正就是有问题就是了,解决方法么,先不update(其实好像连install也不行)


页首
 用户资料  
 
4 楼 
 文章标题 : Re: apt-get update failed: Connection failed
帖子发表于 : 2016-12-18 20:07 

注册: 2007-05-13 14:54
帖子: 35
系统: ubuntu16.04.3
送出感谢: 0 次
接收感谢: 0 次
onlylove 写道:
14.04啊,好像有问题一段时间了,不知道是网络还是啥问题,反正就是有问题就是了,解决方法么,先不update(其实好像连install也不行)

14.04的3年支持是不是快到时间了?


_________________
做人要厚道
--------
MechRevo X3 + Ubuntu 16.04.2


页首
 用户资料  
 
5 楼 
 文章标题 : Re: apt-get update failed: Connection failed
帖子发表于 : 2016-12-18 20:34 

注册: 2009-08-04 16:33
帖子: 16893
送出感谢: 21
接收感谢: 1827
引用:
14.04的3年支持是不是快到时间了?

https://wiki.ubuntu.com/TrustyTahr/Rele ... troduction

Ubuntu 14.04 LTS will be supported for 5 years for Ubuntu Desktop, Ubuntu Server, Ubuntu Core, Kubuntu, Edubuntu, and Ubuntu Kylin.

All other flavours will be supported for 3 years.


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 5 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译