Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2018 21:25:22 +0100
From:      "Ronald Klop" <ronald-lists@klop.ws>
To:        "Michael Gmelin" <freebsd@grem.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: pkg does not recognize correct kernel version
Message-ID:  <op.zeo9okbqkndu52@klop.ws>
In-Reply-To: <A5670F15-904E-4711-903E-749A71A760F5@grem.de>
References:  <op.zeo60hflkndu52@klop.ws> <A5670F15-904E-4711-903E-749A71A760F5@grem.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 19 Feb 2018 20:54:57 +0100, Michael Gmelin <freebsd@grem.de> wro=
te:

>
>> On 19. Feb 2018, at 20:27, Ronald Klop <ronald-lists@klop.ws> wrote:
>>
>> 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: Newer FreeBSD version for package gnome-menus:
>> - package: 1200058
>> - running kernel: 1200056
>> pkg: repository FreeBSD contains packages for wrong OS version:  =

>> FreeBSD:12:amd64
>> Processing entries: 100%
>> Unable to update repository FreeBSD
>> Error updating repositories!
>>
>> [root@sjakie ~]# uname -UK
>> 1200058 1200058
>>
>> [root@sjakie ~]# uname -a
>> FreeBSD sjakie 12.0-CURRENT FreeBSD 12.0-CURRENT #4 r329516M: Sun Feb=
  =

>> 18 12:37:36 CET 2018      =

>> ronald@sjakie:/data/ronald/obj-freebsd-current/data/ronald/freebsd-cu=
rrent/amd64.amd64/sys/GENERIC-NODEBUG   =

>> amd64
>>
>>
>> So uname gives a different version than pkg detects.
>>
>> What is happening? pkg update -f gives the same result. -o  =

>> OSVERSION=3D1200058 helps, but does not feel like the right solution.=

>
> What is the output of =E2=80=98freebsd-version=E2=80=99?
>
> Best,
> Michael
>
>


[root@sjakie ~]# freebsd-version
12.0-CURRENT


Regards,
Ronald.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.zeo9okbqkndu52>