Date: Fri, 09 Nov 2007 11:52:07 -0500 From: "J. W. Ballantine" <jwb@homer.att.com> To: Garrett Cooper <youshi10@u.washington.edu> Cc: questions@freebsd.org Subject: Re: pkgdb failure Message-ID: <200711091652.LAA15878@akiva.homer.att.com> In-Reply-To: Your message of "Fri, 09 Nov 2007 08:30:47 PST." <47348B37.5030500@u.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, I thought it was something like that, that's why i rebuilt th pkgdb. ---------- In Response to your message ------------- > Date: Fri, 09 Nov 2007 08:30:47 -0800 > To: "J. W. Ballantine" <jwb@homer.att.com>, questions@freebsd.org > From: Garrett Cooper <youshi10@u.washington.edu> > Subject: Re: pkgdb failure > > J. W. Ballantine wrote: > > After upgrading from 6-STABLE to 7-RELEASE, I tried to rebuild > > all the packages from portupgrade -af I started getting the following > > error messages. The first once, the second multiple times, even > > after I moved the pkgdb.db and did a pkgdb -fu. > > > > [/usr/ports/INDEX-7.db: unexpected file type or format -- Invalid argument ] > > [Updating the portsdb <format:bdb_btree> in /usr/ports . > > .. - 17746 port entries found /usr/ports/INDEX-7.db: unexpected file type or > > format -- Invalid argument: Cannot update the portsdb! > > (/usr/ports/INDEX-7.db)] > > > > > > /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument > > > > Any ideas on what is causing this? > > > > Thanks > > > > Jim Ballantine > > > > > > That generally means that for whatever reason the pkgdb couldn't be > read, which may mean that you need to rebuild ruby and all affected > libraries to call up 7.x libs (at least based on experience that's > what's happened with me). > Cheers, > -Garrett >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711091652.LAA15878>