From Bugzilla Helper: User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.2-2 i686) Description of problem: On my i386 system (pretty much standard RH 7.1 the rpm exits ungracefully with an memory alloc (2237676289 bytes) returned NUL after rpm --rebuilddb I have a fairly large installation (i.e. some components) but thsi should not happen. The same error occurs when trying to install any component Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.rpm --rebuilddb 2. 3. Actual Results: memory alloc (2237676289 bytes) returned NUL Expected Results: exits gracefully Additional info:
You have a damaged header in your rpm database. Try installing rpm-4.0.3 from Raw Hide and/or ftp://ftp.rpm.org/pub/rpm/test-4.0.3 as I believe a --rebuilddb with rpm-4.0.3 will fix your problem.
Assuming problem fixed.