|
|
第 1 帖 | |
|
|
标题: pacman & aria2 ── pacman 终极提速[续] 看了 tx-cary 版主的帖子,自己试用加上上官方论坛找资料和研究 aria2,发现原来的脚本有些不符合“国情”:一是没有续传的功能,因为 aria2不论下载是否完成都会返回0;二是源的添加不方便。于是改了一下,实现了上述的功能。
另外,将源的选择独立了出来,方便添加。安装只要三步。 1. $cat /usr/bin/pacget 代码:
代码:
3. 同样,在 /etc/pacman.conf 里添加 XferCommand = pacget %u %o 就可以了。 这种方法对于我这里的牛网(ping 网关经常丢包)还是有一定效果的。 P.S. 透漏一下,Judd 在和 aria2的作者商量,有意要在 pacman 中实现 aria2的部分功能,\^o^/ 一起期待吧。
__________________
来发贴之前,我颤抖地敲下了pacman -Syu…… Arch 升级要看人品,所以── Do people want thick road. Dothan 1.7G + 768M + ATI Radeon Mobility M6 LY + 40G Archlinux + Fvwm +urxvt + Emacs 此帖于 06-12-19 20:06 被 sssslang 编辑. |
|
|
|
|
|
|
|
第 2 帖 | |
|
|
这么好啊 ! 呵呵 !!
正好我的网速最近很慢!看看能不能有些提升啊! |
|
|
|
|
|
|
|
第 3 帖 | |
|
|
果然,与版主的方法相比,确实快了很多~~~
__________________
Dell inspiron1525 CPU: T8300 , RAM: 2G/800 , SSD: intel40G , Chipest: G965 , WLAN: Intel5300abgn |
|
|
|
|
|
|
|
第 4 帖 | |
|
|
我的为啥停在这儿就没动静了,奇怪
$ sudo pacman -Syuv config: new section 'options' config: log file: /var/log/pacman.log config: noupgrade: etc/passwd config: noupgrade: etc/group config: noupgrade: etc/shadow config: noupgrade: etc/sudoers config: noupgrade: etc/fstab config: noupgrade: etc/raidtab config: noupgrade: etc/ld.so.conf config: noupgrade: etc/rc.conf config: noupgrade: etc/rc.local config: noupgrade: etc/modprobe.conf config: noupgrade: etc/modules.conf config: noupgrade: etc/lilo.conf config: noupgrade: boot/grub/menu.lst config: holdpkg: pacman config: holdpkg: glibc config: xfercommand: pacget %u %o config: new section 'testing' config: new section 'current' config: current: server: ftp ftp.ibiblio.org /pub/linux/distributions/archlinux/current/os/i686/ config: current: server: ftp mirror.pacific.net.au /linux/archlinux/current/os/i686/ config: current: server: http download.ourlinux.net:81 /Linux/ArchLinux/current/os/i686/ config: new section 'extra' config: extra: server: ftp ftp.ibiblio.org /pub/linux/distributions/archlinux/extra/os/i686/ config: extra: server: ftp mirror.pacific.net.au /linux/archlinux/extra/os/i686/ config: extra: server: http download.ourlinux.net:81 /Linux/ArchLinux/extra/os/i686/ config: extra: server: http mirror.lupaworld.com /archlinux/extra/os/i686/ config: new section 'unstable' config: unstable: server: ftp ftp.ibiblio.org /pub/linux/distributions/archlinux/unstable/os/i686/ config: unstable: server: ftp mirror.pacific.net.au /linux/archlinux/unstable/os/i686/ config: new section 'community' config: community: server: ftp ftp.ibiblio.org /pub/linux/distributions/archlinux/community/os/i686/ config: community: server: ftp mirror.pacific.net.au /linux/archlinux/community/os/i686/ config: community: server: ftp ftp.tu-chemnitz.de /pub/linux/sunsite.unc-mirror/distributions/archlinux/community/os/i686/ config: new section 'nooms' config: nooms: server: http arch.nooms.de /pkg/i686/ Installation Root: / Top-level DB Path: /var/lib/pacman Targets: None :: Synchronizing package databases... pacsync: new mtime for testing: failed to synchronize testing running command: pacget ftp://ftp.ibiblio.org/pub/linux/dist...rent.db.tar.gz current.db.tar.gz.part Downloading: current.db.tar.gz repo: current (using one mirror) 73,256/73,262 Bytes 99% - 0.00 KB/s 1 connections 而且用的源是pacman。conf上的 此帖于 06-12-21 10:04 被 英格梨 编辑. |
|
|
|
|
|
|
|
第 5 帖 | |
|
|
试试直接用 pacget 下载这个包:
pacget ftp://ftp.ibiblio.org/pub/linux/dist...rent.db.tar.gz current.db.tar.gz.part 应该不是脚本的问题。 |
|
|
|
|
|
|
|
第 6 帖 | |
|
|
如下
pacget ftp://ftp.ibiblio.org/pub/linux/dist...rent.db.tar.gz current.db.tar.gz.part Downloading: dist...rent.db.tar.gz repo: ftp.ibiblio.org (using one mirror) 0/0 Bytes 0% - 0.00 KB/s 1 connections The download was not complete because of errors. Check the log. aria2 will resume download if the transfer is restarted. aria2有问题? 此帖于 06-12-21 10:23 被 英格梨 编辑. |
|
|
|
|
|
|
|
第 7 帖 | |
|
|
看看 /var/log/pacget.log,并且用 aria2c ftp://ftp.ibiblio.org/pub/linux/dist...rent.db.tar.gz current.db.tar.gz.part 测试一下,我这里是没问题的。最好把你的 log 也贴出来,便于分析。
|
|
|
|
|
|
|
|
第 8 帖 | |
|
|
将log文件清空就好了,
存在延迟现象,小文件反而慢些,大文件快 谢谢sssslang 现在可以按情况来选择pacman方式 此帖于 06-12-21 20:05 被 英格梨 编辑. |
|
|
|
|
|
|
|
第 9 帖 | |
|
|
不错,下载速度持续在200K/s以上!
为什么 到达 99%的时候 速度会很慢!!
__________________
我们生活在数字时代,我们要做数字精英! 维护正义和捍卫和平是我们不可推卸责任。 C2.0/ABIT IS7-V2 interl848PE/小影霸R9550Pro 256M128bit/maxtor 金钻10 SATA 120G/ >=Fedora code 4 此帖于 06-12-22 07:32 被 name1985 编辑. |
|
|
|
|
|
|
|
第 10 帖 | |
|
|
设置的源了多也麻烦,毕竟搜索源也是需要时间的~~~
如果脚本能根据文件大小来自动选择源的使用数量的话就好了 |
|
|
|
|
|
|
|
第 11 帖 | |
|
|
今天又不行了,出现昨天同样的错误。奇怪的是一直调用的是pacman。conf中的源,而不是pacget。conf中的,去掉pacman。conf的源,就报无可用的库。/var/log/pacget.log如下
Fri Dec 22 09:17:24 2006 - INFO - aria2c 0.8.1 Fri Dec 22 09:17:24 2006 - INFO - Logging started. Fri Dec 22 09:17:24 2006 - INFO - CUID#1 - Resolving hostname buaa-skate.3322.org Fri Dec 22 09:17:24 2006 - INFO - CUID#1 - Name resolution complete: buaa-skate.3322.org -> 211.153.1.200 Fri Dec 22 09:17:24 2006 - INFO - The segment file ./testing.db.tar.gz.pacget.aria2 exists. Fri Dec 22 09:17:24 2006 - INFO - Loading the segment file ./testing.db.tar.gz.pacget.aria2. Fri Dec 22 09:17:24 2006 - INFO - The segment file was loaded successfully. Fri Dec 22 09:17:24 2006 - INFO - CUID#1 - Connecting to buaa-skate.3322.org:21 Fri Dec 22 09:17:24 2006 - DEBUG - Attach segment#0 to CUID#1. Fri Dec 22 09:17:24 2006 - DEBUG - index=0, length=7767, segmentLength=1048576, writtenLength=0 Fri Dec 22 09:17:24 2006 - INFO - CUID#1 - Response received: 220 10.0.79.102 FTP server ready Fri Dec 22 09:17:24 2006 - INFO - CUID#1 - Requesting: USER anonymous Fri Dec 22 09:17:24 2006 - INFO - CUID#1 - Response received: 331 Anonymous login ok, send your complete email address as your password. Fri Dec 22 09:17:24 2006 - INFO - CUID#1 - Requesting: PASS ******** Fri Dec 22 09:17:24 2006 - INFO - CUID#1 - Response received: 230 Anonymous access granted, restrictions apply. Fri Dec 22 09:17:24 2006 - INFO - CUID#1 - Requesting: TYPE I Fri Dec 22 09:17:24 2006 - INFO - CUID#1 - Response received: 200 Type set to I Fri Dec 22 09:17:24 2006 - INFO - CUID#1 - Requesting: CWD /testing/os/i686 Fri Dec 22 09:17:24 2006 - INFO - CUID#1 - Response received: 250 CWD command successful Fri Dec 22 09:17:24 2006 - INFO - CUID#1 - Requesting: SIZE testing.db.tar.gz Fri Dec 22 09:17:24 2006 - INFO - CUID#1 - Response received: 213 7932 Fri Dec 22 09:17:24 2006 - ERROR - CUID#1 - Download aborted. Fri Dec 22 09:17:24 2006 - ERROR - exception: Size mismatch 7767 != 7932 Fri Dec 22 09:17:24 2006 - DEBUG - CUID#1 - Unregistering cuid from segmentManager. Fri Dec 22 09:17:24 2006 - INFO - Saving the segment file ./testing.db.tar.gz.pacget.aria2 Fri Dec 22 09:17:24 2006 - INFO - The segment file was saved successfully. Fri Dec 22 09:17:24 2006 - INFO - Saving the segment file ./testing.db.tar.gz.pacget.aria2 Fri Dec 22 09:17:24 2006 - INFO - The segment file was saved successfully. Fri Dec 22 09:17:24 2006 - INFO - aria2c 0.8.1 Fri Dec 22 09:17:24 2006 - INFO - Logging started. Fri Dec 22 09:17:24 2006 - INFO - CUID#1 - Resolving hostname ftp.ibiblio.org Fri Dec 22 09:17:24 2006 - INFO - CUID#1 - Name resolution complete: ftp.ibiblio.org -> 152.46.7.80 Fri Dec 22 09:17:24 2006 - INFO - The segment file ./testing.db.tar.gz.pacget.aria2 exists. Fri Dec 22 09:17:24 2006 - INFO - Loading the segment file ./testing.db.tar.gz.pacget.aria2. Fri Dec 22 09:17:24 2006 - INFO - The segment file was loaded successfully. Fri Dec 22 09:17:24 2006 - INFO - CUID#1 - Connecting to ftp.ibiblio.org:21 Fri Dec 22 09:17:24 2006 - DEBUG - Attach segment#0 to CUID#1. Fri Dec 22 09:17:24 2006 - DEBUG - index=0, length=7767, segmentLength=1048576, writtenLength=0 Fri Dec 22 09:17:25 2006 - INFO - CUID#1 - Response received: 220 ProFTPD Server (Bring it on...) Fri Dec 22 09:17:25 2006 - INFO - CUID#1 - Requesting: USER anonymous Fri Dec 22 09:17:25 2006 - INFO - CUID#1 - Response received: 331 Anonymous login ok, send your complete email address as your password. Fri Dec 22 09:17:25 2006 - INFO - CUID#1 - Requesting: PASS ******** Fri Dec 22 09:17:26 2006 - INFO - CUID#1 - Response received: 230- Welcome to ftp.ibiblio.org, the public ftp server of ibiblio.org. We hope you find what you're looking for. If you have any problems or questions, please send email to ftpkeeper@ibiblio.org Thanks! 230 Anonymous access granted, restrictions apply. Fri Dec 22 09:17:26 2006 - INFO - CUID#1 - Requesting: TYPE I Fri Dec 22 09:17:26 2006 - INFO - CUID#1 - Response received: 200 Type set to I Fri Dec 22 09:17:26 2006 - INFO - CUID#1 - Requesting: CWD /pub/linux/distributions/archlinux/testing Fri Dec 22 09:17:26 2006 - INFO - CUID#1 - Response received: 250 CWD command successful Fri Dec 22 09:17:26 2006 - INFO - CUID#1 - Requesting: SIZE testing.db.tar.gz Fri Dec 22 09:17:27 2006 - INFO - CUID#1 - Response received: 550 testing.db.tar.gz: No such file or directory Fri Dec 22 09:17:27 2006 - ERROR - CUID#1 - Restarting the download. Fri Dec 22 09:17:27 2006 - ERROR - exception: The response status is not successful. status=550 Fri Dec 22 09:17:33 2006 - DEBUG - Attach segment#0 to CUID#1. Fri Dec 22 09:17:33 2006 - DEBUG - index=0, length=7767, segmentLength=1048576, writtenLength=0 Fri Dec 22 09:17:33 2006 - INFO - CUID#1 - Resolving hostname ftp.ibiblio.org Fri Dec 22 09:17:33 2006 - INFO - CUID#1 - Name resolution complete: ftp.ibiblio.org -> 152.46.7.80 Fri Dec 22 09:17:33 2006 - INFO - CUID#1 - Connecting to ftp.ibiblio.org:21 Fri Dec 22 09:17:33 2006 - INFO - CUID#1 - Response received: 220 ProFTPD Server (Bring it on...) Fri Dec 22 09:17:33 2006 - INFO - CUID#1 - Requesting: USER anonymous Fri Dec 22 09:17:34 2006 - INFO - CUID#1 - Response received: 331 Anonymous login ok, send your complete email address as your password. Fri Dec 22 09:17:34 2006 - INFO - CUID#1 - Requesting: PASS ******** Fri Dec 22 09:17:34 2006 - INFO - CUID#1 - Response received: 230- Welcome to ftp.ibiblio.org, the public ftp server of ibiblio.org. We hope you find what you're looking for. If you have any problems or questions, please send email to ftpkeeper@ibiblio.org Thanks! 230 Anonymous access granted, restrictions apply. Fri Dec 22 09:17:34 2006 - INFO - CUID#1 - Requesting: TYPE I Fri Dec 22 09:17:34 2006 - INFO - CUID#1 - Response received: 200 Type set to I Fri Dec 22 09:17:34 2006 - INFO - CUID#1 - Requesting: CWD /pub/linux/distributions/archlinux/testing Fri Dec 22 09:17:35 2006 - INFO - CUID#1 - Response received: 250 CWD command successful Fri Dec 22 09:17:35 2006 - INFO - CUID#1 - Requesting: SIZE testing.db.tar.gz Fri Dec 22 09:17:35 2006 - INFO - CUID#1 - Response received: 550 testing.db.tar.gz: No such file or directory Fri Dec 22 09:17:35 2006 - ERROR - CUID#1 - Restarting the download. Fri Dec 22 09:17:35 2006 - ERROR - exception: The response status is not successful. status=550 Fri Dec 22 09:17:41 2006 - DEBUG - Attach segment#0 to CUID#1. Fri Dec 22 09:17:41 2006 - DEBUG - index=0, length=7767, segmentLength=1048576, writtenLength=0 Fri Dec 22 09:17:41 2006 - INFO - CUID#1 - Resolving hostname ftp.ibiblio.org Fri Dec 22 09:17:41 2006 - INFO - CUID#1 - Name resolution complete: ftp.ibiblio.org -> 152.46.7.80 Fri Dec 22 09:17:41 2006 - INFO - CUID#1 - Connecting to ftp.ibiblio.org:21 Fri Dec 22 09:17:42 2006 - INFO - CUID#1 - Response received: 220 ProFTPD Server (Bring it on...) Fri Dec 22 09:17:42 2006 - INFO - CUID#1 - Requesting: USER anonymous Fri Dec 22 09:17:42 2006 - INFO - CUID#1 - Response received: 331 Anonymous login ok, send your complete email address as your password. Fri Dec 22 09:17:42 2006 - INFO - CUID#1 - Requesting: PASS ******** Fri Dec 22 09:17:43 2006 - INFO - CUID#1 - Response received: 230- Welcome to ftp.ibiblio.org, the public ftp server of ibiblio.org. We hope you find what you're looking for. If you have any problems or questions, please send email to ftpkeeper@ibiblio.org Thanks! 230 Anonymous access granted, restrictions apply. Fri Dec 22 09:17:43 2006 - INFO - CUID#1 - Requesting: TYPE I Fri Dec 22 09:17:43 2006 - INFO - CUID#1 - Response received: 200 Type set to I Fri Dec 22 09:17:43 2006 - INFO - CUID#1 - Requesting: CWD /pub/linux/distributions/archlinux/testing Fri Dec 22 09:17:43 2006 - INFO - CUID#1 - Response received: 250 CWD command successful Fri Dec 22 09:17:43 2006 - INFO - CUID#1 - Requesting: SIZE testing.db.tar.gz Fri Dec 22 09:17:44 2006 - INFO - CUID#1 - Response received: 550 testing.db.tar.gz: No such file or directory Fri Dec 22 09:17:44 2006 - ERROR - CUID#1 - Restarting the download. Fri Dec 22 09:17:44 2006 - ERROR - exception: The response status is not successful. status=550 Fri Dec 22 09:17:50 2006 - DEBUG - Attach segment#0 to CUID#1. Fri Dec 22 09:17:50 2006 - DEBUG - index=0, length=7767, segmentLength=1048576, writtenLength=0 Fri Dec 22 09:17:50 2006 - INFO - CUID#1 - Resolving hostname ftp.ibiblio.org Fri Dec 22 09:17:50 2006 - INFO - CUID#1 - Name resolution complete: ftp.ibiblio.org -> 152.46.7.80 Fri Dec 22 09:17:50 2006 - INFO - CUID#1 - Connecting to ftp.ibiblio.org:21 Fri Dec 22 09:17:50 2006 - INFO - CUID#1 - Response received: 220 ProFTPD Server (Bring it on...) Fri Dec 22 09:17:50 2006 - INFO - CUID#1 - Requesting: USER anonymous Fri Dec 22 09:17:51 2006 - INFO - CUID#1 - Response received: 331 Anonymous login ok, send your complete email address as your password. Fri Dec 22 09:17:51 2006 - INFO - CUID#1 - Requesting: PASS ******** Fri Dec 22 09:17:51 2006 - INFO - CUID#1 - Response received: 230- Welcome to ftp.ibiblio.org, the public ftp server of ibiblio.org. We hope you find what you're looking for. If you have any problems or questions, please send email to ftpkeeper@ibiblio.org Thanks! 230 Anonymous access granted, restrictions apply. Fri Dec 22 09:17:51 2006 - INFO - CUID#1 - Requesting: TYPE I Fri Dec 22 09:17:52 2006 - INFO - CUID#1 - Response received: 200 Type set to I Fri Dec 22 09:17:52 2006 - INFO - CUID#1 - Requesting: CWD /pub/linux/distributions/archlinux/testing Fri Dec 22 09:17:52 2006 - INFO - CUID#1 - Response received: 250 CWD command successful Fri Dec 22 09:17:52 2006 - INFO - CUID#1 - Requesting: SIZE testing.db.tar.gz Fri Dec 22 09:17:52 2006 - INFO - CUID#1 - Response received: 550 testing.db.tar.gz: No such file or directory Fri Dec 22 09:17:52 2006 - ERROR - CUID#1 - Restarting the download. Fri Dec 22 09:17:52 2006 - ERROR - exception: The response status is not successful. status=550 Fri Dec 22 09:17:58 2006 - DEBUG - Attach segment#0 to CUID#1. Fri Dec 22 09:17:58 2006 - DEBUG - index=0, length=7767, segmentLength=1048576, writtenLength=0 Fri Dec 22 09:17:58 2006 - INFO - CUID#1 - Resolving hostname ftp.ibiblio.org Fri Dec 22 09:17:58 2006 - INFO - CUID#1 - Name resolution complete: ftp.ibiblio.org -> 152.46.7.80 Fri Dec 22 09:17:58 2006 - INFO - CUID#1 - Connecting to ftp.ibiblio.org:21 Fri Dec 22 09:17:59 2006 - INFO - CUID#1 - Response received: 220 ProFTPD Server (Bring it on...) Fri Dec 22 09:17:59 2006 - INFO - CUID#1 - Requesting: USER anonymous Fri Dec 22 09:17:59 2006 - INFO - CUID#1 - Response received: 331 Anonymous login ok, send your complete email address as your password. Fri Dec 22 09:17:59 2006 - INFO - CUID#1 - Requesting: PASS ******** Fri Dec 22 09:18:00 2006 - INFO - CUID#1 - Response received: 230- Welcome to ftp.ibiblio.org, the public ftp server of ibiblio.org. We hope you find what you're looking for. If you have any problems or questions, please send email to ftpkeeper@ibiblio.org Thanks! 230 Anonymous access granted, restrictions apply. Fri Dec 22 09:18:00 2006 - INFO - CUID#1 - Requesting: TYPE I Fri Dec 22 09:18:00 2006 - INFO - CUID#1 - Response received: 200 Type set to I Fri Dec 22 09:18:00 2006 - INFO - CUID#1 - Requesting: CWD /pub/linux/distributions/archlinux/testing Fri Dec 22 09:18:01 2006 - INFO - CUID#1 - Response received: 250 CWD command successful Fri Dec 22 09:18:01 2006 - INFO - CUID#1 - Requesting: SIZE testing.db.tar.gz Fri Dec 22 09:18:02 2006 - INFO - CUID#1 - Response received: 550 testing.db.tar.gz: No such file or directory Fri Dec 22 09:18:02 2006 - ERROR - CUID#1 - Restarting the download. Fri Dec 22 09:18:02 2006 - ERROR - exception: The response status is not successful. status=550 Fri Dec 22 09:18:02 2006 - DEBUG - CUID#1 - Unregistering cuid from segmentManager. Fri Dec 22 09:18:02 2006 - ERROR - CUID#1 - 5 times attempted, but no success. Download aborted. Fri Dec 22 09:18:02 2006 - INFO - Saving the segment file ./testing.db.tar.gz.pacget.aria2 Fri Dec 22 09:18:02 2006 - INFO - The segment file was saved successfully. Fri Dec 22 09:18:02 2006 - INFO - Saving the segment file ./testing.db.tar.gz.pacget.aria2 Fri Dec 22 09:18:02 2006 - INFO - The segment file was saved successfully. Fri Dec 22 09:18:02 2006 - INFO - aria2c 0.8.1 Fri Dec 22 09:18:02 2006 - INFO - Logging started. Fri Dec 22 09:18:02 2006 - INFO - CUID#1 - Resolving hostname mirror.pacific.net.au Fri Dec 22 09:18:02 2006 - INFO - CUID#1 - Name resolution complete: mirror.pacific.net.au -> 61.8.0.17 Fri Dec 22 09:18:02 2006 - INFO - The segment file ./testing.db.tar.gz.pacget.aria2 exists. Fri Dec 22 09:18:02 2006 - INFO - Loading the segment file ./testing.db.tar.gz.pacget.aria2. Fri Dec 22 09:18:02 2006 - INFO - The segment file was loaded successfully. Fri Dec 22 09:18:02 2006 - INFO - CUID#1 - Connecting to mirror.pacific.net.au:21 Fri Dec 22 09:18:03 2006 - DEBUG - Attach segment#0 to CUID#1. Fri Dec 22 09:18:03 2006 - DEBUG - index=0, length=7767, segmentLength=1048576, writtenLength=0 Fri Dec 22 09:18:04 2006 - INFO - CUID#1 - Response received: 220- _______ __ _______ 220-| | |__|.----.----.-----.----. | __|.-----.----.--.--.-----.----. 220-| | || _| _| _ | _| |__ || -__| _| | | -__| _| 220-|__|_|__|__||__| |__| |_____|__| |_______||_____|__| \___/|_____|__| 220- 220- Welcome to the Pacific Internet (Australia) Mirror Server. 220- 220-Access via: ftp://mirror.pacific.net.au/ 220- http://mirror.pacific.net.au/ 220- 220-For Debian, please use: ftp://ftp.debian.pacific.net.au/ 220- 220-If you experience any difficulties, please email: 220- mirror-team@pacific.net.au 220- 220-Maximum of 1024 Anonymous users. 220-Maximum of 4 connections per IP. 220- 220 Fri Dec 22 09:18:04 2006 - INFO - CUID#1 - Requesting: USER anonymous Fri Dec 22 09:18:04 2006 - INFO - CUID#1 - Response received: 331 Please specify the password. Fri Dec 22 09:18:04 2006 - INFO - CUID#1 - Requesting: PASS ******** Fri Dec 22 09:18:04 2006 - INFO - CUID#1 - Response received: 230 Login successful. Fri Dec 22 09:18:04 2006 - INFO - CUID#1 - Requesting: TYPE I Fri Dec 22 09:18:05 2006 - INFO - CUID#1 - Response received: 200 Switching to Binary mode. Fri Dec 22 09:18:05 2006 - INFO - CUID#1 - Requesting: CWD /linux/archlinux/testing/os/i686 Fri Dec 22 09:18:05 2006 - INFO - CUID#1 - Response received: 250 Directory successfully changed. Fri Dec 22 09:18:05 2006 - INFO - CUID#1 - Requesting: SIZE testing.db.tar.gz Fri Dec 22 09:18:05 2006 - INFO - CUID#1 - Response received: 213 7767 Fri Dec 22 09:18:05 2006 - INFO - CUID#1 - Requesting: PORT 221,7,75,251,132,117 Fri Dec 22 09:18:06 2006 - INFO - CUID#1 - Response received: 200 PORT command successful. Consider using PASV. Fri Dec 22 09:18:06 2006 - INFO - CUID#1 - Requesting: REST 0 Fri Dec 22 09:18:06 2006 - INFO - CUID#1 - Response received: 350 Restart position accepted (0). Fri Dec 22 09:18:06 2006 - INFO - CUID#1 - Requesting: RETR testing.db.tar.gz Fri Dec 22 09:18:36 2006 - INFO - CUID#1 - Response received: 425 Failed to establish connection. Fri Dec 22 09:18:36 2006 - ERROR - CUID#1 - Restarting the download. Fri Dec 22 09:18:36 2006 - ERROR - exception: The response status is not successful. status=425 Fri Dec 22 09:18:42 2006 - DEBUG - Attach segment#0 to CUID#1. Fri Dec 22 09:18:42 2006 - DEBUG - index=0, length=7767, segmentLength=1048576, writtenLength=0 Fri Dec 22 09:18:42 2006 - INFO - CUID#1 - Resolving hostname mirror.pacific.net.au Fri Dec 22 09:18:42 2006 - INFO - CUID#1 - Name resolution complete: mirror.pacific.net.au -> 61.8.0.17 Fri Dec 22 09:18:42 2006 - INFO - CUID#1 - Connecting to mirror.pacific.net.au:21 Fri Dec 22 09:18:43 2006 - INFO - CUID#1 - Response received: 220- _______ __ _______ 220-| | |__|.----.----.-----.----. | __|.-----.----.--.--.-----.----. 220-| | || _| _| _ | _| |__ || -__| _| | | -__| _| 220-|__|_|__|__||__| |__| |_____|__| |_______||_____|__| \___/|_____|__| 220- 220- Welcome to the Pacific Internet (Australia) Mirror Server. 220- 220-Access via: ftp://mirror.pacific.net.au/ 220- http://mirror.pacific.net.au/ 220- 220-For Debian, please use: ftp://ftp.debian.pacific.net.au/ 220- 220-If you experience any difficulties, please email: 220- mirror-team@pacific.net.au 220- 220-Maximum of 1024 Anonymous users. 220-Maximum of 4 connections per IP. 220- 220 Fri Dec 22 09:18:43 2006 - INFO - CUID#1 - Requesting: USER anonymous Fri Dec 22 09:18:44 2006 - INFO - CUID#1 - Response received: 331 Please specify the password. Fri Dec 22 09:18:44 2006 - INFO - CUID#1 - Requesting: PASS ******** Fri Dec 22 09:18:44 2006 - INFO - CUID#1 - Response received: 230 Login successful. Fri Dec 22 09:18:44 2006 - INFO - CUID#1 - Requesting: TYPE I Fri Dec 22 09:18:44 2006 - INFO - CUID#1 - Response received: 200 Switching to Binary mode. Fri Dec 22 09:18:44 2006 - INFO - CUID#1 - Requesting: CWD /linux/archlinux/testing/os/i686 Fri Dec 22 09:18:45 2006 - INFO - CUID#1 - Response received: 250 Directory successfully changed. Fri Dec 22 09:18:45 2006 - INFO - CUID#1 - Requesting: SIZE testing.db.tar.gz Fri Dec 22 09:18:45 2006 - INFO - CUID#1 - Response received: 213 7767 Fri Dec 22 09:18:45 2006 - INFO - CUID#1 - Requesting: PORT 221,7,75,251,159,251 Fri Dec 22 09:18:46 2006 - INFO - CUID#1 - Response received: 200 PORT command successful. Consider using PASV. Fri Dec 22 09:18:46 2006 - INFO - CUID#1 - Requesting: REST 0 Fri Dec 22 09:18:46 2006 - INFO - CUID#1 - Response received: 350 Restart position accepted (0). Fri Dec 22 09:18:46 2006 - INFO - CUID#1 - Requesting: RETR testing.db.tar.gz Fri Dec 22 09:19:16 2006 - INFO - CUID#1 - Response received: 425 Failed to establish connection. Fri Dec 22 09:19:16 2006 - ERROR - CUID#1 - Restarting the download. Fri Dec 22 09:19:16 2006 - ERROR - exception: The response status is not successful. status=425 Fri Dec 22 09:19:22 2006 - DEBUG - Attach segment#0 to CUID#1. Fri Dec 22 09:19:22 2006 - DEBUG - index=0, length=7767, segmentLength=1048576, writtenLength=0 Fri Dec 22 09:19:22 2006 - INFO - CUID#1 - Resolving hostname mirror.pacific.net.au Fri Dec 22 09:19:22 2006 - INFO - CUID#1 - Name resolution complete: mirror.pacific.net.au -> 61.8.0.17 Fri Dec 22 09:19:22 2006 - INFO - CUID#1 - Connecting to mirror.pacific.net.au:21 Fri Dec 22 09:19:23 2006 - INFO - CUID#1 - Response received: 220- _______ __ _______ 220-| | |__|.----.----.-----.----. | __|.-----.----.--.--.-----.----. 220-| | || _| _| _ | _| |__ || -__| _| | | -__| _| 220-|__|_|__|__||__| |__| |_____|__| |_______||_____|__| \___/|_____|__| 220- 220- Welcome to the Pacific Internet (Australia) Mirror Server. 220- 220-Access via: ftp://mirror.pacific.net.au/ 220- http://mirror.pacific.net.au/ 220- 220-For Debian, please use: ftp://ftp.debian.pacific.net.au/ 220- 220-If you experience any difficulties, please email: 220- mirror-team@pacific.net.au 220- 220-Maximum of 1024 Anonymous users. 220-Maximum of 4 connections per IP. 220- 220 Fri Dec 22 09:19:23 2006 - INFO - CUID#1 - Requesting: USER anonymous Fri Dec 22 09:19:24 2006 - INFO - CUID#1 - Response received: 331 Please specify the password. Fri Dec 22 09:19:24 2006 - INFO - CUID#1 - Requesting: PASS ******** Fri Dec 22 09:19:24 2006 - INFO - CUID#1 - Response received: 230 Login successful. Fri Dec 22 09:19:24 2006 - INFO - CUID#1 - Requesting: TYPE I Fri Dec 22 09:19:24 2006 - INFO - CUID#1 - Response received: 200 Switching to Binary mode. Fri Dec 22 09:19:24 2006 - INFO - CUID#1 - Requesting: CWD /linux/archlinux/testing/os/i686 Fri Dec 22 09:19:25 2006 - INFO - CUID#1 - Response received: 250 Directory successfully changed. Fri Dec 22 09:19:25 2006 - INFO - CUID#1 - Requesting: SIZE testing.db.tar.gz Fri Dec 22 09:19:25 2006 - INFO - CUID#1 - Response received: 213 7767 Fri Dec 22 09:19:25 2006 - INFO - CUID#1 - Requesting: PORT 221,7,75,251,140,107 Fri Dec 22 09:19:26 2006 - INFO - CUID#1 - Response received: 200 PORT command successful. Consider using PASV. Fri Dec 22 09:19:26 2006 - INFO - CUID#1 - Requesting: REST 0 Fri Dec 22 09:19:26 2006 - INFO - CUID#1 - Response received: 350 Restart position accepted (0). Fri Dec 22 09:19:26 2006 - INFO - CUID#1 - Requesting: RETR testing.db.tar.gz Fri Dec 22 09:19:56 2006 - INFO - CUID#1 - Response received: 425 Failed to establish connection. Fri Dec 22 09:19:56 2006 - ERROR - CUID#1 - Restarting the download. Fri Dec 22 09:19:56 2006 - ERROR - exception: The response status is not successful. status=425 Fri Dec 22 09:20:02 2006 - DEBUG - Attach segment#0 to CUID#1. Fri Dec 22 09:20:02 2006 - DEBUG - index=0, length=7767, segmentLength=1048576, writtenLength=0 Fri Dec 22 09:20:02 2006 - INFO - CUID#1 - Resolving hostname mirror.pacific.net.au Fri Dec 22 09:20:02 2006 - INFO - CUID#1 - Name resolution complete: mirror.pacific.net.au -> 61.8.0.17 Fri Dec 22 09:20:02 2006 - INFO - CUID#1 - Connecting to mirror.pacific.net.au:21 Fri Dec 22 09:20:03 2006 - INFO - CUID#1 - Response received: 220- _______ __ _______ 220-| | |__|.----.----.-----.----. | __|.-----.----.--.--.-----.----. 220-| | || _| _| _ | _| |__ || -__| _| | | -__| _| 220-|__|_|__|__||__| |__| |_____|__| |_______||_____|__| \___/|_____|__| 220- 220- Welcome to the Pacific Internet (Australia) Mirror Server. 220- 220-Access via: ftp://mirror.pacific.net.au/ 220- http://mirror.pacific.net.au/ 220- 220-For Debian, please use: ftp://ftp.debian.pacific.net.au/ 220- 220-If you experience any difficulties, please email: 220- mirror-team@pacific.net.au 220- 220-Maximum of 1024 Anonymous users. 220-Maximum of 4 connections per IP. 220- 220 Fri Dec 22 09:20:03 2006 - INFO - CUID#1 - Requesting: USER anonymous Fri Dec 22 09:20:04 2006 - INFO - CUID#1 - Response received: 331 Please specify the password. Fri Dec 22 09:20:04 2006 - INFO - CUID#1 - Requesting: PASS ******** Fri Dec 22 09:20:04 2006 - INFO - CUID#1 - Response received: 230 Login successful. Fri Dec 22 09:20:04 2006 - INFO - CUID#1 - Requesting: TYPE I Fri Dec 22 09:20:05 2006 - INFO - CUID#1 - Response received: 200 Switching to Binary mode. |
|
|
|
|
|
|
|
第 12 帖 | |
|
|
sudo pacman -Syuv
config: new section 'options' config: log file: /var/log/pacman.log config: noupgrade: etc/passwd config: noupgrade: etc/group config: noupgrade: etc/shadow config: noupgrade: etc/sudoers config: noupgrade: etc/fstab config: noupgrade: etc/ld.so.conf config: noupgrade: etc/rc.conf config: noupgrade: etc/rc.local config: noupgrade: etc/modprobe.conf config: noupgrade: etc/modules.conf config: noupgrade: boot/grub/menu.lst config: holdpkg: pacman config: holdpkg: glibc config: xfercommand: pacget %u %o config: new section 'testing' config: testing: server: ftp buaa-skate.3322.org /testing/os/i686/ config: testing: server: ftp ftp.ibiblio.org /pub/linux/distributions/archlinux/testing/ config: testing: server: ftp mirror.pacific.net.au /linux/archlinux/testing/os/i686/ config: new section 'current' config: current: server: ftp buaa-skate.3322.org /current/os/i686/ config: current: server: ftp ftp.ibiblio.org /pub/linux/distributions/archlinux/current/os/i686/ config: current: server: ftp mirror.pacific.net.au /linux/archlinux/current/os/i686/ config: current: server: http download.ourlinux.net:81 /Linux/ArchLinux/current/os/i686/ config: new section 'extra' config: extra: server: ftp buaa-skate.3322.org /extra/os/i686/ config: extra: server: ftp ftp.ibiblio.org /pub/linux/distributions/archlinux/extra/os/i686/ config: extra: server: ftp mirror.pacific.net.au /linux/archlinux/extra/os/i686/ config: extra: server: http download.ourlinux.net:81 /Linux/ArchLinux/extra/os/i686/ config: extra: server: http mirror.lupaworld.com /archlinux/extra/os/i686/ config: new section 'unstable' config: unstable: server: ftp buaa-skate.3322.org /unstable/os/i686/ config: unstable: server: ftp ftp.ibiblio.org /pub/linux/distributions/archlinux/unstable/os/i686/ config: unstable: server: ftp mirror.pacific.net.au /linux/archlinux/unstable/os/i686/ config: new section 'community' config: community: server: ftp buaa-skate.3322.org /community/os/i686/ config: community: server: ftp ftp.ibiblio.org /pub/linux/distributions/archlinux/community/os/i686/ config: community: server: ftp mirror.pacific.net.au /linux/archlinux/community/os/i686/ config: community: server: ftp ftp.archlinx.org /community/os/i686/ config: community: server: ftp ftp.tu-chemnitz.de /pub/linux/sunsite.unc-mirror/distributions/archlinux/community/os/i686/ config: new section 'nooms' config: nooms: server: http arch.nooms.de /pkg/i686/ Installation Root: / Top-level DB Path: /var/lib/pacman Targets: None :: Synchronizing package databases... running command: pacget ftp://buaa-skate.3322.org/testing/os...ting.db.tar.gz testing.db.tar.gz.part Downloading: testing.db.tar.gz repo: testing (using one mirror) 0/7,767 Bytes 0% - 0.00 KB/s 1 connections The download was not complete because of errors. Check the log. aria2 will resume download if the transfer is restarted.XferCommand command returned non-zero status code (33280) running command: pacget ftp://ftp.ibiblio.org/pub/linux/dist...ting.db.tar.gz testing.db.tar.gz.part Downloading: testing.db.tar.gz repo: distributions (using one mirror) 0/7,767 Bytes 0% - 0.00 KB/s 1 connections The download was not complete because of errors. Check the log. aria2 will resume download if the transfer is restarted.XferCommand command returned non-zero status code (33280) running command: pacget ftp://mirror.pacific.net.au/linux/ar...ting.db.tar.gz testing.db.tar.gz.part Downloading: testing.db.tar.gz repo: testing (using one mirror) 0/7,767 Bytes 0% - 0.00 KB/s 1 connections The download was not complete because of errors. Check the log. aria2 will resume download if the transfer is restarted.XferCommand command returned non-zero status code (33280) pacsync: new mtime for testing: failed to synchronize testing running command: pacget ftp://buaa-skate.3322.org/current/os...rent.db.tar.gz current.db.tar.gz.part Downloading: current.db.tar.gz repo: current (using one mirror) The download was not complete because of errors. Check the log. aria2 will resume download if the transfer is restarted.XferCommand command returned non-zero status code (33280) running command: pacget ftp://ftp.ibiblio.org/pub/linux/dist...rent.db.tar.gz current.db.tar.gz.part Downloading: current.db.tar.gz repo: current (using one mirror) 73,258/73,262 Bytes 99% - 0.00 KB/s 1 connections The download was not complete because of errors. Check the log. aria2 will resume download if the transfer is restarted.XferCommand command returned non-zero status code (33280) running command: pacget ftp://mirror.pacific.net.au/linux/ar...rent.db.tar.gz current.db.tar.gz.part Downloading: current.db.tar.gz repo: current (using one mirror) 73,258/73,262 Bytes 99% - 0.00 KB/s 1 connections The download was not complete because of errors. Check the log. aria2 will resume download if the transfer is restarted.XferCommand command returned non-zero status code (33280) running command: pacget http://download.ourlinux.net:81/Linu...rent.db.tar.gz current.db.tar.gz.part Downloading: current.db.tar.gz repo: current (using one mirror) 73,258/73,262 Bytes 99% - 0.00 KB/s 1 connections The download was not complete because of errors. Check the log. aria2 will resume download if the transfer is restarted.XferCommand command returned non-zero status code (33280) |
|
|
|
|
|
|
|
第 13 帖 | |
|
|
aria2c ftp://ftp.ibiblio.org/pub/linux/dist...rent.db.tar.gz current.db.tar.gz.part
Unrecognized URL or unsupported protocol: current.db.tar.gz.part 0/0 Bytes 0% - 0.00 KB/s 1 connections The download was not complete because of errors. Check the log. |
|
|
|
|
|
|
|
第 14 帖 | |||
|
|
引用:
P.S. /etc/pacman.conf 中可以只保留一个源。 引用:
另外,建议把 log 帖到 pastebin 上,分析起来也比较方便。 |
|||
|
|
|
|||
|
|
第 15 帖 | |
|
|
sssslang:"这说明 aria2 下载包依赖关系的文件 current.db.tar.gz 中断,重新运行这个命令就可以继续下载。"
问题是重新运行pacman -Syuv也同样如此,每次都一样,这是啥原因?
__________________
中国足球死了,。。。。。。,我把寄托放到linux上 热爱自由,所以热爱自由软件 ------------------ office :gentoo+debian home : archlinux+ubuntu+winxp |
|
|
|
|
|