[Pkg-db-devel] Bug#469139: Bug#469139: Bug#469139: apt-listchanges and DB_RUNRECOVERY

Florian Weimer fw at deneb.enyo.de
Sun Mar 9 10:15:43 UTC 2008


* Vincent Lefevre:

> On 2008-03-03 10:27:17 -0500, Daniel Jacobowitz wrote:
>> On Mon, Mar 03, 2008 at 04:15:42PM +0100, Matthias Klose wrote:
>> > So can you rebuild the database using the db4.x utilities?
>> 
>> Yes, that works.
>
> Here too. What to do wasn't clear, so:
>
> # db4.6_dump /var/lib/apt/listchanges.db > db.dump
> # rm /var/lib/apt/listchanges.db
> # db4.5_load /var/lib/apt/listchanges.db < db.dump

Uh-oh:

listchanges.db: Berkeley DB (Hash, version 8, native byte-order)

Why on earth is apt-listchanges using the Hash access method, and not
B-trees?  Is this some Python default?  That really needs to be fixed,
then.





More information about the Pkg-db-devel mailing list