Re: pkg_add problems



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@xxxxxxxxxxxxxx:/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@xxxxxxxxxxxxxx

Attachment: pgpeV1sODUBh0.pgp
Description: PGP signature



Relevant Pages

  • pkg_add problems
    ... p0069# pkg_add -r bash ... Network is unreachable ... pkg_add: unable to fetch ... Any thoughts on trouble shooting this would be appreciated. ...
    (freebsd-questions)
  • Re: Useful tools missing from /rescue
    ... no chown in it, so the toolset is a bit incomplete. ... I'm surprised no one has mentioned ftp or fetch. ... the network, ...
    (freebsd-hackers)
  • Re: vim port have a lot of broken links ??
    ... ISP if we should examine all ticket we get with.. ... So it must be that it tries ipv6 first. ... And the ISP is not the problem - I works for them in the network ... => Attempting to fetch from http://ftp.vim.org/pub/vim/unix/. ...
    (freebsd-questions)
  • Re: k700i whats it worth?
    ... immaculate and comes with the genuine SE leather case and mains charger, ... unlocked (not locked to a specific network). ...
    (uk.telecom.mobile)
  • Join hands with 5000+ Corp-Corp Recruiters Network
    ... network of recruiters. ... Please view the list of companies already joined in this network ... Post your consultants and FETCH the requirements. ...
    (sci.med.transcription)