首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法启动到ph.archive.ubuntu.com:80的连接

无法启动到ph.archive.ubuntu.com:80的连接
EN

Ask Ubuntu用户
提问于 2015-10-11 01:51:33
回答 1查看 1.1K关注 0票数 1

我阅读了十几个sudo apt-get update问题,并尝试了其中提出的解决方案。他们都不起作用。我刚刚在我的笔记本上安装了Lubuntu15.04,它和Windows 8一起双引导。当我运行sudo apt-get update时,我会得到以下错误:

代码语言:javascript
复制
Err http://ph.archive.ubuntu.com vivid InRelease                                                                                                                       
Err http://ph.archive.ubuntu.com vivid-updates InRelease       
Err http://ph.archive.ubuntu.com vivid-backports InRelease     
Err http://ph.archive.ubuntu.com vivid Release.gpg             
  Cannot initiate the connection to ph.archive.ubuntu.com:80 (2001:d18:0:23::172). - connect (101: Network is unreachable) [IP: 2001:d18:0:23::172 80]
Err http://ph.archive.ubuntu.com vivid-updates Release.gpg
  Cannot initiate the connection to ph.archive.ubuntu.com:80 (2001:d18:0:23::172). - connect (101: Network is unreachable) [IP: 2001:d18:0:23::172 80]
Err http://ph.archive.ubuntu.com vivid-backports Release.gpg
  Cannot initiate the connection to ph.archive.ubuntu.com:80 (2001:d18:0:23::172). - connect (101: Network is unreachable) [IP: 2001:d18:0:23::172 80]
Fetched 19.7 kB in 2min 0s (163 B/s)
Reading package lists... Done
W: Failed to fetch http://ph.archive.ubuntu.com/ubuntu/dists/vivid/InRelease  

W: Failed to fetch http://ph.archive.ubuntu.com/ubuntu/dists/vivid-updates/InRelease  
W: Failed to fetch http://ph.archive.ubuntu.com/ubuntu/dists/vivid-backports/InRelease  
W: Failed to fetch http://ph.archive.ubuntu.com/ubuntu/dists/vivid/Release.gpg  Cannot initiate the connection to ph.archive.ubuntu.com:80 (2001:d18:0:23::172). - connect (101: Network is unreachable) [IP: 2001:d18:0:23::172 80]
W: Failed to fetch http://ph.archive.ubuntu.com/ubuntu/dists/vivid-updates/Release.gpg  Cannot initiate the connection to ph.archive.ubuntu.com:80 (2001:d18:0:23::172). - connect (101: Network is unreachable) [IP: 2001:d18:0:23::172 80]
W: Failed to fetch http://ph.archive.ubuntu.com/ubuntu/dists/vivid-backports/Release.gpg  Cannot initiate the connection to ph.archive.ubuntu.com:80 (2001:d18:0:23::172). - connect (101: Network is    unreachable) [IP: 2001:d18:0:23::172 80]

这是我的sources.list:

代码语言:javascript
复制
# deb cdrom:[Lubuntu 15.04 _Vivid Vervet_ - Release amd64 (20150422)]/  vivid main multiverse restricted universe

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ph.archive.ubuntu.com/ubuntu/ vivid main restricted
deb-src http://ph.archive.ubuntu.com/ubuntu/ vivid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ph.archive.ubuntu.com/ubuntu/ vivid-updates main restricted
deb-src http://ph.archive.ubuntu.com/ubuntu/ vivid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ph.archive.ubuntu.com/ubuntu/ vivid universe
deb-src http://ph.archive.ubuntu.com/ubuntu/ vivid universe
deb http://ph.archive.ubuntu.com/ubuntu/ vivid-updates universe
deb-src http://ph.archive.ubuntu.com/ubuntu/ vivid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ph.archive.ubuntu.com/ubuntu/ vivid multiverse
deb-src http://ph.archive.ubuntu.com/ubuntu/ vivid multiverse
deb http://ph.archive.ubuntu.com/ubuntu/ vivid-updates multiverse
deb-src http://ph.archive.ubuntu.com/ubuntu/ vivid-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://ph.archive.ubuntu.com/ubuntu/ vivid-backports main restricted universe multiverse
deb-src http://ph.archive.ubuntu.com/ubuntu/ vivid-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu vivid-security main restricted
deb-src http://security.ubuntu.com/ubuntu vivid-security main restricted
deb http://security.ubuntu.com/ubuntu vivid-security universe
deb-src http://security.ubuntu.com/ubuntu vivid-security universe
deb http://security.ubuntu.com/ubuntu vivid-security multiverse
deb-src http://security.ubuntu.com/ubuntu vivid-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu vivid partner
deb-src http://archive.canonical.com/ubuntu vivid partner
EN

回答 1

Ask Ubuntu用户

发布于 2015-10-11 03:02:11

我建议您更改镜像服务,因为ph.archive.ubuntu.com似乎没有解决,这要么是因为子域已被删除,要么是存在某种奇怪的代理问题。

解决方案:将ph.archive.ubuntu.com的所有实例替换为archive.ubuntu.com,即从urls中删除ph.,保留其他所有内容。

票数 3
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/684007

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档