From owner-freebsd-ports@freebsd.org Mon Jan 15 15:39:59 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 908AAEB547D for ; Mon, 15 Jan 2018 15:39:59 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.grem.de (outcast.grem.de [213.239.217.27]) by mx1.freebsd.org (Postfix) with SMTP id E6C9B7CC9B for ; Mon, 15 Jan 2018 15:39:58 +0000 (UTC) (envelope-from freebsd@grem.de) Received: (qmail 21743 invoked by uid 89); 15 Jan 2018 15:39:57 -0000 Received: from unknown (HELO ?192.168.100.220?) (mg@grem.de@195.30.121.97) by mail.grem.de with ESMTPA; 15 Jan 2018 15:39:57 -0000 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: Newer FreeBSD version for package breaks binary updates From: Michael Gmelin X-Mailer: iPhone Mail (14G60) In-Reply-To: <398ccb7e-6d47-9566-eed6-230953ba903e@FreeBSD.org> Date: Mon, 15 Jan 2018 16:39:55 +0100 Cc: freebsd-ports@freebsd.org, bapt@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20180115155518.78223869@bsd64.grem.de> <398ccb7e-6d47-9566-eed6-230953ba903e@FreeBSD.org> To: Mathieu Arnold 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 15:39:59 -0000 > On 15. Jan 2018, at 16:16, Mathieu Arnold wrote: >=20 >> Le 15/01/2018 =C3=A0 15:55, Michael Gmelin a =C3=A9crit : >> Hi Bapt, >>=20 >> I can't get binary updates anymore, because: >>=20 >> pkg: Newer FreeBSD version for package ....: >> - package: 1200055 >> - running kernel: 1200054 >> pkg: repository FreeBSD contains packages for wrong OS version: >> FreeBSD:12:amd64 >>=20 >>=20 >> 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 many >> deployments/workflows. >=20 >=20 > pkg is telling you "this package was built with 1200055, you are runing > 1200054, it will probably break" and refuses to install the package. >=20 > If you want to force it, overwrite OSVERSION to 1200055, something like > `pkg -o OSVERSION=3D1200055 upgrade`. But this will probably break the > packages you install at one point. >=20 I understand that message, but besides that this was hardly a problem in the= past (especially for minor version differences), it also forces people to u= pdate at the same time as FreeBSD package builders, which has consequences. I= s adding this dependency really what we want, will package builder updates s= cheduled in a predictable way, so system update cycles of users can be align= ed, etc.? Otherwise this just adds another way to cut users from updating p= ackages/forces them back to building packages themselves. Yours, Michael