On 17 April 2018 at 14:13, IL Ka <kazakevichi...@gmail.com> wrote: > 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.
Yeah, seems like it's related to PKG_TMPDIR. Everything I need is installed now, the only thing I fear is that this will bite me during the next upgrade. (fsck doesn't generate errors)