Bug 712507

Summary: terrible rpm error message when rpm-sign is not installed
Product: [Fedora] Fedora Reporter: Jonathan Smith <smithj>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: ffesti, jnovy, pmatilai
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-13 05:24:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jonathan Smith 2011-06-10 19:55:32 UTC
When rpm-sign is not installed, rpm --addsign gives "No such file or directory" and implies that the rpm you're trying to sign isn't there. The error message is terrible and misleading.

sxjrs@sxjrs-3 mR3054 $  rpm   --addsign  /tmp/mR3054/powerbroker-6.2.1-1.i386.rpm
rpm: /tmp/mR3054/powerbroker-6.2.1-1.i386.rpm: No such file or directory
sxjrs@sxjrs-3 mR3054 $  ls -l /tmp/mR3054/powerbroker-6.2.1-1.i386.rpm
-rw-r--r--. 1 sxjrs sxjrs 2614627 Jun 10 11:28 /tmp/mR3054/powerbroker-6.2.1-1.i386.rpm

Once rpm-sign is installed, it works as expected.

Comment 1 Panu Matilainen 2011-06-13 05:24:57 UTC

*** This bug has been marked as a duplicate of bug 697435 ***