pkg_add problems

Kelly D. Grills kdgrills at the-grills.com
Wed Feb 28 02:05:14 UTC 2007


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
> xxxx at p0069.bm.local:/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
kdgrills at the-grills.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 243 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070228/aa856eba/attachment.pgp


More information about the freebsd-questions mailing list