Hi!

On Mon, May 11, 2009 at 04:33:51PM +0200, Helmut Schneider wrote:
>[email protected] (openbsd.bugs, 08.11.2008)

>I started the thread above when I upgraded from 4.3 to 4.4 and I never 
>recieved a reply. Now with 4.5 the problem still persists and is very 
>frustrating:

>[r...@ns3 ~]# export 
>PKG_PATH="ftp://openbsd.informatik.uni-erlangen.de/pub/OpenBSD/$(uname 
>-r)/packages/$(uname -m)"
>[r...@ns3 ~]# pkg_add -ui
>Error from 
>ftp://openbsd.informatik.uni-erlangen.de//pub/OpenBSD/4.5/packages/i386/:
>ftp: Error retrieving file: 502 Bad Gateway
>No packages available in the PKG_PATH
>[...]

>The problem is the extra "/" after the server name, fetch fails. I am 
>highly frustrated. Really. Any suggestions? It sucks to copy all ports to 
>the local disk to update ports.

env | grep proxy?

For me, pkg_add with a ftp_proxy never worked.

And, try adding a / at the end of PKG_PATH (though IIRC pkg_add is more
tolerant for missing slashes at the end now).

I.e.

unset ftp_proxy
export PKG_PATH="ftp://openbsd.informatik.uni-erlangen.de/pub/OpenBSD/$(uname 
-r)/packages/$(uname -m)/"
pkg_add -uiv

Kind regards,

Hannah.

Reply via email to