您尚未登录。

#1 2013-11-11 15:07:07

timxx
会员
注册时间: 2013-03-17
帖子: 21

Arch同步不了。。

pacman -Syu 就来这个错误
error: failed retrieving file 'core.db' from xxxxx
国内几个源都开了的,都不行

另外,网络环境是换了个地方的,/etc/resolve.conf加上8.8.8.8之前只能访问几个网站,而且很慢
(同个机器Ubuntu就没问题)

现在加了Google DNS虽然可以上网了,
但pacman还是更新不了,加不加那DNS都一样
这什么情况啊,软件啥的都没法更新(yaourt倒还可以用)

离线

#2 2013-11-11 15:51:21

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,919
个人网站

Re: Arch同步不了。。

不应该是 /etc/resolv.conf 么?

pacman 报错没有说是为什么失败?是 DNS 解析失败吗?你手工解析一下 pacman 没能解析成功的域名呢?

离线

#3 2013-11-11 17:06:01

timxx
会员
注册时间: 2013-03-17
帖子: 21

Re: Arch同步不了。。

百合仙子 说:

不应该是 /etc/resolv.conf 么?

pacman 报错没有说是为什么失败?是 DNS 解析失败吗?你手工解析一下 pacman 没能解析成功的域名呢?

:: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirrors.163.com : Resolving timed out after 10518 milliseconds
error: failed retrieving file 'core.db' from mirrors.neusoft.edu.cn : Resolving timed out after 10519 milliseconds
error: failed retrieving file 'core.db' from mirrors.tuna.tsinghua.edu.cn : Resolving timed out after 10519 milliseconds
error: failed retrieving file 'core.db' from mirrors.ustc.edu.cn : Resolving timed out after 10518 milliseconds
error: failed retrieving file 'core.db' from mirrors6.ustc.edu.cn : Resolving timed out after 10518 milliseconds
error: failed retrieving file 'core.db' from hkg.mirror.rackspace.com : Resolving timed out after 10518 milliseconds
error: failed retrieving file 'core.db' from archlinux.cs.nctu.edu.tw : Resolving timed out after 10519 milliseconds
error: failed retrieving file 'core.db' from ftp.tku.edu.tw : Resolving timed out after 10519 milliseconds
error: failed to update core (download library error)
error: failed retrieving file 'extra.db' from mirrors.163.com : Resolving timed out after 10519 milliseconds
error: failed retrieving file 'extra.db' from mirrors.neusoft.edu.cn : Resolving timed out after 10520 milliseconds
error: failed retrieving file 'extra.db' from mirrors.tuna.tsinghua.edu.cn : Resolving timed out after 10518 milliseconds
error: failed retrieving file 'extra.db' from mirrors.ustc.edu.cn : Resolving timed out after 10519 milliseconds
error: failed retrieving file 'extra.db' from mirrors6.ustc.edu.cn : Resolving timed out after 10519 milliseconds
error: failed retrieving file 'extra.db' from hkg.mirror.rackspace.com : Resolving timed out after 10518 milliseconds
error: failed retrieving file 'extra.db' from archlinux.cs.nctu.edu.tw : Resolving timed out after 10519 milliseconds
error: failed retrieving file 'extra.db' from ftp.tku.edu.tw : Resolving timed out after 10519 milliseconds
error: failed to update extra (download library error)
error: failed retrieving file 'community.db' from mirrors.163.com : Resolving timed out after 10519 milliseconds
error: failed retrieving file 'community.db' from mirrors.neusoft.edu.cn : Resolving timed out after 10518 milliseconds
error: failed retrieving file 'community.db' from mirrors.tuna.tsinghua.edu.cn : Resolving timed out after 10519 milliseconds
error: failed retrieving file 'community.db' from mirrors.ustc.edu.cn : Resolving timed out after 10520 milliseconds
error: failed retrieving file 'community.db' from mirrors6.ustc.edu.cn : Resolving timed out after 10520 milliseconds
error: failed retrieving file 'community.db' from hkg.mirror.rackspace.com : Resolving timed out after 10519 milliseconds
error: failed retrieving file 'community.db' from archlinux.cs.nctu.edu.tw : Resolving timed out after 10518 milliseconds
error: failed retrieving file 'community.db' from ftp.tku.edu.tw : Resolving timed out after 10518 milliseconds
error: failed to update community (download library error)
error: failed retrieving file 'multilib.db' from mirrors.163.com : Resolving timed out after 10520 milliseconds
error: failed retrieving file 'multilib.db' from mirrors.neusoft.edu.cn : Resolving timed out after 10519 milliseconds
error: failed retrieving file 'multilib.db' from mirrors.tuna.tsinghua.edu.cn : Resolving timed out after 10520 milliseconds
error: failed retrieving file 'multilib.db' from mirrors.ustc.edu.cn : Resolving timed out after 10517 milliseconds
error: failed retrieving file 'multilib.db' from mirrors6.ustc.edu.cn : Resolving timed out after 10518 milliseconds
error: failed retrieving file 'multilib.db' from hkg.mirror.rackspace.com : Resolving timed out after 10518 milliseconds
error: failed retrieving file 'multilib.db' from archlinux.cs.nctu.edu.tw : Resolving timed out after 10518 milliseconds
error: failed retrieving file 'multilib.db' from ftp.tku.edu.tw : Resolving timed out after 10518 milliseconds
error: failed to update multilib (download library error)
error: failed to synchronize any databases
error: failed to init transaction (download library error)

这就么一堆,但是复制那些mirrors到FF是可以访问的

离线

#4 2013-11-11 22:53:32

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,919
个人网站

Re: Arch同步不了。。

火狐的情况可能比较复杂。试试这个命令呢:

wget mirrors.163.com

以及,host mirrors.163.com 呢?

离线

#5 2013-11-12 08:58:32

timxx
会员
注册时间: 2013-03-17
帖子: 21

Re: Arch同步不了。。

百合仙子 说:

火狐的情况可能比较复杂。试试这个命令呢:

wget mirrors.163.com

以及,host mirrors.163.com 呢?

额,wget跟host系统都没装有,我用curl,提示
curl: (6) Could not resolve host: mirros.163.com

这都什么情况啊,搞不懂了,FF/Chrome都能正常访问的(不过感觉有点慢)

离线

#6 2013-11-12 09:14:59

timxx
会员
注册时间: 2013-03-17
帖子: 21

Re: Arch同步不了。。

好吧,我把ipv6禁用了(参考https://wiki.archlinux.org/index.php/IPv6#Disable_IPv6),
就可以更新了,这毛线问题啊

离线

#7 2013-11-12 10:34:42

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,919
个人网站

Re: Arch同步不了。。

timxx 说:

好吧,我把ipv6禁用了(参考https://wiki.archlinux.org/index.php/IPv6#Disable_IPv6),
就可以更新了,这毛线问题啊

不知道。也许你的 DNS 是通过 IPv6 的某个协议获取的,然后它又用不了?

离线

页脚