Re: pkg does not recognize correct kernel version

2018-03-02 Thread John Baldwin
On Thursday, March 01, 2018 02:02:58 PM Konstantin Belousov wrote: > On Wed, Feb 28, 2018 at 03:32:43PM -0800, John Baldwin wrote: > > On Wednesday, February 28, 2018 09:45:47 PM Konstantin Belousov wrote: > > > On Wed, Feb 28, 2018 at 10:57:53AM -0800, John Baldwin wrote: > > > > On Tuesday, Febru

Re: pkg does not recognize correct kernel version

2018-03-01 Thread Konstantin Belousov
On Wed, Feb 28, 2018 at 03:32:43PM -0800, John Baldwin wrote: > On Wednesday, February 28, 2018 09:45:47 PM Konstantin Belousov wrote: > > On Wed, Feb 28, 2018 at 10:57:53AM -0800, John Baldwin wrote: > > > On Tuesday, February 20, 2018 10:19:02 AM Conrad Meyer wrote: > > > > On Mon, Feb 19, 2018 a

Re: pkg does not recognize correct kernel version

2018-02-28 Thread John Baldwin
On Wednesday, February 28, 2018 09:45:47 PM Konstantin Belousov wrote: > On Wed, Feb 28, 2018 at 10:57:53AM -0800, John Baldwin wrote: > > On Tuesday, February 20, 2018 10:19:02 AM Conrad Meyer wrote: > > > On Mon, Feb 19, 2018 at 2:38 PM, Ronald Klop wrote: > > > > On Mon, 19 Feb 2018 22:05:51 +0

Re: pkg does not recognize correct kernel version

2018-02-28 Thread Konstantin Belousov
On Wed, Feb 28, 2018 at 10:57:53AM -0800, John Baldwin wrote: > On Tuesday, February 20, 2018 10:19:02 AM Conrad Meyer wrote: > > On Mon, Feb 19, 2018 at 2:38 PM, Ronald Klop wrote: > > > On Mon, 19 Feb 2018 22:05:51 +0100, Konstantin Belousov > > > wrote: > > > > > >> Look at the man page. pkg

Re: pkg does not recognize correct kernel version

2018-02-28 Thread John Baldwin
On Tuesday, February 20, 2018 10:19:02 AM Conrad Meyer wrote: > On Mon, Feb 19, 2018 at 2:38 PM, Ronald Klop wrote: > > On Mon, 19 Feb 2018 22:05:51 +0100, Konstantin Belousov > > wrote: > > > >> Look at the man page. pkg reads version from the /bin/sh ELF FreeBSD > > > > > > Which man page? I c

Re: pkg does not recognize correct kernel version

2018-02-21 Thread Andreas Nilsson
As of pkg-1.10.5 it will ask if you wish to proceed which makes this much easier to deal with. Best regards Andreas On Feb 21, 2018 20:45, "Trond Endrestøl" < trond.endres...@fagskolen.gjovik.no> wrote: > On Wed, 21 Feb 2018 20:01+0100, Ronald Klop wrote: > > > On Tue, 20 Feb 2018 11:30:52 +0100

Re: pkg does not recognize correct kernel version

2018-02-21 Thread Trond Endrestøl
On Wed, 21 Feb 2018 20:01+0100, Ronald Klop wrote: > On Tue, 20 Feb 2018 11:30:52 +0100, Trond Endrestøl > wrote: > > > On Mon, 19 Feb 2018 23:38+0100, Ronald Klop wrote: > > > > > Does this mean I always have to do a *clean* buildworld after every > > > version > > > bump? This takes ages. > >

Re: pkg does not recognize correct kernel version

2018-02-21 Thread Michael Gmelin
Still breaks automation, doesn’t it? > On 21. Feb 2018, at 20:49, Andreas Nilsson wrote: > > As of pkg-1.10.5 it will ask if you wish to proceed which makes this much > easier to deal with. > > Best regards > Andreas > > On Feb 21, 2018 20:45, "Trond Endrestøl" < > trond.endres...@fagskolen.gj

Re: pkg does not recognize correct kernel version

2018-02-21 Thread Trond Endrestøl
On Wed, 21 Feb 2018 20:49+0100, Andreas Nilsson wrote: > As of pkg-1.10.5 it will ask if you wish to proceed which makes this much > easier to deal with. That's an huge improvement. sys/sys/param.h and base are in agreement on the systems I manage, so I won't see the improvement in action for s

Re: pkg does not recognize correct kernel version

2018-02-21 Thread Ronald Klop
On Tue, 20 Feb 2018 11:30:52 +0100, Trond Endrestøl wrote: On Mon, 19 Feb 2018 23:38+0100, Ronald Klop wrote: Does this mean I always have to do a *clean* buildworld after every version bump? This takes ages. Yes, I've come to the conclusion that whenever __FreeBSD_version in sys/sys/pa

Re: pkg does not recognize correct kernel version

