amd64 vs. x86:64 architecture mismatch in FreeBSD-base repo

Mel Pilgrim list_freebsd at bluerosetech.com
Wed Jul 27 22:56:53 UTC 2016


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.


More information about the freebsd-pkgbase mailing list