From owner-freebsd-current@freebsd.org Mon Dec 26 19:18:17 2016 Return-Path: Delivered-To: freebsd-current@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 0DB3CC92938 for ; Mon, 26 Dec 2016 19:18:17 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id EE0771052 for ; Mon, 26 Dec 2016 19:18:16 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: by mailman.ysv.freebsd.org (Postfix) id ED5B3C92937; Mon, 26 Dec 2016 19:18:16 +0000 (UTC) Delivered-To: current@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 ED01FC92936 for ; Mon, 26 Dec 2016 19:18:16 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from aibo.runbox.com (aibo.runbox.com [91.220.196.211]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B2DB71051 for ; Mon, 26 Dec 2016 19:18:16 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from [10.9.9.241] (helo=rmm6prod02.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cLaSe-0008MB-8Y; Mon, 26 Dec 2016 19:57:28 +0100 Received: from mail by rmm6prod02.runbox.com with local (Exim 4.76) (envelope-from ) id 1cLaSe-0008UC-8J; Mon, 26 Dec 2016 19:57:28 +0100 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Received: from [Authenticated user (846156)] by runbox.com with http (RMM6); Mon, 26 Dec 2016 18:57:28 GMT From: "Jeffrey Bouquet" Reply-To: jbtakk@iherebuywisely.com To: "Marc UBM Bocklet" CC: "current" Subject: Re: pkg on old current - library woes Date: Mon, 26 Dec 2016 10:57:28 -0800 (PST) X-Mailer: RMM6 In-Reply-To: <20161226172706.5f3a588196ee067e6c19a5ef@gmail.com> Message-Id: X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Mon, 26 Dec 2016 19:18:17 -0000 On Mon, 26 Dec 2016 17:27:06 +0100, Marc UBM Bocklet wrote: >=20 > Hi list, >=20 > I'm writing this as an reminder for others who might be in a similar > situation. Don't blindly (like me) use pkg on an old current or you'll > (understandably) run into tons of library / linking issues. >=20 > I update my current only very belatedly and thus was running current > from around March 2016. pkg correctly detected ABI =3D > "FreeBSD:11:amd64"; and installed the requested packages, but of course > I was missing all kinds of recent library versions (libssl, libpam, > fopencookie problems in mod_php, among others). This caused me quite a > headache at first, but then I went from my ancient current to 11-release > and now everything works like a charm.=20 >=20 > Searching online, I found only one reference to the situation I had been > in: >=20 > https://lists.freebsd.org/pipermail/freebsd-pkgbase/2016-June/000271.html. >=20 > Maybe pkg could print some kind of warning if you're behind too far on > current, though admittedly this is very likely some edge case and > updating to a release version fixed everything.=20 >=20 > pkg itself is really great, it's just so much faster and simpler than > portmaster or the old package system. Props to all the people who made > that possible! >=20 > Cheers, > Marc >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" I used to use IIRC pkgdb -F : "pkgdb -F is not supported with PKGNG yet. Us= e 'pkg check' directly." I also used to use -b IIRC with portmaster to save .so. files, and nowadays= proactively check UPDATING to copy .so. files to /usr/local/lib/compat manually so pkg updates don't go awry hardly ever. ... using 11.0-CURRENT so I may get bitten by this one, but I've less trust in = IW once BW completes so tend to delay upgrading fwiw, also a lack of time.=