在hosts里设置
203.208.46.181 code.google.com
即可使用谷歌北京服务器的google code镜像
离线
离线
确实,gc的空间是2G,装不下所有镜像,但是我觉得2G做archlinuxcn的镜像足够了,这个才是archlinuxcn的核心,是首先要保证的。
另外,建议别做负载均衡什么的了,把它们分成repo.archlinuxcn.org repo1.archlinuxcn.org repo2…… repo3……之类的吧,很多发行版和第三方仓库都是这样干的。
对了,忽然想起百度云平台目前免费提供20G空间60G流量的云存储
http://developer.baidu.com/wiki/index.p … 8%E5%82%A8
离线
离线
问题依旧
[root@Red54 ~]# pacman -S yaourt
resolving dependencies...
looking for inter-conflicts...
Targets (3): package-query-1.0.1-1 yajl-2.0.4-1 yaourt-1.1-1
Total Download Size: 0.04 MiB
Total Installed Size: 0.51 MiB
Proceed with installation? [Y/n]
:: Retrieving packages from archlinuxcn...
error: failed retrieving file 'yaourt-1.1-1-any.pkg.tar.xz' from 69.85.93.94 : Maximum file size exceeded
warning: failed to retrieve some files from archlinuxcn
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.
[root@Red54 ~]#
我都直接指向IP了,还是不行……
离线
离线
很诡异,wqy-microhei可以正常下载安装,yaourt就下载不了……
[root@Red54 ~]# pacman -S wqy-microhei
warning: wqy-microhei-0.2.0_beta-2 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
Targets (1): wqy-microhei-0.2.0_beta-2
Total Download Size: 1.47 MiB
Total Installed Size: 4.96 MiB
Net Upgrade Size: 0.00 MiB
Proceed with installation? [Y/n]
:: Retrieving packages from archlinuxcn...
wqy-microhei-0.2.0_beta-2-any 1507.7 KiB 38.8K/s 00:39 [########################################################] 100%
(1/1) checking package integrity [########################################################] 100%
(1/1) loading package files [########################################################] 100%
(1/1) checking for file conflicts [########################################################] 100%
(1/1) checking available disk space [########################################################] 100%
(1/1) upgrading wqy-microhei [########################################################] 100%
Updating font cache... done.
[root@Red54 ~]#
[root@Red54 ~]# pacman -S yaourt
resolving dependencies...
looking for inter-conflicts...
Targets (3): package-query-1.0.1-1 yajl-2.0.4-1 yaourt-1.1-1
Total Download Size: 0.04 MiB
Total Installed Size: 0.51 MiB
Proceed with installation? [Y/n]
:: Retrieving packages from archlinuxcn...
error: failed retrieving file 'yaourt-1.1-1-any.pkg.tar.xz' from 69.85.93.94 : Maximum file size exceeded
warning: failed to retrieve some files from archlinuxcn
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.
[root@Red54 ~]#
离线
附上debug信息
Targets (3): package-query-1.0.1-1 yajl-2.0.4-1 yaourt-1.1-1
Total Download Size: 0.04 MiB
Total Installed Size: 0.51 MiB
Proceed with installation? [Y/n]
debug: using cachedir: /var/cache/pacman/pkg/
:: Retrieving packages from archlinuxcn...
debug: url: http://69.85.93.94/repo/x86_64/yaourt-1 … pkg.tar.xz
debug: maxsize: 45468
debug: opened tempfile for download: /var/cache/pacman/pkg/yaourt-1.1-1-any.pkg.tar.xz.part (wb)
debug: curl returned error 63 from transfer
error: failed retrieving file 'yaourt-1.1-1-any.pkg.tar.xz' from 69.85.93.94 : Maximum file size exceeded
warning: failed to retrieve some files from archlinuxcn
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: freeing package cache for repository 'extra'
debug: unregistering database 'community'
debug: freeing package cache for repository 'community'
debug: unregistering database 'archlinuxcn'
debug: freeing package cache for repository 'archlinuxcn'
[root@Red54 ~]#
离线
如果不是archlinuxcn的问题,那就有可能是pacman或者curl的问题了,之前pacman也出过类似的bug,是与delta包有关的一行代码出错。
离线
不是pacman和curl的问题
https://bugs.archlinux.org/task/30878
离线
看到了。目前正在检查是不是我们的脚本出了问题。
毕竟Server跑的是Debian,另一台Server才是Arch,脚本里可能有些东西需要再改改
离线
错误:无法从 repo-ck.archlinuxcn.org : Failed to connect to 2001:470:c:716::2: 网络不可达 获取文件 'repo-ck.db'
错误:无法升级 repo-ck (下载函数库出错)
今天晚上开始又出现这个错误了
最近编辑记录 qifei9 (2012-08-13 22:18:16)
离线
错误:无法从 repo-ck.archlinuxcn.org : Failed to connect to 2001:470:c:716::2: 网络不可达 获取文件 'repo-ck.db'
错误:无法升级 repo-ck (下载函数库出错)今天晚上开始又出现这个错误了
新服务器刚刚加上IPv6,还没配置。现在你再看看应该可以了
离线
qifei9 说:错误:无法从 repo-ck.archlinuxcn.org : Failed to connect to 2001:470:c:716::2: 网络不可达 获取文件 'repo-ck.db'
错误:无法升级 repo-ck (下载函数库出错)今天晚上开始又出现这个错误了
新服务器刚刚加上IPv6,还没配置。现在你再看看应该可以了
嗯的,可以了。
离线
repo-ck.archlinuxcn.org 貌似好久没有同步了?
repo-ck.archlinuxcn.org:
─ [Aug 9 17:04] linux-ck-corex-3.4.8-1-x86_64.pkg.tar.xz
repo-ck.com:
─ [Aug 16 14:50] linux-ck-corex-3.5.2-1-x86_64.pkg.tar.xz
离线