Bug 369721 - migrate-shadow-channel should detect duplicate rpms
Summary: migrate-shadow-channel should detect duplicate rpms
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Network
Classification: Retired
Component: RHN/Backend
Version: RHN Devel
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Bryan Kearney
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard: US=16306
Depends On:
Blocks: 436329
TreeView+ depends on / blocked
 
Reported: 2007-11-07 15:12 UTC by James Bowes
Modified: 2013-01-10 09:56 UTC (History)
2 users (show)

Fixed In Version: 5.0.6
Clone Of:
Environment:
Last Closed: 2008-06-26 20:22:54 UTC
Embargoed:


Attachments (Terms of Use)

Description James Bowes 2007-11-07 15:12:34 UTC
the migrate-shadow-channel script should detect duplicate rpms by nevra and
report the errors.

Comment 1 James Bowes 2008-04-03 15:25:26 UTC
To Test:
  * Follow the testing instructions in bug 440418, but put both your shadow and  
    non-shadow channel in the rhn_channel field for the errata_files.
  * Now, when you run rhn-migrate-channel-internal, it should error out, saying 
    that there are duplicate packages in the channels, and giving the path to the 
    duplicates.

Comment 2 Amy Owens 2008-04-07 14:26:23 UTC
4/7/08--detects duplicate pack-- all set in dev
Migrating content for rhel-i386-server-5-shadow to rhel-i386-server-5

Error Message:
    --force-packages not specified and some duplicate packages exist in the real
channel:
rhn/public/NULL/seamonkey-nspr-devel/1.0.9-0.16.el3/i386/seamonkey-nspr-devel-1.0.9-0.16.el3.i386.rpm
Error Class Code: 36
Error Class Info: Invalid action
Explanation: 
     An error has occurred while processing your request. If this problem
     persists please enter a bug report at bugzilla.redhat.com.
     If you choose to submit the bug report, please be sure to include
     details of what you were trying to do when this error occurred and
     details on how to reproduce this problem.


Comment 3 Stephen Herr 2008-06-13 20:37:53 UTC
Verified

Finally! Man that was annoying to test.


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