On Sat, 4 Feb 2017, jungle boogie wrote: > What's happening here? > > $ doas pkg_add -u > Error from http://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/ > ftp: connect: Invalid argument
Running that under ktrace -i might help see the problem, ala
doas ktrace -i pkg_add -u
then kdump | less and look for a failed connect call. Should be able to
search for "connect -1 errno" and then go backwards to see the connect()
call and the sockaddr passed to it.
Philip Guenther

