Re: Oddness with pkg_add

2016-11-07 Thread Stuart Henderson
On 2016-11-04, Chris Huxtable wrote: > > # doas -u _pkgfetch host ftp.openbsd.org > ftp.openbsd.org is an alias for openbsd.sunsite.ualberta.ca. > openbsd.sunsite.ualberta.ca has address 129.128.5.191 Don't use host(1) to check, it doesn't use the system resolver that is used

Re: Oddness with pkg_add

2016-11-05 Thread Chris Huxtable
Thanks all, I sorted this out thanks to your suggestions. A script I use to copy/set permissions on a number of my config files and set up a clean system had a typo. It setting the permissions on /etc/resolve.conf to 640 instead of 644. As such _pkgfetch couldn’t use dns. Regards, Chris > On

Re: Oddness with pkg_add

2016-11-04 Thread Erling Westenvik
On Fri, Nov 04, 2016 at 09:46:19AM -0500, Chris Bennett wrote: > If I offended anyone on the list, say so and I will pay penance with a > small donation to OpenBSD. Just don't say you're gonna "make OpenBSD great again".. Erling -- Erling Westenvik

Re: Oddness with pkg_add

2016-11-04 Thread Chris Bennett
On Fri, Nov 04, 2016 at 10:06:13AM -0400, Raul Miller wrote: > On Fri, Nov 4, 2016 at 9:54 AM, Chris Bennett > wrote: > > As a side note, if you use a server to download OpenBSD that is located > > in the US, there is always that chance that those crypto

Re: Oddness with pkg_add

2016-11-04 Thread Raul Miller
On Fri, Nov 4, 2016 at 9:54 AM, Chris Bennett wrote: > As a side note, if you use a server to download OpenBSD that is located > in the US, there is always that chance that those crypto issues might > one day be a concern. Something similar could be said

Re: Oddness with pkg_add

2016-11-04 Thread Chris Bennett
On Thu, Nov 03, 2016 at 10:21:57PM -0400, trondd wrote: > Try substituting the IP for the hostname. Is it just DNS that's the > problem or all network connectivity? > +1 on this. I frequently have DNS issues so I no longer use the hostname. As a side note, if you use a server to download

Re: Oddness with pkg_add

2016-11-04 Thread Marc Espie
On Thu, Nov 03, 2016 at 09:26:43PM -0400, trondd wrote: > On Thu, November 3, 2016 9:19 pm, trondd wrote: > > On Thu, November 3, 2016 9:07 pm, Chris Huxtable wrote: > >> Same as before unfortunately. > >> > >> # pkg_add -v nano > >> Error from

Re: Oddness with pkg_add

2016-11-03 Thread trondd
On Thu, November 3, 2016 9:52 pm, Chris Huxtable wrote: > Nothing funky with users in pf. I have tried to strip my pf.conf way back > in > an attempt to remove possible issues > but that hasnâ**t improved anything. I filter by interface, ip, and port, > thats all (so far). > > Nothing odd in

Re: Oddness with pkg_add

2016-11-03 Thread Chris Huxtable
Nothing funky with users in pf. I have tried to strip my pf.conf way back in an attempt to remove possible issues but that hasn’t improved anything. I filter by interface, ip, and port, thats all (so far). Nothing odd in dmesg. What really has me for a loop is why does everything work except this

Re: Oddness with pkg_add

2016-11-03 Thread trondd
On Thu, November 3, 2016 9:19 pm, trondd wrote: > On Thu, November 3, 2016 9:07 pm, Chris Huxtable wrote: >> Same as before unfortunately. >> >> # pkg_add -v nano >> Error from http://ftp.openbsd.org/pub/OpenBSD/6.0/packages/amd64/ >> ftp: ftp.openbsd.org: no address associated with name >>

Re: Oddness with pkg_add

2016-11-03 Thread trondd
On Thu, November 3, 2016 9:07 pm, Chris Huxtable wrote: > Same as before unfortunately. > > # pkg_add -v nano > Error from http://ftp.openbsd.org/pub/OpenBSD/6.0/packages/amd64/ > ftp: ftp.openbsd.org: no address associated with name > http://ftp.openbsd.org/pub/OpenBSD/6.0/packages/amd64/ is

Re: Oddness with pkg_add

2016-11-03 Thread Chris Huxtable
Same as before unfortunately. # pkg_add -v nano Error from http://ftp.openbsd.org/pub/OpenBSD/6.0/packages/amd64/ ftp: ftp.openbsd.org: no address associated with name http://ftp.openbsd.org/pub/OpenBSD/6.0/packages/amd64/ is empty Error from

Re: Oddness with pkg_add

2016-11-03 Thread Ax0n
That config looks completely rational. Perhaps add -v (or -vv .. -v) to get more and more verbose error messages and see if something useful pops up in the verbose output. On Thu, Nov 3, 2016 at 3:19 PM, Chris Huxtable wrote: > # cat /etc/pkg.conf > installpath =

Re: Oddness with pkg_add

2016-11-03 Thread Chris Huxtable
# cat /etc/pkg.conf installpath = http://ftp.openbsd.org/%m/ installpath += http://openbsd.cs.toronto.edu/%m/ installpath += http://athena.caslab.queensu.ca/%m/ # echo $PKG_PATH PKG_PATH is empty as I use pkg.conf > On Nov 3, 2016, at 3:43 PM, Ax0n wrote: > > Can we see the

Re: Oddness with pkg_add

2016-11-03 Thread Ax0n
Can we see the contents of /etc/pkg.conf and/or your $PKG_PATH variable from inside root's session? On Wed, Nov 2, 2016 at 6:48 PM, Chris Huxtable wrote: > OpenBSD Community, > > I upgraded my OpenBSD router from 5.9 to 6.0 by clean install and copied a > number of my old