List Info

Thread: pkg_add problems




pkg_add problems
user name
2007-02-27 13:26:30
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-re
lease/Latest/bash.tbz:
Network is unreachable
pkg_add: unable to fetch
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-r
elease/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
xxxxp0069.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.

Thanks
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: pkg_add problems
country flaguser name
United States
2007-02-27 14:58:54
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-re
lease/Latest/bash.tbz: 
>

The file does or doesn't exist? (I've not checked, we'll
leave it in 
your court) 

> Network is unreachable

Network troubleshooting...?

> pkg_add: unable to fetch
>
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-r
elease/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
> xxxxp0069.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

So, some network troubleshooting is done.  Can you actually
download 
anything from the server, though?  FTP runs on two
"channels", and needs
to connect to a CONTROL port and a DATA port.  Possible that
CONTROL is 
open and DATA is blocked?

> Any thoughts on trouble shooting this would be
appreciated.
> 
> Thanks

Those are mine.  Good luck!

Kevin Kinsey
-- 
You may get an opportunity for advancement today.  Watch
it!

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: pkg_add problems
user name
2007-02-27 20:05:12
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-re
lease/Latest/bash.tbz:
> Network is unreachable
> pkg_add: unable to fetch
>
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-r
elease/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
> xxxxp0069.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
kdgrillsthe-grills.com

Re: pkg_add problems
country flaguser name
Poland
2007-02-28 05:02:30
there is no such package bash. there's only
bash-someversionofbashport

for example bash-3.1.16

get a look at 
tp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-rel
ease/Latest/ 
to see what version of bash is available

On 
Tue, 27 Feb 2007, 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-re
lease/Latest/bash.tbz:
> Network is unreachable
> pkg_add: unable to fetch
>
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-r
elease/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
> xxxxp0069.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.
>
> Thanks
> _______________________________________________
> freebsd-questionsfreebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
>
>
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: pkg_add problems
user name
2007-02-28 19:44:05
On Wed, Feb 28, 2007 at 12:02:30PM +0100, Wojciech Puchar
wrote:
> 
> there is no such package bash. there's only
bash-someversionofbashport

Au contraire:

[rootsrv2]/ $ pkg_add -r bash
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-re
lease/Latest/bash.tbz...
Done. pkg_add: package 'bash-3.1.17' or its older version
already installed

[rootsrv2]/ $ uname -v
FreeBSD 6.2-RELEASE #0: Sun Jan 28 15:04:56 CST 2007
kdgrillssrv2.the-grills.com:/usr/obj/usr/src/sys/SRV2

-- 
Kelly D. Grills
kdgrillsthe-grills.com

Re: pkg_add problems
user name
2007-02-28 20:16:41
Thanks everyone. The issue seems to be related to IPF, which
I am
trying to sort out. Basically when ipf is enabled, the
connectivity
fails, although my pass out rule for ftp includes ports 20
& 21. With
ipf -D disabled, no problems. I'll probably post to a new
thread after
I've tried some more first.

Thanks again.
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )