On 06/10/17 17:29, Jonathan Chen wrote:
On 11 June 2017 at 01:13, Bob Willcox <b...@immure.com> wrote:
On Sat, Jun 10, 2017 at 10:14:46AM +1200, Jonathan Chen wrote:
On 10 June 2017 at 05:02, Bob Willcox <b...@immure.com> wrote:
I am running the drm-next-4.7 and when I ran synth recently on my system
up update the ports and at the end of the run received these errors:

pkg: wrong architecture: freebsd:10:x86:64 instead of FreeBSD:12:amd64
pkg: repository Synth contains packages with wrong ABI: freebsd:10:x86:64
Processing entries: 100%
Unable to update repository Synth
Error updating repositories!
Unfortunately, the system upgrade failed.
synth is complaining that one or more of the packages in the
configuration's package directory has packages built for
FreeBSD10/amd64 instead of FreeBSD12/amd64. If you have upgraded from
FreeBSD 10 to FreeBSD 12, you must remove all the packages that have
been built previously.
Are these the packages that currently reside in the repository?
Yes.

Is there some way to list the packages that are the problem?
A simple way, no. You'd have to unpack each package and inspect the
manifest file to determine the package's abi.

If not, can I simply delete all of the respository packages?
This is the easiest thing to do, and would be my recommendation. synth
will rebuild all the packages for your installed ports.

Cheers.

mkdir   package/repo.backup
mv      package/repo package/repo.backup
mkdir   package/repo
synth   prepare-system
synth   rebuild-repository
pkg update
pkg upgrade


_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to