Bug 114622 (rpm_endless_looping)
Summary: | rpm enters into an endless loop when there is a damaged header in the rpmdb | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Matthew Williams <rhbugzilla> |
Component: | rpm | Assignee: | Paul Nasrat <nobody+pnasrat> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike McLean <mikem> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | CC: | rhbugzilla |
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: | 2005-04-19 18:45:59 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
Matthew Williams
2004-01-30 11:32:15 UTC
Attachment was too big to attach(>5MB). There are two .bz2 files, which contain the rpm database files as there were two directories which held rpm database files and I wasn't sure which was the correct directory. http://wilber.pointclark.net/_usr_lib_rpmdb_i386-redhat- linux_redhat_.tar.bz2 http://wilber.pointclark.net/_var_lib_rpm_.tar.bz2 application/x-bzip2 The _usr_lib_rpmdb_i386-redhat-linux_redhat_.tar.bz2 file is 20MB compressed and 74MB uncompressed. The _var_lib_rpm_.tar file is 5.3MB compressed and 22MB uncompressed. The filenames are in the format that a forwardslash was replaced with an underscore. Use these files if you are unable to reproduce the bug as these files would contain the rpm database with the damaged header. With Step 1 I should mention that these rpm's were already installed before I did rpm -Uvh --oldpackage ./*.rpm: glib-1.2.10-10.i386.rpm glib2-2.2.1-1.i386.rpm glibc-2.3.2-27.9.7.i386.rpm glibc-2.3.2-27.9.7.i686.rpm glibc-common-2.3.2-27.9.7.i386.rpm rpm-4.2-0.69.i386.rpm glibc-2.3.2-27.9.7.i386.rpm glibc-2.3.2-27.9.7.i686.rpm ^^^^^ With these two I am not certain if both were definetely installed but I am certain the .i686 one was. One question would be what corrupted the rpmdb in the first place? I suspect it was one of the *lib* rpms I installed. Is there a tool that scans the rpmdb and fixs any errors it comes across? *** Bug 114714 has been marked as a duplicate of this bug. *** Sure there's a tool. Have you tried rpm --rebuilddb -vv I do not see it in the volume of imformation above. Before --rebuilddb, you migh want to do cd /var/lib/rpm /usr/lib/rpm/rpmdb_verify Packages If that fails, then cd /var/lib/rpm mv Packages Packages-ORIG /usr/lib/rpm/rpmdb_dump Packages-ORIG | /usr/lib/rpm/rpmdb_load Packages should fix. Recheck with rpmdb_verify. Then rpm --rebuilddb -vv to recreate indices. Closing due to inactivity. If this issue still occurs with current releases, please reopen and set the release in which you've encountered the problem. |