Bug 11708

Summary: rpm -F and -U weirdness
Product: [Retired] Red Hat Linux Reporter: pgiannoz
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2   
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: 2000-05-27 22:29: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 pgiannoz 2000-05-27 22:07:38 UTC
After upgrading from RH6.0 to RH 6.2 (on several machines):

1) rpm -F does not work

[root@mercedes giannozz]# rpm -qa | grep krb5
krb5-configs-1.1.1-9
krb5-libs-1.1.1-9
[root@mercedes giannozz]# rpm -Fvh  krb5-configs-1.1.1-16.i386.rpm
no packages require freshening
[root@mercedes giannozz]# rpm -Fvh  no-such-file
/usr/lib/rpm/freshen.sh: /etc/rpm: is a directory
exec: /etc/rpm: cannot execute: Permission denied
[root@mercedes giannozz]# rpm -Fvh
/usr/lib/rpm/freshen.sh: /etc/rpm: is a directory
exec: /etc/rpm: cannot execute: Permission denied

???

2) rpm -U does not install anything if one of the packages is already
installed. If it is a feature, it is not a good one.

Comment 1 pgiannoz 2000-05-27 22:29:59 UTC
Ok, I should have figured out that it was something stupid...For some reason
I had /etc/in the path of root before /bin, and the installation leaves an
empty /etc/rpm directory...rpm -F now works as it used to be.