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...
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 ***