Date: Thu, 10 Oct 2019 13:25:28 +0200 (CEST) From: Ronald Klop <ronald-lists@klop.ws> To: Bengt Ahlgren <bengt.ahlgren@ri.se> Cc: stable@freebsd.org Subject: Re: pkg thinks kernel is old Message-ID: <1883214925.66.1570706728382@localhost> In-Reply-To: <uh7h84h4n1q.fsf@P142.sics.se> References: <uh7h84h4n1q.fsf@P142.sics.se>
next in thread | previous in thread | raw e-mail | index | archive | help
This message of pkg is misleading. It looks at /bin/sh or something like that for the version. And prints that as the 'kernel' version. So if you did an incremental build and /bin/sh was not changed the version stays the same. To fix it you can do a clean buildworld/installworld. Regards, Ronald. Van: Bengt Ahlgren <bengt.ahlgren@ri.se> Datum: woensdag, 9 oktober 2019 23:38 Aan: stable@freebsd.org Onderwerp: pkg thinks kernel is old > > I've ran into this on my 11.3-STABLE system: > > # uname -K > 1103500 > # pkg update -f > Updating ivyp repository catalogue... > Fetching meta.txz: 100% 560 B 0.6kB/s 00:01 > Fetching packagesite.txz: 100% 410 KiB 419.9kB/s 00:01 > Processing entries: 0% > Newer FreeBSD version for package zziplib: > To ignore this error set IGNORE_OSVERSION=yes > - package: 1103000 > - running kernel: 1102509 > Ignore the mismatch and continue? [Y/n]: > > I build my own packages with poudriere, and have just switched from an > 11.2-REL to an 11.3-REL jail. I didn't force-upgrade everything after > the switch, perhaps that's needed to make pkg recognise the correct > kernel version? > > Bengt > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > > From owner-freebsd-stable@freebsd.org Thu Oct 10 13:44:27 2019 Return-Path: <owner-freebsd-stable@freebsd.org> Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F2B2C138956 for <freebsd-stable@mailman.nyi.freebsd.org>; Thu, 10 Oct 2019 13:44:27 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 46pskz42G8z40qg for <freebsd-stable@freebsd.org>; Thu, 10 Oct 2019 13:44:27 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) Received: by mailman.nyi.freebsd.org (Postfix) id 8A51F138955; Thu, 10 Oct 2019 13:44:27 +0000 (UTC) Delivered-To: stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8A110138954 for <stable@mailman.nyi.freebsd.org>; Thu, 10 Oct 2019 13:44:27 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0614.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1e::614]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46psky1y7jz40qf for <stable@freebsd.org>; Thu, 10 Oct 2019 13:44:25 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i5KhCpP7Y++nLFZtvTDQ2kzF6CBa77UuonmVGHSiCDSTULx/IqDn4k9TYsx9Kf0sPOxkjB6j0bq9iHpxbeLkusVLC/2IRQsZ/IgEWHpDorajpggM9G4YqvdhyfuhfuHOQJSHUM5zVAaXQVU0Ed2dAQW1Wl0KriJ7Ho0EIn+Dl98lOKJTIxsrSv8nfewl/cWk57Y+QG5CrAoz5R+a7zuHbss0O6gzSTOTQIYBFjnhjQn10jleq4jHDORPfKfvdxrTUDeBXHs7F/oiMQKUxPEYXxYOLX0ZUe3j3+bd2AwuPpIwgatB4SrivBDjlUFezLhq980yjZnvjmPj6FMd1DxOTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KE4Rv2FstckRSyd8+Yuhix1wpCQ5zFApbXdTjUUT9/Q=; b=ZtUw2h2E4Ok3e9fH1NafNjoPU+e1jcC/XrZzDle9dglFyc2AbuOqz8y30P5LcNppEc6pQLRnNzlEkFUrENKtTMyyJrpnp4+72UmPogdqyRXWJlAxtaFmpBUiLTrNfUULWA1JmDkQ9XX1GRqvJWPcj6AM2BUVPXAIS6dBMnvpMyZtZpLKy8yPOpLyz5yLbJizN0NxlTlSVISn13/Hgl+I8TiJhMfZn1zBR/YxH6DpooJmQcSOzwPVg1sEiC2gKXBbegrFIPuWuDZAUWrR1/2UchaCQFeLbrZSeSVy6J9cpZbjfagAT2M4UQiZd4xHUuMRC9cy3oZiI+yHdF5Jv7dzhQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 194.218.146.197) smtp.rcpttodomain=klop.ws smtp.mailfrom=ri.se; dmarc=pass (p=none sp=none pct=100) action=none header.from=ri.se; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=RISEcloud.onmicrosoft.com; s=selector2-RISEcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KE4Rv2FstckRSyd8+Yuhix1wpCQ5zFApbXdTjUUT9/Q=; b=W8+g7+Niu15LOPHlBGuODiHsKFORKFIoIAjB2wGD9DNXRFSAbshtjmJHxHrCLyl9i6O7/TBi2d9ACDF7i4XhFUEtOXbWjOXEasr0KGbuQUX7qjfAGJyPfDNr9TexaxfVvp+6UZmY6WdoQyFeTqwMMA22OiDsEO7UzDDjT9PvDxQ= Received: from VI1P18901CA0011.EURP189.PROD.OUTLOOK.COM (2603:10a6:801::21) by VI1P18901MB0765.EURP189.PROD.OUTLOOK.COM (2603:10a6:800:12c::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.17; Thu, 10 Oct 2019 13:44:22 +0000 Received: from AM5EUR02FT021.eop-EUR02.prod.protection.outlook.com (2a01:111:f400:7e1e::201) by VI1P18901CA0011.outlook.office365.com (2603:10a6:801::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2347.16 via Frontend Transport; Thu, 10 Oct 2019 13:44:22 +0000 Received-SPF: Pass (protection.outlook.com: domain of ri.se designates 194.218.146.197 as permitted sender) receiver=protection.outlook.com; client-ip=194.218.146.197; helo=mail.ri.se; Received: from mail.ri.se (194.218.146.197) by AM5EUR02FT021.mail.protection.outlook.com (10.152.8.93) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.2347.16 via Frontend Transport; Thu, 10 Oct 2019 13:44:22 +0000 Received: from P142.sics.se (10.116.0.226) by sp-mail-3.sp.se (10.100.0.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1779.2; Thu, 10 Oct 2019 15:44:01 +0200 Received: from P142.sics.se (localhost [127.0.0.1]) by P142.sics.se (8.15.2/8.15.2) with ESMTPS id x9ADi8O8002920 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 10 Oct 2019 15:44:08 +0200 (CEST) (envelope-from bengt.ahlgren@ri.se) Received: (from bengta@localhost) by P142.sics.se (8.15.2/8.15.2/Submit) id x9ADi3Z9002919; Thu, 10 Oct 2019 15:44:03 +0200 (CEST) (envelope-from bengt.ahlgren@ri.se) X-Authentication-Warning: P142.sics.se: bengta set sender to bengt.ahlgren@ri.se using -f From: Bengt Ahlgren <bengt.ahlgren@ri.se> To: Ronald Klop <ronald-lists@klop.ws> CC: <stable@freebsd.org> Subject: Re: pkg thinks kernel is old In-Reply-To: <1883214925.66.1570706728382@localhost> (Ronald Klop's message of "Thu, 10 Oct 2019 13:25:28 +0200") References: <uh7h84h4n1q.fsf@P142.sics.se> <1883214925.66.1570706728382@localhost> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (berkeley-unix) Date: Thu, 10 Oct 2019 15:44:03 +0200 Message-ID: <uh7imowyau4.fsf@P142.sics.se> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.116.0.226] X-ClientProxiedBy: sp-mail-2.sp.se (10.100.0.162) To sp-mail-3.sp.se (10.100.0.163) X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:194.218.146.197; IPV:NLI; CTRY:SE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(376002)(346002)(396003)(136003)(189003)(199004)(51914003)(6116002)(26005)(186003)(478600001)(386003)(87636003)(2906002)(50466002)(42186006)(316002)(58126008)(16586007)(76176011)(48376002)(6246003)(51416003)(40036005)(70206006)(4326008)(22756006)(3846002)(70586007)(106002)(305945005)(7736002)(6916009)(86362001)(356004)(229853002)(5660300002)(47776003)(9686003)(336012)(486006)(476003)(81156014)(81166006)(446003)(11346002)(14444005)(8936002)(44832011)(126002)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1P18901MB0765; H:mail.ri.se; FPR:; SPF:Pass; LANG:en; PTR:InfoDomainNonexistent; MX:1; A:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b1165cf0-20ee-4606-c502-08d74d87f52e X-MS-TrafficTypeDiagnostic: VI1P18901MB0765: X-Microsoft-Antispam-PRVS: <VI1P18901MB0765A3D50860040EC7F9843AF6940@VI1P18901MB0765.EURP189.PROD.OUTLOOK.COM> X-MS-Oob-TLC-OOBClassifiers: OLM:4714; X-Forefront-PRVS: 018632C080 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MCmLNFE6bU0Lhk2N3tuym1fJPwqu/T52KxicsvcCpWur7HgF95EGT0LIf6Omfa+qsvNe+pXqI8LqP83cvPdOkU3E+8UXQEsh0tKW9Oq0bqcWvRJIFweMw2DbiwbUeEoLW34P2FYm/NVoCnwZ9OR0CPJoLWdnU8H2zwat5T2XbdrccKzsLiP3Oer8SHwrxXMZ5N+Wn4Ikn1fgFLWE7YoLGZO9QD5HpZd3Nw0hLaIAY+jD4l6jnXsbEPoacOjwQK2PFMgCKr40npbWNAbbE9PMCEIa48ln2NCx/Hjw9k7e/A/lxgejz9OxD5lRN9+SzPvydIW+UrlIJB6I/oglkHTZFGIuOfnUOZlVrWFR6x2FlXmbDIN1o8nM/Fi19xWj2mNGBxuovY3FGCYfhMpVVIVHToFaI+dDwDeuSVbbADe2k24= X-OriginatorOrg: ri.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2019 13:44:22.4990 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b1165cf0-20ee-4606-c502-08d74d87f52e X-MS-Exchange-CrossTenant-Id: 5a9809cf-0bcb-413a-838a-09ecc40cc9e8 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5a9809cf-0bcb-413a-838a-09ecc40cc9e8; Ip=[194.218.146.197]; Helo=[mail.ri.se] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1P18901MB0765 X-Rspamd-Queue-Id: 46psky1y7jz40qf X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=RISEcloud.onmicrosoft.com header.s=selector2-RISEcloud-onmicrosoft-com header.b=W8+g7+Ni; dmarc=pass (policy=none) header.from=ri.se; spf=pass (mx1.freebsd.org: domain of bengt.ahlgren@ri.se designates 2a01:111:f400:fe1e::614 as permitted sender) smtp.mailfrom=bengt.ahlgren@ri.se X-Spamd-Result: default: False [-5.19 / 15.00]; IP_SCORE(-1.19)[ipnet: 2a01:111:f000::/36(-3.29), asn: 8075(-2.60), country: US(-0.05)]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[RISEcloud.onmicrosoft.com:s=selector2-RISEcloud-onmicrosoft-com]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[RISEcloud.onmicrosoft.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[4.1.6.0.0.0.0.0.0.0.0.0.0.0.0.0.e.1.e.f.0.0.4.f.1.1.1.0.1.0.a.2.list.dnswl.org : 127.0.3.0]; DMARC_POLICY_ALLOW(-0.50)[ri.se,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; ARC_ALLOW(-1.00)[i=1] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-stable>, <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable/> List-Post: <mailto:freebsd-stable@freebsd.org> List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-stable>, <mailto:freebsd-stable-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 10 Oct 2019 13:44:28 -0000 Ronald Klop <ronald-lists@klop.ws> writes: > Van: Bengt Ahlgren <bengt.ahlgren@ri.se> > Datum: woensdag, 9 oktober 2019 23:38 > Aan: stable@freebsd.org > Onderwerp: pkg thinks kernel is old >> >> I've ran into this on my 11.3-STABLE system: >> >> # uname -K >> 1103500 >> # pkg update -f >> Updating ivyp repository catalogue... >> Fetching meta.txz: 100% 560 B 0.6kB/s 00:01 Fetching >> packagesite.txz: 100% 410 KiB 419.9kB/s 00:01 Processing >> entries: 0% >> Newer FreeBSD version for package zziplib: >> To ignore this error set IGNORE_OSVERSION=yes >> - package: 1103000 >> - running kernel: 1102509 >> Ignore the mismatch and continue? [Y/n]: >> >> I build my own packages with poudriere, and have just switched from an >> 11.2-REL to an 11.3-REL jail. I didn't force-upgrade everything after >> the switch, perhaps that's needed to make pkg recognise the correct >> kernel version? >> >> Bengt > This message of pkg is misleading. > > It looks at /bin/sh or something like that for the version. And prints > that as the 'kernel' version. So if you did an incremental build and > /bin/sh was not changed the version stays the same. > To fix it you can do a clean buildworld/installworld. > > Regards, > Ronald. That might well be it - I've done some buildworld:s with -DNO_CLEAN lately. I'll test - thanks for the tip! Bengt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1883214925.66.1570706728382>