On Mon, Nov 04, 2019 at 05:16:35PM GMT, Bruno Martin wrote:
> Hi Raf
>
> My PKG_PATH is empty.
> But actually, by Dsnaping, I fixed the problem.
> Regards
>
> Bruno
>
Hi Bruno,
Are you absolutely sure it is empty? pkg_add(1) is getting the wrong
URL from somewhere, and the usual suspects are: TRUSTED_PKG_PATH,
the aforementioned PKG_PATH, and installurl(5). Is the latter in order?
Check your user's, and root's env(1) for PKG_PATH again, please.
Well, if, like you said, you have upgraded to OpenBSD 6.6, and then
used:
# pkg_add -Dsnap -u
Then you didn't actually *fix* the problem, but potentially introduced
a new one ;^)
Regards,
Raf