Date: Mon, 3 Jul 2006 05:56:40 -0500 From: "Donald J. O'Neill" <donaldjoneill@gmail.com> To: freebsd-ports@freebsd.org Cc: David J Brooks <daeg@houston.rr.com>, gareth <bsd@lordcow.org> Subject: Re: portupgrade portupgrade leaves an error.... Message-ID: <200607030556.40861.duncan.fbsd@gmail.com> In-Reply-To: <20060703090141.GA4997@lordcow.org> References: <200606301851.39983.daeg@houston.rr.com> <200606302042.50537.donaldjoneill@gmail.com> <20060703090141.GA4997@lordcow.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 03 July 2006 04:01, gareth wrote: > On Fri 2006-06-30 (20:44), Donald J. O'Neill wrote: > > pkg_delete portupgrade-whatever the number, pkg_add -r portupgrade. This > > gets you an older version of portupgrade. > > > > I ran into the same problem today. It's a way around the problem until > > it's fixed. > > i tried that: > > # pkg_delete portupgrade-2.1.3.2,2 > # pkg_add -r portupgrade > Error: FTP Unable to get > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest/= po >rtupgrade.tbz: Not Found pkg_add: unable to fetch > 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest= /p >ortupgrade.tbz' by URL > >(sure enough the url doesn't exist) > OK, then you're going to have to get a bit more aggressive. This is what I = did=20 to take care of the problem on my 6.1-STABLE system: mv /usr/ports/INDEX-6.db --> INDEX-6.db.org mv /var/db/pkg/pkgdb.db --> pkgdb.db.org pkg_delete portupgrade-2.1.3.1,2 pkg_delete ruby18-bdb-0.5.9 pkg_delete ruby18-bdb1-0.2.2 pkg_delete db4-4.0.14_1,1 pkg_delete db41-4.1.25_3 pkg_delete db42-4.2.52_4 I left db43-4.3.29, It would be needed later and reomoving it would cause t= oo=20 many other things to have to be rebuilt (or I get a bite in the ass if I=20 don't). 'cd /usr/ports/sysutils/portupgrade' 'make conf' =A0----- select bdb4, it'll use db43 as that's what's installed. 'make package-recursive' 'pkgdb -F'=A0=A0=A0=A0=A0=A0=A0=A0fix the dependencies and rebuild pkgdb.db portversion -v |grep needs=A0=A0=A0=A0=A0=A0rebuilds portsdb (and rechecks = pkgdb.db) and I=20 find out what ports need upgrading. 'portsnap fetch update' 'portversion -v |grep needs' It works and I now have a working portupgrade-2.1.3.2,2 I did a lot of reading about this problem and a lot of looking at dependenc= ies=20 using pkg_info -r and -R to come up with the way I corrected the problem. I= =20 have two other 6.1 systems (one STABLE, one RELEASE) to fix the problem on.= =20 They are a little different as they don't have the same things installed on= =20 them that are on my personal system, but they are similar in what I'm going= =20 to do to fix them. Don
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607030556.40861.duncan.fbsd>