Re: problems with fetch

2006-06-29 Thread Christopher Hobbs
> What do these commands yield?
> 
>   locale

[EMAIL PROTECTED]:~ 176:0# locale
LANG=
LC_CTYPE="C"
LC_COLLATE="C"
LC_TIME="C"
LC_NUMERIC="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=


>   alias | grep -i fet
>   alias | grep -i get
>   env | grep -i fet
>   env | grep -i get

These don't return anything.

>   file `which fetch`

[EMAIL PROTECTED]:~ 181:1# file `which fetch`
/usr/bin/fetch: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD),
dynamically linked (uses shared libs), stripped

>   grep fetch /etc/make.conf

Returns nothing.

> Are you able to use the ftp client manually and d-load the files?

I am unable to use fetch to download the packages over ftp, but wget works just
peachy over ftp.  I don't have any gui clients, but firefox seems to work
without a hitch as well.

> 
> In a pinch, there are also some workarounds.  You could try "alias fetch 
> wget -c", which might work.  Setting  'FETCH_CMD=/usr/local/bin/wget -c'
> in /etc/make.conf should definitely work around this issue.
> 
> Sorry I'm not more help.

I'm currently in the process of rebuilding world to track 6 STABLE, in hopes
that it will do some good.  I'll give your workarounds a shot, it sure beats
manually grabbing packages.  Every little bit helps!

cmh
-- 
Christopher M. Hobbs
Systems Technician, City of Siloam Springs
[EMAIL PROTECTED], (479).524.5136


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


Re: problems with fetch

2006-06-29 Thread Kevin Kinsey

Christopher Hobbs wrote:


I'm a first time poster, so forgive me if this is the wrong list or if I break
etiquette.


Seems proper enough to me, here.


Fetch frequently fails for me when installing ports via "pkg_add" or directly
from the ports tree.  Regardless of the port I'm trying to add, it almost always
returns the following...

=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/xpdf-3.01pl1.patch:
Syntax error in parameters or arguments
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1
 
I think the key error in all of this is the part that says "Syntax error in

parameters or arguments".  This only seems to happen with FTP sites as opposed
to HTTP sites.  


Understandable, as this message is either an SMTP or FTP error code,
but not an HTTP one.  (We'll guess FTP in this case, methinks...) ;)

I can retrieve said files with wget without a hitch, so I'm at a

loss as to what's going on.  I've frobbed nearly every knob that fetch has to no
avail.


Hmm, that's kind of interesting.


I'm running 6.1:  FreeBSD SS002.admin.siloamsprings.com 6.1-RELEASE FreeBSD
6.1-RELEASE #0: Sun May  7 04:42:56 UTC 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386


It's a fresh install, I'll probably update soon.  I had the same problem in 5.4.
 
Thank you in advance for any help you may be able to provide!




Are you behind an FTP proxy? (Seems strange to get that message, but
it's worth asking about.)  What about a firewall (on 2d though, forget
that, you couldn't get the message from the server otherwise.

What do these commands yield?

locale
alias | grep -i fet
alias | grep -i get
env | grep -i fet
env | grep -i get
file `which fetch`
grep fetch /etc/make.conf

Are you able to use the ftp client manually and d-load the files?

In a pinch, there are also some workarounds.  You could try "alias fetch 
wget -c", which might work.  Setting  'FETCH_CMD=/usr/local/bin/wget -c'

in /etc/make.conf should definitely work around this issue.

Sorry I'm not more help.

Kevin Kinsey

--
A journey of a thousand miles begins with a cash advance from Sam.

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