Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2017 21:26:45 -0400
From:      Baho Utot <baho-utot@columbus.rr.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: Unable to update repository Synth
Message-ID:  <d6b62428-a80d-23f6-dcfb-f88c4540e5f3@columbus.rr.com>
In-Reply-To: <CAJuc1zN1rQkbZNiuvAVQ5rD6=LPELmr_fbEuixqGjA0xrLwVQg@mail.gmail.com>
References:  <20170609170250.GB85997@rancor.immure.com> <CAJuc1zM9iypSkfNpfNYoEED6h2_G_FhgzXf9uwc9GWFC=1ZJDA@mail.gmail.com> <20170610131343.GM72404@rancor.immure.com> <CAJuc1zN1rQkbZNiuvAVQ5rD6=LPELmr_fbEuixqGjA0xrLwVQg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On 06/10/17 17:29, Jonathan Chen wrote:
> On 11 June 2017 at 01:13, Bob Willcox <bob@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 <bob@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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d6b62428-a80d-23f6-dcfb-f88c4540e5f3>