Bug 114079

Summary: rpm-4.3-0.8 segfault
Product: [Fedora] Fedora Reporter: Elliot Lee <sopwith>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED WORKSFORME QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: nobody+pnasrat
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-01-24 02:08:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Elliot Lee 2004-01-22 13:35:33 UTC
'rpm -q rpm' segfaults

Comment 2 Elliot Lee 2004-01-23 16:22:37 UTC
db_verify succeeds, rebuilddb segfaults too.

Comment 3 Jeff Johnson 2004-01-23 16:40:37 UTC
What does rpm -qa -vv say? Alternatively --rebuilddb -vv?
Try rm /var/lib/rpm/Pubkeys, or add --nosignature --nodigest.

If that segfaults, then manual deletion of that header is what is needed.
http://

Comment 4 Jeff Johnson 2004-01-24 02:08:08 UTC
Manual deletion can be accomplished by downloading
    ftp://people.redhat.com/jbj/t38454.c

You will need the header instance number to be deleted,
the 1st number displayed with -vv output with rpm -qa,
or rpm --rebuilddb, as in:
    D:  read h#    2042 Header ...

Edit the header instance into t38454.c, compile, execute, run
--rebuilddb afterwards to rebuild the indices.