From owner-freebsd-current@freebsd.org Tue May 8 03:02:45 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 37B58FC9FAA for ; Tue, 8 May 2018 03:02:45 +0000 (UTC) (envelope-from peter@wemm.org) Received: from smtp2.wemm.org (smtp2.wemm.org [192.203.228.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp2.wemm.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CA709841AE; Tue, 8 May 2018 03:02:44 +0000 (UTC) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (canning.wemm.org [192.203.228.65]) by smtp2.wemm.org (Postfix) with ESMTP id DC83563D; Mon, 7 May 2018 20:02:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wemm.org; s=m20140428; t=1525748562; bh=6QK1MClL7orbQvLk5J1rJ7Y6gyQTYVqTwUbyBMCqCLI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Tl7IOBWYpKnqegjsGuhCeFP2SunDUjIEKS027+mB/hnKKQKaHmYpJbKjf5PY+fT6W bKJL5vJIqHdUqL9XdlpgdBWzajePFOtq+LfGlSn0HB6VCA7bz4d4ebRVrw0eysrQzq 4b6NB7V7qZZnlIDfUPyga4w8rVNqgQGh1VPh3Sh8= From: Peter Wemm To: freebsd-current@freebsd.org Cc: Ian Lepore , bsd-lists@bsdforge.com Subject: Re: IGNORE_OSVERSION=yes -- can't install pkg Date: Mon, 07 May 2018 20:02:41 -0700 Message-ID: <3873602.OYXp4yczo3@overcee.wemm.org> In-Reply-To: <1525538856.57768.293.camel@freebsd.org> References: <7c58b8eb1bc3f83819c2aab6bfea322c@udns.ultimatedns.net> <1525538856.57768.293.camel@freebsd.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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: Tue, 08 May 2018 03:02:45 -0000 On Saturday, May 5, 2018 9:47:36 AM PDT Ian Lepore wrote: > On Sat, 2018-05-05 at 08:26 -0700, Chris H wrote: > > On Fri, 04 May 2018 22:57:52 -0700 said > > > > > I just setup a jail from a 12-CURRENT I built awhile ago. It has no > > > ports > > > tree. So I'm attempting > > > to install svnlite. issuing pkg search svnlite returns > > > The package management tool is not yet installed on your system. > > > Do you want to fetch and install it now? [y/N]: y > > > Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:12:amd64/ > > > latest, > > > please wait... > > > Verifying signature with trusted certificate > > > pkg.freebsd.org.2013102301... > > > done > > > [12current.localhost] Installing pkg-1.10.5... > > > Newer FreeBSD version for package pkg: > > > To ignore this error set IGNORE_OSVERSION=yes > > > - package: 1200062 > > > - running kernel: 1200054 > > > Allow missmatch now?[Y/n]: > > > > > > Umm, what? Should I ignore this error? If so, why is there an error > > > at all? > > > I answered no. Guess I won't be able to use pkg(8) on this jail(8). > > > > > > :-( > > > > > > --Chris > > > > OK the only reference[1] I can find regarding this, indicates that > > answering "Y" > > to Allow missmatch now? resulted in an ABI mismatch that caused > > pkg(8) to be > > unusable. > > This is on an older version of 12, so I don't have anything that > > might have > > appeared in UPDATING. I really need this jail to resolve accumulating > > pr(1)'s > > on ports(7) I maintain. > > > > Thank you. > > The difference between 1200062 and 1200054 isn't going to affect > anything except modules which are intimate with kernel internals, such > as video drivers or virtualbox type stuff. > > IMO, this new version checking done by pkg(8) is just bad Bad BAD. The > only control you get is a knob that tells you to ignore any version > mismatch. There appears to be no option to get the historical worked- > really-well behavior of ignoring mismatches of the minor version for > people who track -current. There was an unfortunate Incident caused OSVERSION handling at a certain Verizon company that happens to run FreeBSD. We hit an OSVERSION implementation bug on the freebsd.org cluster today. We've disabled it across the entire site as it is unusable for us in this form. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5