RPM Community Forums

Mailing List Message of <rpm-devel>

Re: HEAD is broken

From: Ralf S. Engelschall <rse+rpm-devel@rpm5.org>
Date: Sun 18 Nov 2007 - 21:23:16 CET
Message-ID: <20071118202316.GA2814@engelschall.com>
On Sun, Nov 18, 2007, Jeff Johnson wrote:

> On Nov 18, 2007, at 11:04 AM, Jeff Johnson wrote:
>
>>> Notice the "error: rpmdbNextIterator: [...]" error lines!
>>> Jeff, any clue?
>>
>> The value of ril in this call to headerVerifyInfo (near pkgio.c:956) has
>> rotted:
>>
>>     /* If no header-only digest/signature, then do simple sanity check. */
>>     if (info->tag == 0) {
>>         xx = headerVerifyInfo(ril-1, dl, pe+1, &entry->info, 0);
>>
>> I should have a fix in the next couple of hours.
>
> Symptom fix in a moment, real fix as soon as I can figger.
> [...]

The "error: .." is now gone, but the public key still is not
correctly removed:

| + /tmp/rpm/bin/rpm -vv -e gpg-pubkey-2039b291-3dbaae72
| D: opening  db environment /tmp/rpm/var/rpm/db/Packages cdb:mpool
| D: opening  db index       /tmp/rpm/var/rpm/db/Packages rdonly mode=0x0
| D: locked   db index       /tmp/rpm/var/rpm/db/Packages
| D: opening  db index       /tmp/rpm/var/rpm/db/Name rdonly mode=0x0
| D:  read h#       1 Header sanity check: OK
| D: ========== --- gpg-pubkey-2039b291-3dbaae72.src pubkey/pubkey 0x0
| D: opening  db index       /tmp/rpm/var/rpm/db/Requirename create mode=0x0
| D: ========== recording tsort relations
| D: ========== tsorting packages (order, #predecessors, #succesors, tree, Ldepth, Rbreadth)
| D:     0    0    0    1    0    0 -gpg-pubkey-2039b291-3dbaae72.src
| D: mounted filesystems:
| D:     i        dev    bsize       bavail       iavail mount point
| D:     0 0x0000007c    16384       270760       135116 rw /
| D:     1 0x0100ff00      512            0           -1 rw /dev
| D:     2 0x0000008f    16384       166530       302420 rw /tmp
| D:     3 0x0000007d    16384      1026779      1057239 rw /var
| D:     4 0x0000007a    16384      6694613      2018041 rw /var/tmp
| D:     5 0x0000007e    16384      3818436      1729032 rw /usr
| D:     6 0x0500ff01     4096            0            0 rw /proc
| D:     7 0x0900ff02     4096            0            0 rw /usr/compat/linux/proc
| D:     8 0x0000007f    16384     71847315     27898881 rw /d1
| D:     9 0x00000080    16384     75229122     27413306 rw /d2
| D:    10 0x0000007b    16384     88964599     58568744 rw /d3
| D:    11 0x0700ff03     8192            0           -1 rw /snap
| D: sanity checking 1 elements
| D: running pre-transaction scripts
| D: computing 0 file fingerprints
| D: computing file dispositions
| D: ========== --- gpg-pubkey-2039b291-3dbaae72.src pubkey-pubkey 0x0
| D:     erase: gpg-pubkey-2039b291-3dbaae72.src has 0 files, test = 0
| D: running post-transaction scripts
| D: closed   db index       /tmp/rpm/var/rpm/db/Requirename
| D: closed   db index       /tmp/rpm/var/rpm/db/Name
| D: closed   db index       /tmp/rpm/var/rpm/db/Packages
| D: closed   db environment /tmp/rpm/var/rpm/db/Packages
| + exit 255

The error code is 255 and the pubkey is still present:

$ /tmp/rpm/bin/rpm -qa
gpg-pubkey-2039b291-3dbaae72.pubkey

I'll delay the rolling of 5.0a2 until tomorrow...

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com
Received on Sun Nov 18 21:25:42 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.