Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2008 14:59:16 +0100
From:      "Pav Lucistnik" <pav@FreeBSD.org>
To:        Michel Talon <talon@lpthe.jussieu.fr>, freebsd-ports@FreeBSD.org
Cc:        soralx@cydem.org
Subject:   Re: ports system woes
Message-ID:  <20080326135806.M17639@FreeBSD.org>
In-Reply-To: <20080326131800.GA75243@lpthe.jussieu.fr>
References:  <20080326131800.GA75243@lpthe.jussieu.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 26 Mar 2008 14:18:00 +0100, Michel Talon wrote

> In fact last year i wrote a python script which reads all the
> /var/db/pkg/+CONTENTS files, and fixes all the +REQUIRED_BY files,
> assuming they are corrupted. Moreover it follows the MOVED file.

So you basically reimplemented pkgdb -F in python?

> As far as i remember this program 
> runs in a few *seconds* certainly not minutes like it is said here

Mind that the original poster is using a very low-spec notebook with next to
none RAM.
 
> solution is to use sqlite and not some half-assed solution like a
> Berkeley database,

Solution is to use tools that are available in our base system. SQLite is not.

--
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>




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