Bug 83699
Summary: | rpm --rebuilddb crashed | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Donatas <jancau> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED DEFERRED | QA Contact: | Mike McLean <mikem> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.3 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
URL: | www.svm.lt | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-02-08 15:36:39 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
Donatas
2003-02-07 06:09:17 UTC
Fixed myself Good. What was wrong? I just followed instructions on http://info.ccone.at/INFO/Mail-Archives/redhat/Jan-2003/msg00050.html Found that my current list of rpm packages is valid on /var/log/rpmpkgs.1 Downloaded all packages available in this list. Some was on RedHat installation, some on RedHat updates, others just find on Internet. Moved old database: # mv /var/lib/rpm /var/lib/rpm.save Initialized a new rpm database: # rpm --initdb Downloaded script http://www.tuxfan.homeip.net:8080/hacks/recover_rpm_db.sh And just run the script # ./recover_rpm_db.sh -f /var/log/rpmpkgs.1 -p ./downloadedRPMS That'll work. FWIW, a rebuilddb with rpm-4.1 should fix as well, preserving install times and file states that are lost by the --justdb recreation. Carry Packages to machine with rpm-4.1, rebuilddb there, bring Packages back, rebuilddb to recreate indices. |