2018-02-20 Thread Conrad Meyer
On Mon, Feb 19, 2018 at 2:38 PM, Ronald Klop wrote: > On Mon, 19 Feb 2018 22:05:51 +0100, Konstantin Belousov > wrote: > >> Look at the man page. pkg reads version from the /bin/sh ELF FreeBSD > > > Which man page? I can't find it in pkg help update or pkg help upgrade or > man pkg. I had to di

Re: pkg does not recognize correct kernel version

2018-02-20 Thread Trond Endrestøl
On Mon, 19 Feb 2018 23:38+0100, Ronald Klop wrote: > Does this mean I always have to do a *clean* buildworld after every version > bump? This takes ages. Yes, I've come to the conclusion that whenever __FreeBSD_version in sys/sys/param.h is incremented, then it's time to blow away /usr/obj, rec

Re: pkg does not recognize correct kernel version

2018-02-19 Thread Andreas Nilsson
I think this was worked around in pkg 1.10.5. As a temporary workaround do pkg -o OSVERSION=1200058 update -f pkg upgrade Best regards Andreas On Feb 19, 2018 23:54, "Ronald Klop" wrote: On Mon, 19 Feb 2018 22:05:51 +0100, Konstantin Belousov wrote: On Mon, Feb 19, 2018 at 09:39:37PM +0100,

Re: pkg does not recognize correct kernel version

2018-02-19 Thread Ronald Klop
On Mon, 19 Feb 2018 22:05:51 +0100, Konstantin Belousov wrote: On Mon, Feb 19, 2018 at 09:39:37PM +0100, Rainer Hurling wrote: Am 19.02.2018 um 21:24 schrieb Ronald Klop: > On Mon, 19 Feb 2018 21:10:48 +0100, Rainer Hurling wrote: > >> Hi Ronald, >> >> Am 19.02.2018 um 20:27 schrieb Rona

Re: pkg does not recognize correct kernel version

2018-02-19 Thread Konstantin Belousov
On Mon, Feb 19, 2018 at 09:39:37PM +0100, Rainer Hurling wrote: > Am 19.02.2018 um 21:24 schrieb Ronald Klop: > > On Mon, 19 Feb 2018 21:10:48 +0100, Rainer Hurling wrote: > > > >> Hi Ronald, > >> > >> Am 19.02.2018 um 20:27 schrieb Ronald Klop: > >>> I just did this. > >>> > >>> root@sjakie ~]#

Re: pkg does not recognize correct kernel version

2018-02-19 Thread Rainer Hurling
Am 19.02.2018 um 21:24 schrieb Ronald Klop: > On Mon, 19 Feb 2018 21:10:48 +0100, Rainer Hurling wrote: > >> Hi Ronald, >> >> Am 19.02.2018 um 20:27 schrieb Ronald Klop: >>> I just did this. >>> >>> root@sjakie ~]# pkg upgrade >>> Updating FreeBSD repository catalogue... >>> Fetching meta.txz: 10

Re: pkg does not recognize correct kernel version

2018-02-19 Thread Ronald Klop
On Mon, 19 Feb 2018 21:10:48 +0100, Rainer Hurling wrote: Hi Ronald, Am 19.02.2018 um 20:27 schrieb Ronald Klop: I just did this. root@sjakie ~]# pkg upgrade Updating FreeBSD repository catalogue... Fetching meta.txz: 100%944 B 0.9kB/s00:01 Fetching packagesite.txz: 100%6 MiB

Re: pkg does not recognize correct kernel version

2018-02-19 Thread Ronald Klop
On Mon, 19 Feb 2018 20:54:57 +0100, Michael Gmelin wrote: On 19. Feb 2018, at 20:27, Ronald Klop wrote: I just did this. root@sjakie ~]# pkg upgrade Updating FreeBSD repository catalogue... Fetching meta.txz: 100%944 B 0.9kB/s00:01 Fetching packagesite.txz: 100%6 MiB 6.0MB/

Re: pkg does not recognize correct kernel version

2018-02-19 Thread Rainer Hurling
Hi Ronald, Am 19.02.2018 um 20:27 schrieb Ronald Klop: > I just did this. > > root@sjakie ~]# pkg upgrade > Updating FreeBSD repository catalogue... > Fetching meta.txz: 100%    944 B   0.9kB/s    00:01 > Fetching packagesite.txz: 100%    6 MiB   6.0MB/s    00:01 > Processing entries:   0% > pkg:

Re: pkg does not recognize correct kernel version

2018-02-19 Thread Michael Gmelin
> On 19. Feb 2018, at 20:27, Ronald Klop wrote: > > I just did this. > > root@sjakie ~]# pkg upgrade > Updating FreeBSD repository catalogue... > Fetching meta.txz: 100%944 B 0.9kB/s00:01 > Fetching packagesite.txz: 100%6 MiB 6.0MB/s00:01 > Processing entries: 0% > pkg: Ne