LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 618|回复: 5

[解决,3L正解]更新程序时遇到的关于源的奇怪问题(急死我了!)

[复制链接]
发表于 2009-4-22 18:07:23 | 显示全部楼层 |阅读模式
本来以为三位老大的源都不能用了,后来发现不是这样。

以hujq的源为例,地址是
http://download.opensuse.org/rep ... q/openSUSE_Factory/

更新源什么的都没有问题,GPG密钥也在列表中,于是想安装scim-python,系统搜索到这个源中存在,于是开始下载,但是肯定timed out。

我查看报错,发现去源的i586中下载scim-python-0.1.13rc1-13.5.i586.rpm 失败。

于是用web成功大开了i586目录,手动下载该文件,果然超时没响应。

请问各位大大这是什么情况?非常感谢!!
发表于 2009-4-22 18:17:01 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2009-4-22 18:20:34 | 显示全部楼层
  1. $ wget http://download.opensuse.org/repositories/home:/hujq/openSUSE_Factory/i586/scim-python-0.1.13rc1-13.5.i586.rpm
  2. --2009-04-22 18:17:25--  http://download.opensuse.org/repositories/home:/hujq/openSUSE_Factory/i586/scim-python-0.1.13rc1-13.5.i586.rpm
  3. Resolving download.opensuse.org... 195.135.221.130
  4. Connecting to download.opensuse.org|195.135.221.130|:80... connected.
  5. HTTP request sent, awaiting response... 302 Found
  6. Location: http://mirror.in.th/opensuse/repositories/home:/hujq/openSUSE_Factory/i586/scim-python-0.1.13rc1-13.5.i586.rpm [following]
  7. --2009-04-22 18:17:26--  http://mirror.in.th/opensuse/repositories/home:/hujq/openSUSE_Factory/i586/scim-python-0.1.13rc1-13.5.i586.rpm
  8. Resolving mirror.in.th... 61.7.253.242
  9. Connecting to mirror.in.th|61.7.253.242|:80... ^C
复制代码

确实被切换到别的服务器了,而那个服务器没有响应。opensuse切换服务器判断出错了。
然后点了一下 “Mirrors” 看了下
  1. Mirrors for http://download.opensuse.org/repositories/home:/hujq/openSUSE_Factory/i586/scim-python-0.1.13rc1-13.5.i586.rpm
  2. Powered by MirrorBrain
  3.     Hint: For larger downloads, a Metalink client is best -- easier, more reliable, self healing downloads.
  4.     The metalink for this file is: http://download.opensuse.org/repositories/home:/hujq/openSUSE_Factory/i586/scim-python-0.1.13rc1-13.5.i586.rpm.metalink
  5. List of best mirrors for IP address 116.77.2.227, located in country CN, 116.77.0.0/17 (AS17962).
  6. Found 1 mirror in other countries, but same continent (AS):
  7.     * http://mirror.in.th/opensuse/repositories/home:/hujq/openSUSE_Factory/i586/scim-python-0.1.13rc1-13.5.i586.rpm (th, prio 20)
  8. Found 3 mirrors in other parts of the world:
  9.     * http://ftp5.gwdg.de/pub/opensuse/repositories/home:/hujq/openSUSE_Factory/i586/scim-python-0.1.13rc1-13.5.i586.rpm (de, prio 150)
  10.     * http://widehat.opensuse.org/repositories/home:/hujq/openSUSE_Factory/i586/scim-python-0.1.13rc1-13.5.i586.rpm (de, prio 50)
  11.     * http://ftp.iasi.roedu.net/mirrors/opensuse.org/repositories/home:/hujq/openSUSE_Factory/i586/scim-python-0.1.13rc1-13.5.i586.rpm (ro, prio 10)
复制代码

可见首先的mirror.in.th不优秀,建议试试
  1. zypper ar http://ftp5.gwdg.de/pub/opensuse/repositories/home:/hujq/openSUSE_Factory/ BuildServices_hujq
复制代码

根据经验,ftp5.gwdg.de是一个同步及时、运行稳定的镜像。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-22 20:05:07 | 显示全部楼层
LS很牛逼!
本来你在另一个帖子给我回复我没看太明白,真是麻烦你又给我写了这么多!

学习了!非常感谢!好人阿!
回复 支持 反对

使用道具 举报

发表于 2009-4-22 20:39:36 | 显示全部楼层
那个是struq大侠啦
回复 支持 反对

使用道具 举报

发表于 2009-4-22 21:13:57 | 显示全部楼层
前几天就发现了,我这里登默认的镜像mirror.in.th竟然要挂理才能上去。难道是功夫网了?若真是那样实在是太搞笑了点。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表