From owner-freebsd-stable@freebsd.org Wed Oct 9 23:21:48 2019 Return-Path: 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 E33AA132ADE for ; Wed, 9 Oct 2019 23:21:48 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 46pVbc540Dz49LH for ; Wed, 9 Oct 2019 23:21:48 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: by mailman.nyi.freebsd.org (Postfix) id AC1EA132ADD; Wed, 9 Oct 2019 23:21:48 +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 AACDA132ADC for ; Wed, 9 Oct 2019 23:21:48 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (phouka1.phouka.net [107.170.196.116]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "phouka.net", Issuer "Go Daddy Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46pVbb2gvkz49LC for ; Wed, 9 Oct 2019 23:21:47 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (localhost [127.0.0.1]) by phouka1.phouka.net (8.15.2/8.15.2) with ESMTPS id x99NKNXI010990 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 9 Oct 2019 16:20:24 -0700 (PDT) (envelope-from warlock@phouka1.phouka.net) Received: (from warlock@localhost) by phouka1.phouka.net (8.15.2/8.15.2/Submit) id x99NKNb5010989; Wed, 9 Oct 2019 16:20:23 -0700 (PDT) (envelope-from warlock) Date: Wed, 9 Oct 2019 16:20:23 -0700 From: John Kennedy To: Bengt Ahlgren Cc: stable@freebsd.org Subject: Re: pkg thinks kernel is old Message-ID: <20191009232023.GA46984@phouka1.phouka.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 46pVbb2gvkz49LC X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of warlock@phouka1.phouka.net has no SPF policy when checking 107.170.196.116) smtp.mailfrom=warlock@phouka1.phouka.net X-Spamd-Result: default: False [1.34 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.42)[-0.421,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; IP_SCORE(0.36)[ipnet: 107.170.192.0/18(0.15), asn: 14061(1.71), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[phouka.net]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.20)[0.201,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[warlock@phouka.net,warlock@phouka1.phouka.net]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:107.170.192.0/18, country:US]; FROM_NEQ_ENVFROM(0.00)[warlock@phouka.net,warlock@phouka1.phouka.net]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Oct 2019 23:21:48 -0000 On Wed, Oct 09, 2019 at 11:38:25PM +0200, Bengt Ahlgren wrote: > 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? If I saw that, I'd force-upgrade everything. With poudriere, it has seemed to always do the right thing but I haven't really tried it across big bumps yet (despite going from 12.0 into 12.1 through the beta). You might have some more major changes in there. I know pkg-upgrade won't reinstall just to bump up the version # for an installed package, but I don't know its logic.