On 6 February 2017 at 04:41, Marc Espie <es...@nerim.net> wrote:
> On Sat, Feb 04, 2017 at 08:31:45PM -0800, jungle boogie wrote:
>> On 02/04/2017 05:45 PM, Philip Guenther wrote:
>> >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.
>> >
>> >
>>
>> Here's where it actually lits the URL:
>
> perl doesn't do network connects in that context.
> just run
> ftp -o - http://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/
> it should dump the html list of packages.
>
> if it doesn't, your network is broken.

Ah, that's a good trick! I'll keep that in mind if there's a next time.

-- 
-------
inum: 883510009027723
sip: jungleboo...@sip2sip.info

Reply via email to