From owner-freebsd-current@freebsd.org Mon Feb 19 20:10:59 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1C796F205A6 for ; Mon, 19 Feb 2018 20:10:59 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from mailer.gwdg.de (mailer.gwdg.de [134.76.10.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B1C9A68E7A for ; Mon, 19 Feb 2018 20:10:58 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from um-excht-a01.um.gwdg.de ([134.76.11.221] helo=email.gwdg.de) by mailer.gwdg.de with esmtp (Exim 4.80) (envelope-from ) id 1enrlx-0007p2-Mx; Mon, 19 Feb 2018 21:10:49 +0100 Received: from UM-EXCHT-S1.um.gwdg.de (134.76.9.213) by um-excht-a01.um.gwdg.de (134.76.9.210) with Microsoft SMTP Server (TLS) id 14.3.382.0; Mon, 19 Feb 2018 21:10:49 +0100 Received: from krabat.raven.hur (91.8.148.12) by email.gwdg.de (134.76.9.213) with Microsoft SMTP Server (TLS) id 14.3.382.0; Mon, 19 Feb 2018 21:10:48 +0100 Subject: Re: pkg does not recognize correct kernel version To: Ronald Klop , References: From: Rainer Hurling Message-ID: Date: Mon, 19 Feb 2018 21:10:48 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: de-DE Content-Transfer-Encoding: 8bit X-Spam-Level: - X-Virus-Scanned: (clean) by clamav X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2018 20:10:59 -0000 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: 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-current/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=1200058 helps, but does not feel like the right solution. > > Regards, > Ronald. Please try #sysctl kern.osreldate kern.osreldate: 1200058 HTH, Rainer Hurling