From owner-freebsd-pkgbase@freebsd.org Thu Jul 28 10:11:27 2016 Return-Path: Delivered-To: freebsd-pkgbase@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 AE72ABA7069 for ; Thu, 28 Jul 2016 10:11:27 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3AAB81BFB for ; Thu, 28 Jul 2016 10:11:27 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from ox-dell39.ox.adestra.com (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id E028489CE; Thu, 28 Jul 2016 10:11:18 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/E028489CE; dkim=none; dkim-atps=neutral Subject: Re: amd64 vs. x86:64 architecture mismatch in FreeBSD-base repo To: Mel Pilgrim , Ben Woods References: <0295c3e9-a6ed-9081-ae3d-0668138289d3@bluerosetech.com> <4793bae9-9346-300f-b331-96fb54f7d2a0@FreeBSD.org> Cc: "freebsd-pkgbase@freebsd.org" From: Matthew Seaman Message-ID: <87f75233-6796-6992-5f03-940a590a60dc@freebsd.org> Date: Thu, 28 Jul 2016 11:11:04 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="FHo2Ba99wdF7n6N3eD7OT5fWNEqOd39Dh" X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2016 10:11:27 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --FHo2Ba99wdF7n6N3eD7OT5fWNEqOd39Dh Content-Type: multipart/mixed; boundary="Et0TUdoUKEAqkc8c5WFB7M2KKMgH80NFG" From: Matthew Seaman To: Mel Pilgrim , Ben Woods Cc: "freebsd-pkgbase@freebsd.org" Message-ID: <87f75233-6796-6992-5f03-940a590a60dc@freebsd.org> Subject: Re: amd64 vs. x86:64 architecture mismatch in FreeBSD-base repo References: <0295c3e9-a6ed-9081-ae3d-0668138289d3@bluerosetech.com> <4793bae9-9346-300f-b331-96fb54f7d2a0@FreeBSD.org> In-Reply-To: --Et0TUdoUKEAqkc8c5WFB7M2KKMgH80NFG Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 07/27/16 23:56, Mel Pilgrim wrote: > On 2016-07-27 15:42, Ben Woods wrote: >> Ok, it seems the PkgBase repo is located in a directory that uses the >> ABI style FreeBSD:12:amd64 in the directory name, but the packages >> contained within that repo are built for ABI freebsd:12:x86:64. >> >> The following should be a suitable work-around: >> >> 1. Change the contents of /usr/local/etc/pkg/repo/FreeBSD-base.conf, >> updating the url line to remove the ${ABI} variable and instead be: >> >> url: "file:///usr/obj/usr/src/repo/FreeBSD:12:amd64/latest", >> >> >> 2. Perform the upgrade by running the command: >> >> - >> >> # env ABI=3Dfreebsd:12:x86:64 pkg upgrade -r FreeBSD-base >> >> >> >> This likely needs to be fixed so that the work around is not >> necessary, but >> hopefully that gets you going in the mean time. >=20 > You can also symlink FreeBSD:12:x86:64 to FreeBSD:12:amd64 in > /usr/obj/usr/src/repo. That effectively makes the same repo available > for both ABI strings. OK, this works and I now have my CURRENT VM updated to something recent. Thank you. This major version upgrade via pkg needs to run much more smoothly though, preferably without having to fiddle with the repo.conf. Cheers, Matthew --Et0TUdoUKEAqkc8c5WFB7M2KKMgH80NFG-- --FHo2Ba99wdF7n6N3eD7OT5fWNEqOd39Dh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJXmdo5AAoJEABRPxDgqeTnUu0QAJbbKW2SUcr5645ZOp0kFTNt sFuh4lZNLZ7hxHr6OgSnY95+I/oTWeyCAkFCbaGaewaTt9XWEQugBMVF7Eta/XBB FZ665CWDRm0Ksb2mBcLQNRI5K3KcYfmZXSR2BLAZRWuAn6QWJ07TcoA4ZUTuJ+9a m/2Ho9UlTNs/YiYbljerinHPftA55VhDI3iXcAefmr0xD6StcHO7ZG6TXdbSXwMa KFuHkxQII0uxwCYHu/2znwohd6f6bBUpssi1kAeTIDyHNI1yicYT8vCZqf+mOOKn Ny/XmCugT5c3cWHBMszBBJSP8LDv2T7tR+C3ux1aU6u0yUuUhZqibvaWy99kN0db 2RSNKk6MD6I9SIsfiEKiaXb+5Ad1q96IvKdY4WKVxOm+TrZllljE5mBYr3M5P1DQ zLtA2jVhfSsqEjFHzdn7kFD4sTESqorPJkwPEd76G9lCbV/5BOjG99VWbsDpcmpY e9qpdWqKS2jc85VsgvaBcTRjrZuQY6OfGjngNEysvvg9L67lP3qWdUYazSDZdHxG 7eK5xalLEOuZAeOlaxJuHo0GOhvqbujKfwfwdfB+7aYrPRUafoXj2zZz91kt8BDZ 5id96VWoG44H4MXa7ZVINIb2xtuWYPLQAj8upFwT5hf6mCL/ypDBVWStOjeOfked dk5B/1zuvDQSMMPKVwfx =OSUg -----END PGP SIGNATURE----- --FHo2Ba99wdF7n6N3eD7OT5fWNEqOd39Dh--