Upgrading from 11-current to 12-current with PkgBase

Ben Woods woodsb02 at gmail.com
Sun Jul 10 22:03:06 UTC 2016


Hi everyone,

Just a quick note to say that when trying to upgrade from 11-current to
12-current I got the following error:
# pkg upgrade -r FreeBSD-base
Updating FreeBSD-base repository catalogue...
Fetching meta.txz: 100%    268 B   0.3kB/s    00:01
Fetching packagesite.txz: 100%   52 KiB  52.9kB/s    00:01
Processing entries:   0%
pkg: wrong architecture: freebsd:12:x86:64 instead of FreeBSD:11:amd64
pkg: repository FreeBSD-base contains packages with wrong ABI:
freebsd:12:x86:64
Processing entries: 100%
Unable to update repository FreeBSD-base
All repositories are up-to-date.
pkg: Repository FreeBSD-base cannot be opened. 'pkg update' required
Checking for upgrades (0 candidates): 100%
Processing candidates (0 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.

The solution was to use the following command:
# env ABI=freebsd:12:x86:64 pkg upgrade -r FreeBSD-base

This was found from bapt's post here:
https://lists.freebsd.org/pipermail/freebsd-ports/2014-June/093092.html

Regards,
Ben

--
From: Benjamin Woods
woodsb02 at gmail.com


More information about the freebsd-pkgbase mailing list