Date: Thu, 17 Sep 2009 19:30:34 +0100 From: Chris Whitehouse <cwhiteh@onetel.com> To: freebsd-questions@freebsd.org Subject: Re: portupgrade broken Message-ID: <4AB2804A.2010604@onetel.com> In-Reply-To: <20090916072750.6ba23f0e@scorpio.seibercom.net> References: <4AB0C98F.394.AF4C0F7@d.forsyth.ru.ac.za> <20090916072750.6ba23f0e@scorpio.seibercom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Jerry wrote: > On Wed, 16 Sep 2009 11:18:39 +0200 > "DA Forsyth" <d.forsyth@ru.ac.za> 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. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AB2804A.2010604>