Bug 89779
Summary: | Using RPM to install a number of redhat supplied packages destroys database | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Matt Hyne <matt> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED RAWHIDE | QA Contact: | Mike McLean <mikem> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 9 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | athlon | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-04-29 17:05:11 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
Matt Hyne
2003-04-28 08:23:41 UTC
Here is my additional log after running rpm -vv --rebuilddb [root@security rpm]# rpm --rebuilddb -vv D: rebuilding database /var/lib/rpm into /var/lib/rpmrebuilddb.2022 D: creating directory /var/lib/rpmrebuilddb.2022 D: opening old database with dbapi 3 D: opening db environment /var/lib/rpm/Packages joinenv D: opening db index /var/lib/rpm/Packages rdonly mode=0x0 [hangs here] Yup, the "rpm -qa | grep", if exited, can leave a stale lock. FIxed in rpm-4.2-1 packages, currently at ftp://ftp.rpm.org/pub/rpm/test-4.2 Is there a workaround other than upgrading RPM ? Does Redhat plan to release an update for these affected packages ? Thanks for the quick update. Workaround for a bug? Sure, live with it ;-) Errata has been pending forever, will eventually be released. I was actually looking for a more constructive answer, like is there a way to manually remove the stale lock so I do not have to reinstall the entire box in order to use RPM again ? M Sorry. Doing rm -f /var/lib/rpm/__db* is usually all that's necessary if/when a stale lock (due to missed signals on exit) are left. |