[pkg-db-devel] Bug#625484: Processed: Reopen #625484

Ondřej Surý ondrej at sury.org
Fri Jun 10 08:14:21 UTC 2011


Hi Joerg,

unfortunately that looks like a problem on your local system.

Did you by any chance used db-4.8 4.8.30-7 for some time?

The db signature is correct in 4.8.30-8:

This is squeeze:

root at howl:/tmp/buildd# ./db_signature
8ea84a14
root at howl:/tmp/buildd# dpkg -l libdb4.8
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                              Version
 Description
+++-=================================-=================================-==================================================================================
ii  libdb4.8                          4.8.30-2
 Berkeley v4.8 Database Libraries [runtime]

This is wheezy:

root at howl:/tmp/buildd# ./db_signature
8ea84a14
root at howl:/tmp/buildd# dpkg -l libdb4.8
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                              Version
 Description
+++-=================================-=================================-==================================================================================
ii  libdb4.8                          4.8.30-8
 Berkeley v4.8 Database Libraries [runtime]

You can find the db_signature.c in the git repository, download at:

http://anonscm.debian.org/gitweb/?p=pkg-db/db.git;a=blob_plain;f=debian/db_signature.c;hb=HEAD

The only hint I have for you is to downgrade to a version which was
working, dump the database, upgrade the libdb4.8 and load the dump.
Sorry if that's inconvenient, but it's probably the only solution.

O.

On Thu, Jun 9, 2011 at 23:09, Ondřej Surý <ondrej at sury.org> wrote:
> In that case the reopen was perfectly ok. I was just missing this piece of information.
>
> I'll check what is happening tomorrow (and compare the signatures between the stable and unstable - there's a little source code in debian directory of src:db to print the signature).
>
> I cannot fix that for db5.1, but for all future versions the final build will not include the debugging, so this will not happen again.
>
> Ondřej Surý
>
> On 9.6.2011, at 22:45, Joerg Pietschmann <j.deb at pietschmann.ch> wrote:
>
>> On 09.06.2011 21:55, Ondřej Surý wrote:
>>> Why did you do that?
>>
>> I have upgraded to 4.8.30-8 and still can't run slapd or slapcat:
>>
>> # slapcat
>> bdb(dc=pietschmann,dc=ch): Build signature doesn't match environment
>> bdb_db_open: database "dc=pietschmann,dc=ch" cannot be opened, err -30971. Restore from backup!
>> backend_startup_one (type=bdb, suffix="dc=pietschmann,dc=ch"): bi_db_open failed! (-30971)
>> slap_startup failed
>> #
>> # dpkg --list *db4.8*
>> Desired=Unknown/Install/Remove/Purge/Hold
>> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
>> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
>> ||/ Name                   Version                Description
>> +++-======================-======================-============================================================
>> ii  db4.8-util             4.8.30-8               Berkeley v4.8 Database Utilities
>> ii  libdb4.8               4.8.30-8               Berkeley v4.8 Database Libraries [runtime]
>>
>> I'm sorry if reopen wasn't the correct action.
>>
>> J.Pietschmann
>



-- 
Ondřej Surý <ondrej at sury.org>





More information about the pkg-db-devel mailing list