Bug 105919
Summary: | rpm installation failed (after update gcc) | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Fabrice <fabrice.correard> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED WORKSFORME | QA Contact: | Mike McLean <mikem> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | CC: | fabrice.correard |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-12-27 18:10:36 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
Fabrice
2003-09-29 14:24:15 UTC
Try the following: rm -f /var/lib/rpm/__db* rpm --rebuilddb -vv rpm -qavv Does that fix? I made it and I still can't use the RPM binary completly : I can request the db and see the list of differents packages installed on the server, but I can't update or install a new package (I didn't try to remove one) .... What is the goal here, properly installing rpm-4.1 or reverting to rpm-4.0.x? I want to be alble to use properly the RPM binary. Nothing else .... I don't mind of version just can use it correctly ... OK, if you just need functional rpm, I suggest rpm-4.1.1 (although rpm-4.1 is OK too). So you have rpm-4.0.3 in the rpmdb, but rpm-4.1 in /bin/rpm. Reinstall the rpm-4.1 (or better, rpm-4.1.1) pkgs using rpm -Uvh {rpm,popt}-*.rpm That will correct the rpmdb entries. Don't forget popt, that's built with rpm as well. If the are dependency failures, than install the librpm404-4.0.5 packages, available at ftp://ftp.rpm.org/pub/rpm/dist/lib404. Does that fix? Hello, Sorry to be late but I was in hollidays .... I can't try your solution because everytime I want to use the RPM binary, I have a message "segmentation fault" for installation, update or remove package !! I haven't any possibilities to install a package with the RPM binary .... Regards. Reinstall using rpm2cpio or rpm2cpio.sh if necessary. Assuming all rpm pkgs downloaded in /var/tmp, try mkdir /var/tmp/xxx cd /var/tmp/xxx for i in ../*.rpm; do /usr/lib/rpm/rpm2cpio.sh | cpio -dim done find . -type d -exec chmod 755 {} \; tar cf - . | (cd /; tar xvf -) Grab /usr/lib/rpm/rpm2cpio.sh from any working system if needed. Hello, After your suggested update, the RPM binary prepare to install the package but steel failed to install. Do it possible to remove completely the RPM installation (binary and lib) and to reinstall it. This way I will not have any previous version installed and so on be sure to have a correct install ? Regards. |