From owner-freebsd-ports@freebsd.org Sun Jun 11 01:26:54 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 32E75BFA824 for ; Sun, 11 Jun 2017 01:26:54 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cdptpa-oedge", Issuer "cdptpa-oedge" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EC6BF6A98B for ; Sun, 11 Jun 2017 01:26:53 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [65.186.81.207] ([65.186.81.207:41018] helo=raspberrypi.bildanet.com) by cdptpa-omsmta01 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id 74/5F-10880-65C9C395; Sun, 11 Jun 2017 01:26:46 +0000 Received: from [192.168.1.143] (helo=desktop.example.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1dJreP-0003w2-QS for freebsd-ports@freebsd.org; Sat, 10 Jun 2017 21:26:45 -0400 Subject: Re: Unable to update repository Synth To: freebsd-ports@freebsd.org References: <20170609170250.GB85997@rancor.immure.com> <20170610131343.GM72404@rancor.immure.com> From: Baho Utot Message-ID: Date: Sat, 10 Jun 2017 21:26:45 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.6:25 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 01:26:54 -0000 On 06/10/17 17:29, Jonathan Chen wrote: > On 11 June 2017 at 01:13, Bob Willcox wrote: >> On Sat, Jun 10, 2017 at 10:14:46AM +1200, Jonathan Chen wrote: >>> On 10 June 2017 at 05:02, Bob Willcox 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