From owner-freebsd-current@freebsd.org Mon Feb 19 20:39:41 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 70B3DF22A55 for ; Mon, 19 Feb 2018 20:39:41 +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 0A6166A65E for ; Mon, 19 Feb 2018 20:39:40 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from [134.76.11.226] (helo=email.stud.uni-goettingen.de) by mailer.gwdg.de with esmtp (Exim 4.80) (envelope-from ) id 1ensDr-0003Vz-3c; Mon, 19 Feb 2018 21:39:39 +0100 Received: from UM-EXCHT-A01.um.gwdg.de (134.76.9.210) by um-excht-s2.um.gwdg.de (134.76.9.214) with Microsoft SMTP Server (TLS) id 14.3.382.0; Mon, 19 Feb 2018 21:39:38 +0100 Received: from krabat.raven.hur (91.8.148.12) by email.gwdg.de (134.76.9.210) with Microsoft SMTP Server (TLS) id 14.3.382.0; Mon, 19 Feb 2018 21:39:38 +0100 Subject: Re: pkg does not recognize correct kernel version To: Ronald Klop , References: From: Rainer Hurling Message-ID: <80b54e13-7e6c-a52e-4d42-16903e16e67b@gwdg.de> Date: Mon, 19 Feb 2018 21:39:37 +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:39:41 -0000 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: 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-NODEBUGamd64 >>> >>> >>> >>> 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 > > > [root@sjakie ~]# sysctl kern.osreldate > kern.osreldate: 1200058 > > Regards, > Ronald. On my kernel patchlevel 1200058 (r329446) I get: #pkg update -f Updating FreeBSD repository catalogue... Fetching meta.txz: 100% 944 B 0.9kB/s 00:01 Fetching packagesite.txz: 100% 6 MiB 1.2MB/s 00:05 Processing entries: 100% FreeBSD repository update completed. 28645 packages processed. All repositories are up to date. Perhaps more a local problem :(