Bug 713954 - Options for --resign/--addsign produce wrong error when rpm-sign not installed
Summary: Options for --resign/--addsign produce wrong error when rpm-sign not installed
Keywords:
Status: CLOSED DUPLICATE of bug 697435
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-16 21:20 UTC by BJ Dierkes
Modified: 2011-06-17 07:28 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-17 07:28:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description BJ Dierkes 2011-06-16 21:20:32 UTC
Description of problem:

After doing a preupgrade from F14 -> F15, the commands 'rpm --resign/--addsign' were broken and displayed 'No such file for directory' error.  I was then informed by nirik in #fedora-devel that those features were now available in 'rpm-sign' sub package.  The problem is, the attempted/failed execution of 'rpm --resign/--addsign' should result in a 'Unknown option' or 'Unknown command' error... and not an obscure 'No such file or directory' (which points toward the rpm file as the problem which its not).

Version-Release number of selected component (if applicable):

rpm-4.9.0-9


How reproducible:

Every time.


Steps to Reproduce:
1. rpm -e rpm-sign

2. rpm --resign /path/to/rpm/package
rpm: /path/to/rpm/package No such file or directory.


3. yum install rpm-sign

4. rpm --resign /path/to/rpm/package
Success.

  
Actual results:

The following error, which can be misleading and obscure.

rpm: /path/to/rpm/package: No such file or directory.



Expected results:

rpm: --resign/--addsign: unknown option


Additional info:

Comment 1 Panu Matilainen 2011-06-17 07:28:10 UTC

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


Note You need to log in before you can comment on or make changes to this bug.