Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jul 2016 11:11:04 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        Mel Pilgrim <list_freebsd@bluerosetech.com>, Ben Woods <woodsb02@gmail.com>
Cc:        "freebsd-pkgbase@freebsd.org" <freebsd-pkgbase@freebsd.org>
Subject:   Re: amd64 vs. x86:64 architecture mismatch in FreeBSD-base repo
Message-ID:  <87f75233-6796-6992-5f03-940a590a60dc@freebsd.org>
In-Reply-To: <ee0e8cb7-8c18-f97a-f0da-97784230f612@bluerosetech.com>
References:  <0295c3e9-a6ed-9081-ae3d-0668138289d3@bluerosetech.com> <4793bae9-9346-300f-b331-96fb54f7d2a0@FreeBSD.org> <CAOc73CDC-j=vovxj-Z8c7hG9Cig5sf5gy3aXp91tdJT=qntcJQ@mail.gmail.com> <adb319a0-0c9d-3d37-1216-22e8d6425c05@freebsd.org> <CAOc73CCjprQzRxXC3dg9wVSe3Gzn_HP-DCh5hJQmi-iS3GLk8A@mail.gmail.com> <ee0e8cb7-8c18-f97a-f0da-97784230f612@bluerosetech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--FHo2Ba99wdF7n6N3eD7OT5fWNEqOd39Dh
Content-Type: multipart/mixed; boundary="Et0TUdoUKEAqkc8c5WFB7M2KKMgH80NFG"
From: Matthew Seaman <matthew@freebsd.org>
To: Mel Pilgrim <list_freebsd@bluerosetech.com>,
 Ben Woods <woodsb02@gmail.com>
Cc: "freebsd-pkgbase@freebsd.org" <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>
 <CAOc73CDC-j=vovxj-Z8c7hG9Cig5sf5gy3aXp91tdJT=qntcJQ@mail.gmail.com>
 <adb319a0-0c9d-3d37-1216-22e8d6425c05@freebsd.org>
 <CAOc73CCjprQzRxXC3dg9wVSe3Gzn_HP-DCh5hJQmi-iS3GLk8A@mail.gmail.com>
 <ee0e8cb7-8c18-f97a-f0da-97784230f612@bluerosetech.com>
In-Reply-To: <ee0e8cb7-8c18-f97a-f0da-97784230f612@bluerosetech.com>

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87f75233-6796-6992-5f03-940a590a60dc>