RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 811779 - subscription-manager-migration should require subscription-manager-migration-migration-data
Summary: subscription-manager-migration should require subscription-manager-migration-...
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager-migration-data
Version: 6.3
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Michael Stead
QA Contact:
: 915843 (view as bug list)
Depends On:
Blocks: 738066 rhsm-rhel65 rhsm-2013
TreeView+ depends on / blocked
Reported: 2012-04-12 00:28 UTC by John Sefler
Modified: 2014-01-06 20:37 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-06-20 13:37:46 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2012:0823 0 normal SHIPPED_LIVE new package: subscription-manager-migration-data 2012-06-19 20:34:09 UTC

Description John Sefler 2012-04-12 00:28:56 UTC
Description of problem:
Currently we have the following package dependency...

# rpm -q subscription-manager-migration-data --requires | grep subscription

# rpm -q subscription-manager-migration --requires | grep subscription
subscription-manager = 0.99.14-1.el6

subscription-manager-migration-data currently requires subscription-manager-migration

Technically I think this should be reversed.  Package subscription-manager-migration-data is simply a bunch of files that get laid down on the filesystem and don't require anything special to be installed.  It's the tools inside package subscription-manager-migration that use the subscription-manager-migration-data files and are actually useless without the subscription-manager-migration-data files installed.  I propose making subscription-manager-migration require subscription-manager-migration-data.

Version-Release number of selected component (if applicable):
# rpm -q subscription-manager
# rpm -q subscription-manager-migration-data

Comment 1 Alex Wood 2012-04-12 21:10:16 UTC
The dependency is weird, but was set up on purpose so that subscription-manager could be included in Fedora at some point in the future. The migration-data rpm is RH internal, and thus cannot be a dependency for subscription-manager-migration (which is built from the same source rpm as subscription-manager). We provide instructions for how a user can create their own migration data certs and mapping, in case they ever wanted to use it.

Comment 2 John Sefler 2012-04-12 22:16:51 UTC
The argument in comment 1 totally explains why subscription-manager-migration should not require subscription-manager-migration-data; fine.

Alternatively, I suggest that the dependency between these two packages be completely removed.  It's harmless to install subscription-manager-migration-data without subscription-manager-migration.

Comment 3 Alex Wood 2012-04-13 17:14:49 UTC
committed 2e3a98f59dae1ab893e48e7db81228b290e3d1b3 to RHEL 5 branch
committed 549784c326efc4e56ef95af21bb3eae1786a48b0 to RHEL 6 branch

Comment 6 Alex Wood 2012-04-24 16:19:36 UTC
Committed 0dec351333cc3ee5d2587a8c7b884ce00e06d864 on RHEL6.3 branch

Comment 8 John Sefler 2012-04-25 22:38:12 UTC
Verifying Version...
[root@jsefler-r63-server ~]# rpm -q subscription-manager-migration-data

[root@jsefler-r63-server ~]# rpm -q subscription-manager-migration-data --requires
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
[root@jsefler-r63-server ~]# 

VERIFIED: subscription-manager-migration-data no longer requires subscription-manager-migration

Comment 10 errata-xmlrpc 2012-06-20 13:37:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Comment 11 Alex Wood 2013-03-21 20:09:50 UTC
*** Bug 915843 has been marked as a duplicate of this bug. ***

Comment 12 Robert Scheck 2014-01-06 18:57:33 UTC
I can not see why this bug was closed with errata at all:

$ yum install subscription-manager-migration
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package subscription-manager-migration.x86_64 0:1.9.11-1.el6 will be installed
--> Finished Dependency Resolution

And I am sorry, I do not see how the argument from comment #1 is valid: Even
if subscription-manager gets included into Fedora, I do not see any need for
a subscription-manager-migration subpackage. There is no RHN equivalent with
CDN for Fedora. And even a subscription-manager-migration subpackage makes it 
into Fedora because of whatever reason, you still could put something like
this in the subscription-manager.spec file:

%if 0%{?rhel} >= 5
Requires: subscription-manager-migration-data

Comment 13 John Sefler 2014-01-06 20:37:41 UTC
(In reply to Robert Scheck from comment #12)
Bug 1049037 has been newly opened to implement Robert's solution.

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