Red Hat Bugzilla – Bug 41793
RPM database corrupted because of Ximian GNOME installation
Last modified: 2007-04-18 12:33:21 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.2.14-5.0 i686)
Description of problem:
I installed Ximian GNOME 1.4 and now when I try to run any graphical rpm
maintenance tool, I get the following error message:
[program name here]: header.c:511: headerLoad: Assertion `rdlen == dl'
Steps to Reproduce:
Well, try to install Ximian GNOME and Nautilus and then update some
Actual Results: Described above...
Expected Results: Well, everything should run smoothly, of course
Please attach a pointer to a tarball of your database
tar czvf /tmp/rpmdb.tar.gz
and I'll take a look. Thanks.
OK, record #662 is damaged. I'll attach a toy program to delete an
entry from a Berkeley DB, edit 662 into the top, compile with
cc -o t38454 t38454.c -ldb-3.1
(from memory, unchecked, see bugzilla #38454), run the progem, and
then do a --rebuilddb -vv to recreate the inverted lists.
Meanwhile, yet another assertion has been removed from header.c, I
should have a version of rpm that ignores bad records on ftp.rpm.org
Real Soon, will then move on to insturmenting the record deletion.
Off to #38454
*** This bug has been marked as a duplicate of 38454 ***