On Wed, Jan 28, 2009 at 04:04:23PM +0100, Hannah Schroeter wrote:
[...]
> Of course, the other possibility might be that the mirror might
> implement some FTP commands pkg_add needs differently or not at all.

I'm pretty sure it's something like this.

For example (using snapshots, because I'm running -current, but on
an OpenBSD-4.4 machien I got the same results):

$ 
PKG_PATH=ftp://ftp.freenet.de/pub/ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386/
 pkg_add -ni ytree
/usr/sbin/pkg_add should be run as root
Can't resolve ytree

$ PKG_PATH=ftp://openbsd.ftp.fu-berlin.de/pub/OpenBSD/snapshots/packages/i386/ 
pkg_add -ni ytree
/usr/sbin/pkg_add should be run as root
Pretending to add ytree-1.89
/dev/wd0e: 338 bytes
/dev/wd0f: 154656 bytes

However:
$ pkg_add -ni 
ftp://ftp.freenet.de/pub/ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386/ytree-1.89
/usr/sbin/pkg_add should be run as root
Pretending to add ytree-1.89
/dev/wd0e: 338 bytes
/dev/wd0f: 154656 bytes

Since the OP mentioned somewhere else that it worked earlier (with
OpenBSD-4.4) and suddenly doesn't work any longer (with OpenBSD-4.4,
but as you can see above, as you can see above), something must
have been changed on the freenet mirror that now breaks pkg_add(8)
or triggers some hidden bug or shortcoming in it.

Ciao,
        Kili

-- 
Everytime one forgets an argument in a printf-like function call,
God kills a kitten. Commiters, please think of the kittens when
working on code.
                -- Miod Vallat

Reply via email to