Bug 427266

Summary: rhn-delete-package should report an error when it can't find an SRPM
Product: Red Hat Network Reporter: James Bowes <jbowes>
Component: RHN/BackendAssignee: Bryan Kearney <bkearney>
Status: CLOSED CURRENTRELEASE QA Contact: Amy Owens <aowens>
Severity: low Docs Contact:
Priority: low    
Version: RHN DevelCC: bkearney, rhn-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-29 21:29:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 427534, 427574    

Description James Bowes 2008-01-02 16:09:01 UTC
When deleting a non-existant SRPM, rhn-delete-package should let you know that
the provided SRPM does not exist.

Comment 1 James Bowes 2008-01-02 16:54:46 UTC
To test:
 * Try to delete a srpm that does not exist:
   rhn-delete-package-internal --server dev --sources --package foo --orgid ""
   You should get a message saying there is no such source rpm.

This does not require a new rhn-content-mgmt rpm.

Comment 3 Amy Owens 2008-01-04 18:21:00 UTC
AO - tested in dev - all set-
Error Message:
    No such package foo
Error Class Code: 5200
Error Class Info: No such source rpm

Comment 5 Amy Owens 2008-01-16 17:31:16 UTC
tested in qa -- all set