Bug 54162
Summary: | rpm --rebuilddb fails | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <jarmol> | ||||
Component: | rpm | Assignee: | Jeff Johnson <jbj> | ||||
Status: | CLOSED WORKSFORME | QA Contact: | |||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6.2 | ||||||
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: | 2001-10-03 15:59:41 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: | |||||||
Attachments: |
|
Description
Need Real Name
2001-09-29 09:13:14 UTC
Created attachment 33020 [details]
my rpm-database
Try installing rpm-4.0.3-1.03.6x from ftp://ftp.rpm.org/pub/rpm/test-4.0.3 You will need to use rpm2cpio to install mkdir -p /var/tmp/xxx cd /var/tmp/xxx rpm2cpio rpm-4.0.3-1.03.6x.*.rpm | cpio -dim find . -type d -exec chmod 755 {} \; tar cf - ./usr ./etc | (cd /; tar xvf -) Then do "rpm --rebuilddb" to fix your database. Ok, I did it, but now when I do 'rpm --rebuilddb' It gives this 14 times: error: unrecognized db option: "verify" ignored error: unrecognized db option: "tmpdir" ignored And after that: Segmentation fault (core dumped) If you're seeing that message, you haven't invoked rpm-4.0.3. Figure out what went wrong, and do the --rebuilddb with rpm-4.0.3. I'm such a newbie.. I executed /var/tmp/xx/bin/rpm --rebuild Result was this: /usr/lib/rpm/rpmd: error in loading shared libraries: /usr/lib/rpm/rpmd: undefined symbol: poptAliasOptions Has rpm-installation gone wrong? rpm --version was still 4.0.2. /var/tmp/xxx/bin/rpm is 4.0.3 Ah yes, you'll need to install popt using rpm2cpio the same way. Apologies for forgetting .... OK! rebuilddb works now. Can I now install rpm and popt packages with rpm traditionally so that I can avoid 'unrecognized db option' messages? Yes, you need to reinstall rpm/popt packages the traditional way. Reopen this bug if you need more. Hi, It's me again. What is best way to update rpm-related packages? rpm -Uvh --force doesn't seem to work error: failed dependencies: rpm = 4.0.2 is needed by rpm-python-4.0.2-6x rpm = 3.0.4 is needed by rpm-build-3.0.4-0.48 rpm = 4.0.2 is needed by rpm-devel-4.0.2-6x rpm = 4.0.2 is needed by rpm-build-4.0.2-6x librpm.so.0 is needed by rpm-python-4.0.2-6x librpm.so.0 is needed by rpm-build-3.0.4-0.48 librpm.so.0 is needed by rpm-python-3.0.4-0.48 librpm.so.0 is needed by rpmfind-1.4-3 librpm.so.0 is needed by nautilus-trilobite-1.0.2-ximian.2 librpm.so.0 is needed by gnorpm-0.95.1-6.6x librpm.so.0 is needed by rpm-build-4.0.2-6x librpmbuild.so.0 is needed by rpm-build-3.0.4-0.48 librpmbuild.so.0 is needed by rpm-build-4.0.2-6x librpmio.so.0 is needed by rpm-python-4.0.2-6x librpmio.so.0 is needed by gnorpm-0.95.1-6.6x librpmio.so.0 is needed by rpm-build-4.0.2-6x |