From owner-freebsd-ports@freebsd.org Mon Jan 15 16:00:28 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6803AEB6DF9 for ; Mon, 15 Jan 2018 16:00:28 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 32E627E141; Mon, 15 Jan 2018 16:00:28 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id 780D4BDD56; Mon, 15 Jan 2018 17:00:25 +0100 (CET) Received: from ogg.in.absolight.net (ogg.in.absolight.net [79.143.241.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by prod2.absolight.net (Postfix) with ESMTPSA id 4F267BDD39; Mon, 15 Jan 2018 17:00:25 +0100 (CET) Subject: Re: Newer FreeBSD version for package breaks binary updates To: Michael Gmelin , Mathieu Arnold Cc: freebsd-ports@freebsd.org, bapt@freebsd.org References: <20180115155518.78223869@bsd64.grem.de> <398ccb7e-6d47-9566-eed6-230953ba903e@FreeBSD.org> From: Mathieu Arnold Organization: Absolight / The FreeBSD Foundation Message-ID: Date: Mon, 15 Jan 2018 17:00:24 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: fr X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jan 2018 16:00:28 -0000 Le 15/01/2018 =C3=A0 16:39, Michael Gmelin a =C3=A9crit=C2=A0: > >> On 15. Jan 2018, at 16:16, Mathieu Arnold wrote: >> >>> Le 15/01/2018 =C3=A0 15:55, Michael Gmelin a =C3=A9crit : >>> Hi Bapt, >>> >>> I can't get binary updates anymore, because: >>> >>> pkg: Newer FreeBSD version for package ....: >>> - package: 1200055 >>> - running kernel: 1200054 >>> pkg: repository FreeBSD contains packages for wrong OS version: >>> FreeBSD:12:amd64 >>> >>> >>> Am I misunderstanding this, or does this mean that pkg forces me to >>> update my system before I can install any package updates (even super= >>> small ones). This seems like a bad idea that potentially will break m= any >>> deployments/workflows. >> >> pkg is telling you "this package was built with 1200055, you are runin= g >> 1200054, it will probably break" and refuses to install the package. >> >> If you want to force it, overwrite OSVERSION to 1200055, something lik= e >> `pkg -o OSVERSION=3D1200055 upgrade`. But this will probably break th= e >> packages you install at one point. >> > I understand that message, but besides that this was hardly a problem i= n the past (especially for minor version differences), it also forces peo= ple to update at the same time as FreeBSD package builders, which has con= sequences. Is adding this dependency really what we want, will package bu= ilder updates scheduled in a predictable way, so system update cycles of = users can be aligned, etc.? Otherwise this just adds another way to cut = users from updating packages/forces them back to building packages themse= lves. It has been a big problem in the past. When 10.1 and 10.2 went out of support, the package builds were switched to 10.3, and users running 10.1 and 10.2 who ran pkg upgrade got a broken pkg saying it could not find open_at or something. With this change, it could have told you "hey, you're running 100100, and this was built with 100300" or something, and they could have had time to upgrade before breaking their systems. --=20 Mathieu Arnold