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 1165771 - subscription-manager-plugin-container-* packages do not require 'subscription-manager'
Summary: subscription-manager-plugin-container-* packages do not require 'subscription...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-19 16:32 UTC by Adrian Likins
Modified: 2015-11-19 11:48 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 11:48:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2122 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2015-11-19 10:31:14 UTC

Description Adrian Likins 2014-11-19 16:32:00 UTC
Description of problem:
[subscription-manager (wottop/dbus-standard % u=)]$ rpm -q --requires subscription-manager-plugin-ostree
pygobject3-base
python-iniparse >= 0.4
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
[subscription-manager (wottop/dbus-standard % u=)]$ rpm -q --requires subscription-manager-plugin-container
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


So I can 'yum remove python-rhsm' and those packages get orphaned.

Version-Release number of selected component (if applicable):
subscription-manager-plugin-container-1.13.8-1.git.7.e3b6516.el7.x86_64

Additional info:
Probably need to require at least 'subscription-manager', and likely at least the version with the plugin support, and practically, the equiv version.

Comment 2 Adrian Likins 2015-07-27 13:33:43 UTC
pr at https://github.com/candlepin/subscription-manager/pull/1230

Comment 3 John Sefler 2015-07-28 18:20:00 UTC
(In reply to Adrian Likins from comment #2)
> pr at https://github.com/candlepin/subscription-manager/pull/1230


This pull request appears to add a new Requires to subscription-manager-plugin-container only.  Do we also want the same Requires on subscription-manager-plugin-ostree?

Comment 4 Adrian Likins 2015-07-29 15:46:38 UTC
(In reply to John Sefler from comment #3)
> (In reply to Adrian Likins from comment #2)
> > pr at https://github.com/candlepin/subscription-manager/pull/1230
> 
> 
> This pull request appears to add a new Requires to
> subscription-manager-plugin-container only.  Do we also want the same
> Requires on subscription-manager-plugin-ostree?

Good point, I'll add that too.

Comment 5 Adrian Likins 2015-07-29 15:50:27 UTC
pr updated with the dep for both.

Comment 6 Chris "Ceiu" Rog 2015-07-31 19:29:02 UTC
commit e23e1eda624b7f262825236867f093a58b166a3b
Author: Adrian Likins <alikins>
Date:   Mon Jul 27 09:31:31 2015 -0400

    1165771: make content plugins require subman
    
    Add a Requires to to subscription-manager-plugin-container
    on the same version-release of subscription-manager package.

Comment 8 Shwetha Kallesh 2015-08-06 06:50:58 UTC
Marking verified!!

[root@dhcp35-236 ~]# rpm -q --requires subscription-manager-plugin-ostree
pygobject3-base
python-iniparse >= 0.4
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
subscription-manager = 1.15.9-3.el7     -----------> subscription-manager is 
rpmlib(PayloadIsXz) <= 5.2-1                           required




[root@dhcp35-236 ~]# rpm -q --requires subscription-manager-plugin-container
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
subscription-manager = 1.15.9-3.el7    -----------> subscription-manager is 
rpmlib(PayloadIsXz) <= 5.2-1                           required

[root@dhcp35-236 ~]# 

[root@dhcp35-236 ~]# rpm -e subscription-manager
error: Failed dependencies:
	subscription-manager = 1.15.9-3.el7 is needed by (installed) subscription-manager-gui-1.15.9-3.el7.x86_64
	subscription-manager = 1.15.9-3.el7 is needed by (installed) subscription-manager-migration-1.15.9-3.el7.x86_64
	subscription-manager = 1.15.9-3.el7 is needed by (installed) subscription-manager-plugin-container-1.15.9-3.el7.x86_64
	subscription-manager = 1.15.9-3.el7 is needed by (installed) subscription-manager-plugin-ostree-1.15.9-3.el7.x86_64

Comment 9 errata-xmlrpc 2015-11-19 11:48:17 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.

https://rhn.redhat.com/errata/RHBA-2015-2122.html


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