Bug 103323
Summary: | 'rpm -e xanim' reports no error but does NOT remove the package | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Elijah Newren <newren> | ||||
Component: | rpm | Assignee: | Jeff Johnson <jbj> | ||||
Status: | CLOSED WORKSFORME | QA Contact: | Mike McLean <mikem> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 9 | CC: | michael | ||||
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 16:13:23 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
Elijah Newren
2003-08-28 21:01:05 UTC
Throw the highly verbose -vvvv option on the "-e" line to see what all is going on. Attach to this bug the output. Created attachment 94056 [details]
Output from 'rpm -evvvv xanim'
Try --rebuilddb to recreate the package Name index. Does that fix? No, that doesn't fix the problem: [root@sobaka root]# rpm -qa | grep xanim xanim-full-2.80.1-1 [root@sobaka root]# rpm --rebuilddb error: db4 error(16) from dbenv->remove: Device or resource busy [root@sobaka root]# rpm -e xanim-full error: package xanim-full is not installed [root@sobaka root]# rpm -e xanim [root@sobaka root]# rpm -qa | grep xanim xanim-full-2.80.1-1 [root@sobaka root]# Hmmm, some idiot has apparently hacked rpm to permit '-' characters in versions, there is no way to get a '-' into version otherwise. Verify unambiguously by looking for '-' in the output of rpm -q --qf '%{version}' xanim If there is really a '-' character in version, *please* go shout at the idiot who produced that package with a modified version of rpm. The entry in /var/lib/rpm/Packages can be nuked by running a short program at ftp://people.redhat.com/jbj/t38454.c You will need to edit the program to put in the header instance number, i.e. the 1st decimal number in the output of rpm -qvv xanim ... D: read h# 2035 Header V3 DSA signature: OK, key ID 897da07a After nuking the package, you will need to remove the files manually, and do --rebuilddb to get the instance out of the indices. Save a tarball of /var/lib/rpm right now, just in case you need Reopen this bug if you need help with t38454.c (btw 38454 is the bugzilla no. which caused me to write the program, instructions on compilation and usage there too, possibly slightly old). |