Bug 57523
Summary: | RPM mangles it's database | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Gabriel Schulhof <gabrielschulhof> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED DEFERRED | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | CC: | dark.lite, ejritz, seth_lytle |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-01-17 23:08:31 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Gabriel Schulhof
2001-12-14 20:49:43 UTC
Try rm -f /var/lib/rpm/__db* to remove cache files. That didn't fix the problem. Not only that, others who have installed RedHat from scratch, not as an upgrade, told me about RPMs suddenly disappearing, RPMs that are not installed showing up in the list, even rpm --rebuilddb failing and so on. This is a really Bad Thing. RPM is one of the very important things that make Linux user-friendly, especially with Red Carpet to help out, so this is a serious impediment. RPM is broken, plain and simple. How did removing the /var/lib/rpm/__db* files not fix your problem? It didn't fix it in that rpm -qa hung shortly thereafter, forcing me to do another --rebuilddb, and so on. So it fixed the problem but your problem reoccurred? The cause is doing ^C (I suspect). Also a --rebuilddb is not necessary, only rm /var/lib/rpm/__db* I can confirm the behaviour, and repeat it. Typing ^C during rpm -qa breaks it every time. any other rpm -qa locks up at the point where the prvious ^C happened. This problem will be fixed when concurrent rpmdb access is permitted. |