Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Sep 2004 06:49:06 +0200
From:      Michael Nottebrock <michaelnottebrock@gmx.net>
To:        freebsd-ports@freebsd.org
Cc:        Vulpes Velox <v.velox@vvelox.net>
Subject:   Re: portsdb and ruby bug on 4-STABLE
Message-ID:  <200409070649.11417.michaelnottebrock@gmx.net>
In-Reply-To: <413CA557.5090205@makeworld.com>
References:  <20040906143153.N44103@atlantis.atlantis.dp.ua> <20040906125305.7f577034@vixen42.24-119-122-191.cpe.cableone.net> <413CA557.5090205@makeworld.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart4629245.fTgYiEcceE
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Monday 06 September 2004 19:58, Chris wrote:

> > fix it using rm INDEX* and then rebuild the index using portindex and
> > then rebuild the INDEX.db using portindexdb. Port upgrade now works
> > again. I have not seen this problem on for X, but did once on
> > 5.3beta3.

> This is an ongoing issue. It's appeard in 5.2.1-RELEASE also. To see
> just how many users ARE getting this, simply search the list Here, and
> in Questions for just the past 7 days.
>
> This IS an issue with 4.10, 5.2.1, and 5.XBeta
>
> The fix you mention DOES work, however, once you cvsup, run portsdb -u,
> its broken again.  I have tested several ways around this over the last
> 3 days.

A better workaround is this:

1.) Install the databases/ruby-bdb port.

2.) Set an environment variable PORTS_DBDRIVER to bdb-btree (or bdb_hash)

This will change the portsdb's database backend from the libc-builtin bdb1 =
to=20
a later berkeley db (you can set which one via the WITH_BDB_VER switch in t=
he=20
ruby-bdb port).

You can also change the driver for pkgdb by setting PKG_DBDRIVER.

=2D-=20
   ,_,   | Michael Nottebrock               | lofi@freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org

--nextPart4629245.fTgYiEcceE
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)

iD8DBQBBPT3HXhc68WspdLARAi6yAJ9ZlINMZJiFdnNOMDLUFZI/Bi/1kQCgggA0
oGpn/XQmp6UKfeu+KRJSEfI=
=ahXT
-----END PGP SIGNATURE-----

--nextPart4629245.fTgYiEcceE--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409070649.11417.michaelnottebrock>