Well, I did a fairly stupid thing - I installed rpm-4.0.2 from rawhide on my Redhat 7.0 machine and the reinstalled back original rpm-4.0. Unfortunately in the between I installed several packages with rpm-4.0.2 Now, after reverting to rpm-4.0 all those packages work , but rpm -q -i shows they are marked as 'not installed'. And I cannot remove or update them ! rpm -U (-e) fails with 'segmentation fault'. The irony is of course that rpm-4.0 package itself is of course among those and I cannot remove it or update back to rpm-4.0.2. Quite unfortunately critical glibc packages are among those affected. Any ideas what I can do ??? Dmitri Pogosyan
FIrst try to identify what packages were installed using rpm-4.0.2 by doing "rpm -q --last". Sooner or later, those packages should be reinstalled. Try rpm-4.0.1-0.x from ftp://ftp.rpm.org/pub/rpm/test-4.0.1, the problems you are encountering have been fixed there. Let me know if that works, and I'll have further suggestions about what to do.
Please reopen if your problem is not resolved.