Bug 55396 - rpm 4.0.2 database queries dies in header.c:241
Summary: rpm 4.0.2 database queries dies in header.c:241
Keywords:
Status: CLOSED DUPLICATE of bug 38454
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 6.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-10-30 19:42 UTC by bugzilla.com
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-10-30 19:42:39 UTC
Embargoed:


Attachments (Terms of Use)

Description bugzilla.com 2001-10-30 19:42:34 UTC
Description of Problem:
installed rpm4.0.2 on my RH6.2 box.  I can install new packages fine, but
anything that tries to read from the package database dumps core:

[root@xerxes rpm]# rpm --rebuilddb
rpmdb: header.c:241: regionSwab: Assertion `ie.info.type >= 0 &&
ie.info.type <= 9' failed.
Aborted (core dumped)

Version-Release number of selected component (if applicable):
rpm 4.0.2

How Reproducible:
Every time.

Steps to Reproduce:
1.  Be running RH6.2
2.  Be using rpm4.0.2
3.  rpm -q -a  *or* rpm --rebuilddb
Those are the two I've noticed it with.


Actual Results:
Aborted (core dumped)


Expected Results:
I should have received rpm database query results.

Additional Information:
Yes, I've noticed that this bears a striking resemblance to Bug# 38454.  I
tried what was recommended to fix that, but that seems to be specific to
RH7.x builds.  The proposed fix mentions doing some things with
/var/lib/rpm/Packages, but this file/directory does not exist.  I'm
guessing that this is specific to RH6.x...

Comment 1 Jeff Johnson 2001-11-04 15:51:20 UTC
The fix is the same on 6.x, but you will need the
db3-utils-3.2.9 package for Red Hat 6.x installed.
This is availbale through Errata/Updates as well as at
ftp://ftp.rpm.org/pub/rpm/dist/4.0.x

*** This bug has been marked as a duplicate of 38454 ***


Note You need to log in before you can comment on or make changes to this bug.