Date: Sat, 01 Jul 2006 10:45:31 +0200 From: Matthias Andree <matthias.andree@gmx.de> To: Sergey Matveychuk <sem@freebsd.org> Cc: freebsd-ports@freebsd.org Subject: Re: HEADS-UP: portupgrade and pkgdb.db failures Message-ID: <m3d5cpg1ck.fsf@merlin.emma.line.org> In-Reply-To: <44A568A9.3030206@FreeBSD.org> (Sergey Matveychuk's message of "Fri, 30 Jun 2006 22:08:41 %2B0400") References: <44A568A9.3030206@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Sergey Matveychuk <sem@freebsd.org> writes: > Please note: > If you got problem with pkgdb.db (and INDEX.db) file afrer upgrade > portupgrade, remove it (them) and restart portupgrade. > (It was described in man page.) For those wondering, these are /var/db/pkg/pkgdb.db and /usr/ports/INDEX.db, INDEX-5.db or INDEX-6.db. > It's possible you'll get *.db brackage. It'll happen if you selected > WITH_BDB4 option and thought you have *.db in bdb2+ format. But it was > wrong, you had bases in dbd format. Now it's fixed and you'll have Is that bdb 1.85 format you're referring to? > honest bdb format, but you should remove databases files first. Would it be possible, reasonable and not too much effort to use the db_dump185* and db_load* utilities of the corresponding database library to automatically convert the database to the newer format in postinstall? (Can the proper Berkeley DB library version be queried from the ruby database code at all?) -- Matthias Andree
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m3d5cpg1ck.fsf>