From owner-freebsd-questions@FreeBSD.ORG Thu Sep 17 18:30:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF9621065670 for ; Thu, 17 Sep 2009 18:30:36 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from honeysuckle.london.02.net (honeysuckle.london.02.net [87.194.255.144]) by mx1.freebsd.org (Postfix) with ESMTP id 6A8128FC1A for ; Thu, 17 Sep 2009 18:30:36 +0000 (UTC) Received: from eco.config (93.97.24.219) by honeysuckle.london.02.net (8.5.016.1) id 4A23EDE604BAB74F for freebsd-questions@freebsd.org; Thu, 17 Sep 2009 19:30:35 +0100 Message-ID: <4AB2804A.2010604@onetel.com> Date: Thu, 17 Sep 2009 19:30:34 +0100 From: Chris Whitehouse User-Agent: Thunderbird 2.0.0.21 (X11/20090614) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4AB0C98F.394.AF4C0F7@d.forsyth.ru.ac.za> <20090916072750.6ba23f0e@scorpio.seibercom.net> In-Reply-To: <20090916072750.6ba23f0e@scorpio.seibercom.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: portupgrade broken X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Sep 2009 18:30:36 -0000 Jerry wrote: > On Wed, 16 Sep 2009 11:18:39 +0200 > "DA Forsyth" wrote: > > [snip] > >> I saw someone ask about this in Google Groups on the 14th but he has >> not got an answer yet, so I am not the only one. >> >> How do I fix this? > > You could try the following; > > 1) Update your ports tree. including updating INDEX-7 or is that taken as read? #make fetchindex if done at the same time as updating the ports tree #make index any other time but it takes a long time Chris > 2) Remove: /var/db/pkg/pkgdb.db > 3) Run: /usr/local/sbin/pkgdb -Ffuv > 4: Run: /usr/local/sbin/portsdb -fUu > 4) Run: /usr/sbin/pkg_version -vIL= > > Now run portupgrade as you normally do and see what transpires. > > If that still fails, install /usr/ports/ports-mgmt/portmanager > Then run it as thus: portmanager -u -l -y -p > > I have had great success in getting updates completed successfully with > portmanager when portupgrade and portmaster both crapped out. I would > suggest that you consider deleting the contents of > the /usr/ports/distfiles prior to running any of the above port utility > programs. >