[PC-BSD Testing] 9.0rc3 - broken 'fetch' AppCafe

Tigersharke . tigersharke at gmail.com
Sat Dec 24 17:13:17 PST 2011


On Sat, Dec 24, 2011 at 9:30 AM, Tigersharke . <tigersharke at gmail.com>wrote:

> Hello..
>
> There seems to be something wrong with fetch, while using curl in place of
> it works fine.
>
> [tigersharke at Mutant] ~> time curl
> ftp://ftp.pcbsd.org/pub/mirror/PBI/deskutils/genius/9/x64/genius-1.0.12-amd64.pbi-o "genius-1.0.12-amd64.pbi"
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time
> Current
>                                  Dload  Upload   Total   Spent    Left
> Speed
> 100 68.0M  100 68.0M    0     0  1366k      0  0:00:50  0:00:50 --:--:--
> 1673k
> 0.234u 1.120s 0:51.06 2.6%    164+2822k 0+550io 0pf+0w
> [tigersharke at Mutant] ~> time fetch -v
> ftp://ftp.pcbsd.org/pub/mirror/PBI/deskutils/genius/9/x64/genius-1.0.12-amd64.pbi
> looking up ftp.pcbsd.org
> connecting to ftp.pcbsd.org:21
> setting passive mode
> opening data connection
> fetch:
> ftp://ftp.pcbsd.org/pub/mirror/PBI/deskutils/genius/9/x64/genius-1.0.12-amd64.pbi:
> Operation timed out
> 0.006u 0.000s 1:16.27 0.0%    0+0k 0+0io 0pf+0w
> [tigersharke at Mutant] ~>
>
>
> [tigersharke at Mutant] ~> pbi_listrepo
> [ID]    [Description]
> -----------------------------------------------------
> 001    Official PC-BSD Repository
> [tigersharke at Mutant] ~> pbi_browser
> Using RepoID: 001
> Available Categories:
> ------------------------------------
> Category: Archivers
> Icon: /var/db/pbi/repo-icons/dd3920955c2fcf9bcc66b20dc0d89354-Archivers.png
> Description: Programs for packing/unpacking data archives
>
> ------------------------------------
> <--snip intervening output-->
> ------------------------------------
> Category: X11 - Window Managers
> Icon: /var/db/pbi/repo-icons/dd3920955c2fcf9bcc66b20dc0d89354-X11 - Window
> Managers.png
> Description: Alternate window managers for the desktop
>
> ------------------------------------
> Category: X11
> Icon: /var/db/pbi/repo-icons/dd3920955c2fcf9bcc66b20dc0d89354-X11.png
> Description: Alternate desktop environments or utilities
>
> To view available PBIs for a particular category:
>  % pbi_browser -c <category> <repoid>
> [tigersharke at Mutant] ~> time pbi_browser -c deskutils 001
> Using RepoID: 001
> Available PBIs for Category: deskutils
> 3.171u 7.268s 0:20.23 51.5%    80+1959k 0+2io 0pf+0w
> [tigersharke at Mutant] ~>
>
> ^C[tigersharke at Mutant] ~> ls /var/db/pbi/index
> .
> ..
> dd3920955c2fcf9bcc66b20dc0d89354-index
> dd3920955c2fcf9bcc66b20dc0d89354-index.time
> dd3920955c2fcf9bcc66b20dc0d89354-meta
> [tigersharke at Mutant] ~>
>

Although I do not understand how it fits into the puzzle, passive mode is
default for fetch, which causes the transfer to fail. Fetch will succeed if
passive mode is disabled via environment variable:

[tigersharke at Mutant] ~> setenv FTP_PASSIVE_MODE no
[tigersharke at Mutant] ~> time fetch -v
ftp://ftp.pcbsd.org/pub/mirror/PBI/deskutils/genius/9/x64/genius-1.0.12-amd64.pbi
looking up ftp.pcbsd.org
connecting to ftp.pcbsd.org:21
binding data socket
initiating transfer
remote size / mtime: 71308608 / 1318598818
genius-1.0.12-amd64.pbi                       100% of   68 MB 1572 kBps
00m00s
0.113u 1.048s 0:45.86 2.5%    25+2877k 0+545io 0pf+0w
[tigersharke at Mutant] ~>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pcbsd.org/pipermail/testing/attachments/20111224/8f1da5f1/attachment.html>


More information about the Testing mailing list