pkg_add: remote install (-r) broken

2008-01-16 Thread Colin Brace
Hi all,

At some point after my original installation of v.7-BETA3 in late
November and a subsquent upgrade to BETA4 with Colin Percival's
freebsd-update, installing packages remotely with pkg_add on my system
broke. For example:

$ sudo pkg_add -vr rtorrent
scheme:   [ftp]
user: []
password: []
host: [ftp.freebsd.org]
port: [0]
document: [/pub/FreeBSD/ports/i386/packages-7-current/Latest/rtorrent.tbz]
--- ftp.freebsd.org:21
looking up ftp.freebsd.org
connecting to ftp.freebsd.org:21
 220 ftp.FreeBSD.org NcFTPd Server (licensed copy) ready.
 USER anonymous
 331 Guest login ok, send your complete e-mail address as password.
 PASS [EMAIL PROTECTED]
 230-You are user #181 of 1000 simultaneous users allowed.
 230-
 230 Logged in anonymously.
 PWD
 257 / is cwd.
 CWD pub/FreeBSD/ports/i386/packages-7-current/Latest
 250 /pub/FreeBSD/ports/i386/packages-7-current/Latest is new cwd.
 MODE S
 200 Mode okay.
 TYPE I
 200 Type okay.
binding data socket
 PORT 172,19,3,3,209,68
 200 PORT command successful.
initiating transfer
 RETR rtorrent.tbz
 550 Cannot connect to 78.27.2.208:53572 - Unknown error: 0.
Error: FTP Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-current/Latest/rtorrent.tbz:
File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-current/Latest/rtorrent.tbz'
by URL
pkg_add: 1 package addition(s) failed

Now, I *know* the package and host are online; I can copy and paste
the URL from the screen to grab it with wget:

wget 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-current/Latest/rtorrent.tbz

This works.

What could be going wrong with add_pkg here?

As I indicate above, I am currently at 7.0-BETA4

Thanks.

-- 
  Colin Brace
  Amsterdam
  http://lim.nl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pkg_add: remote install (-r) broken

2008-01-16 Thread Kris Kennaway

Colin Brace wrote:

Hi all,

At some point after my original installation of v.7-BETA3 in late
November and a subsquent upgrade to BETA4 with Colin Percival's
freebsd-update, installing packages remotely with pkg_add on my system
broke. For example:



 550 Cannot connect to 78.27.2.208:53572 - Unknown error: 0.


I guess that is your IP.  You have a firewall and are not using passive 
mode FTP?  It should be the default unless you edited your login.conf.


Kris

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]