Re: problems with fetch



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

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...

Using 'pkg_add':

--BEGIN SNIP--

root@SS002:~ 160:0# pkg_add -r xpdf
Error: FTP Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/Latest/xpdf.tbz:
Syntax error in parameters or arguments
pkg_add: unable to fetch
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/Latest/xpdf.tbz'
by URL

--END SNIP--
...

This is probably better-suited to the freebsd-questions@ list, but I'll
take a quick stab at it. Could it be that you're behind a firewall or
FTP proxy that doesn't support active FTP transfers? You mentioned you
tried several of the knobs for fetch, but did you try the same fetch
with the -p flag?

fetch -p
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/Latest/xpdf.tbz


-Proto
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: ports fetch timeout
    ... > I've been trying to install a bunch of packages on a freshly built ... > consistently failing to download files from ftp servers on Internet. ... Any config for the ports sub-system? ... Fetch can be affected by a number of environment variables. ...
    (freebsd-questions)
  • Re: Numerous ftp timeouts - why?
    ... Why when trying to install various apps from ports do the ftp sessions ... If I manually fetch packages from ... This tells the ports system to prefer http where availible. ...
    (freebsd-questions)
  • Re: upgrading all ports
    ... >> some held ports, ... Normally portupgrade -Fa will fetch all the ... me not updating perl the right way. ... & reread UPDATING & found what I had missed. ...
    (freebsd-questions)
  • Re: fetch: operation not permitted (as root)
    ... I'm trying to install portupgrade using: ... I've never had this kind of trouble with the ports ... What port does fetch use? ... > FreeBVD 5.4 PRE-RELEASE fileserver. ...
    (comp.unix.bsd.freebsd.misc)
  • problems with fetch
    ... Fetch frequently fails for me when installing ports via "pkg_add" or directly ... Syntax error in parameters or arguments ...
    (freebsd-stable)