Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jul 2016 15:56:48 -0700
From:      Mel Pilgrim <list_freebsd@bluerosetech.com>
To:        Ben Woods <woodsb02@gmail.com>, Matthew Seaman <matthew@freebsd.org>
Cc:        "freebsd-pkgbase@freebsd.org" <freebsd-pkgbase@freebsd.org>
Subject:   Re: amd64 vs. x86:64 architecture mismatch in FreeBSD-base repo
Message-ID:  <ee0e8cb7-8c18-f97a-f0da-97784230f612@bluerosetech.com>
In-Reply-To: <CAOc73CCjprQzRxXC3dg9wVSe3Gzn_HP-DCh5hJQmi-iS3GLk8A@mail.gmail.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>

next in thread | previous in thread | raw e-mail | index | archive | help
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=freebsd: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.

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ee0e8cb7-8c18-f97a-f0da-97784230f612>