From owner-freebsd-current@freebsd.org Sat May 5 16:47:48 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 2A97DFB2FB4 for ; Sat, 5 May 2018 16:47:48 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from pmta2.delivery6.ore.mailhop.org (pmta2.delivery6.ore.mailhop.org [54.200.129.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6EAD56F2FD for ; Sat, 5 May 2018 16:47:46 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 0580517e-5084-11e8-b234-5d9545c6b53f X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound2.ore.mailhop.org (Halon) with ESMTPSA id 0580517e-5084-11e8-b234-5d9545c6b53f; Sat, 05 May 2018 16:47:39 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id w45GlaVq050718; Sat, 5 May 2018 10:47:36 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1525538856.57768.293.camel@freebsd.org> Subject: Re: IGNORE_OSVERSION=yes -- can't install pkg From: Ian Lepore To: bsd-lists@BSDforge.com, FreeBSD Current Date: Sat, 05 May 2018 10:47:36 -0600 In-Reply-To: <7c58b8eb1bc3f83819c2aab6bfea322c@udns.ultimatedns.net> References: <7c58b8eb1bc3f83819c2aab6bfea322c@udns.ultimatedns.net> Content-Type: text/plain; charset="ASCII" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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: Sat, 05 May 2018 16:47:48 -0000 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. -- Ian