So, does it work only with PKG_TMPDIR set? # PKG_TMPDIR=/tmp/foo pkg_add -r -vvv curl (-r is used to replace old package)
Could it be your harddrive or filesystem problem? Try to fsck partition where pkg_add stores packages. If you are able to download file by wget, you can install it using pkg_add by providing path to this file. ps: http://www.openbsd.org/faq/faq15.html > Strangely that worked. I did some googling before I wrote to this > > list, someone mentioned a similar error that > > got resolved by adding a PKG_TMPDIR. Might that have been the case? > > Never mind, got the same thing trying to install curl, maybe something more > fundamental is broken. Here's the output of pkg_add -vvv curl > > burt# pkg_add -vvv curl >