On Tue, Feb 27, 2007 at 02:26:30PM -0500, Don Munyak wrote:
> 
> I am having trouble using pkg_add -r <some package>. I keep getting
> the following error.
> ---------------------------------------
> p0069# pkg_add -r bash
> Error: FTP Unable to get
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/Latest/bash.tbz:
> Network is unreachable
> pkg_add: unable to fetch
> 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/Latest/bash.tbz'
> by URL
> p0069#
> ---------------------
>
> I don't know if this has anything to do with it, but
> - I have rebuilt the kernel successfully
> ---------------------
> p0069# uname -a
> FreeBSD p0069.bm.local 6.1-RELEASE-p12 FreeBSD 6.1-RELEASE-p12 #0: Thu
> Feb  8 13:55:26 EST 2007
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/WEBSERVER  i386
> --------------------
> - And there is no ports tree installed.. ie /usr/ports does not exist.
> - I can ping ftp.freebsd.org
> - I can also ftp>open ftp.freebsd.org
> 
> Any thoughts on trouble shooting this would be appreciated.
> 

Perhaps verbose output (-v argument) might yield a clue: pkg_add -rv some_pkg

Are you behind a firewall? You might try using passive mode ftp. See
pkg_add(1) 

-- 
Kelly D. Grills
[EMAIL PROTECTED]

Attachment: pgpnYSzxg8GLO.pgp
Description: PGP signature

Reply via email to