Red Hat Satellite engineering is moving the tracking of its product development work on Satellite 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 "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. 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 "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-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 1361125 - Dependency issues with yum update from 6.1.9 with sat 6.2 repo
Summary: Dependency issues with yum update from 6.1.9 with sat 6.2 repo
Keywords:
Status: CLOSED DUPLICATE of bug 1305591
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Upgrades
Version: 6.1.9
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: Eric Helms
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-28 11:37 UTC by Kenny Tordeurs
Modified: 2019-11-14 08:49 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-09 14:38:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Kenny Tordeurs 2016-07-28 11:37:17 UTC
Description of problem:
Dependency issues when performing yum update from latest Satellite 6.1.9 with satellite 6.2 repository enabled.

~~~
---> Package perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7 will be installed
---> Package perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 will be installed
---> Package ruby193-rubygem-fast_gettext.noarch 0:0.8.0-13.el7sat will be obsoleted
--> Processing Dependency: ruby193-rubygem(fast_gettext) for package: katello-utils-2.2.6-1.el7sat.noarch
---> Package ruby193-rubygem-katello.noarch 0:2.2.0.92-1.el7sat will be obsoleted
--> Processing Dependency: ruby193-rubygem(katello) for package: katello-utils-2.2.6-1.el7sat.noarch
---> Package ruby193-rubygem-oauth.noarch 0:0.4.7-8.el7sat will be obsoleted
--> Processing Dependency: ruby193-rubygem(oauth) for package: katello-utils-2.2.6-1.el7sat.noarch
---> Package ruby193-rubygem-rest-client.noarch 0:1.6.7-1.el7sat will be obsoleted
--> Processing Dependency: ruby193-rubygem(rest-client) for package: katello-utils-2.2.6-1.el7sat.noarch
---> Package ruby193-rubygem-runcible.noarch 0:1.3.5-1.el7sat will be obsoleted
--> Processing Dependency: ruby193-rubygem(runcible) for package: katello-utils-2.2.6-1.el7sat.noarch
--> Finished Dependency Resolution
Error: Package: katello-utils-2.2.6-1.el7sat.noarch (@rhel-7-server-satellite-6.1-rpms)
           Requires: ruby193-rubygem(katello)
           Removing: ruby193-rubygem-katello-2.2.0.92-1.el7sat.noarch (@rhel-7-server-satellite-6.1-rpms)
               ruby193-rubygem(katello) = 2.2.0.92
           Obsoleted By: tfm-rubygem-katello-3.0.0.68-1.el7sat.noarch (rhel-7-server-satellite-6.2-rpms)
               Not found
Error: Package: katello-utils-2.2.6-1.el7sat.noarch (@rhel-7-server-satellite-6.1-rpms)
           Requires: ruby193-rubygem(oauth)
           Removing: ruby193-rubygem-oauth-0.4.7-8.el7sat.noarch (@rhel-7-server-satellite-6.1-rpms)
               ruby193-rubygem(oauth) = 0.4.7
           Obsoleted By: tfm-rubygem-oauth-0.4.7-8.el7sat.noarch (rhel-7-server-satellite-6.2-rpms)
               Not found
Error: Package: katello-utils-2.2.6-1.el7sat.noarch (@rhel-7-server-satellite-6.1-rpms)
           Requires: ruby193-rubygem(fast_gettext)
           Removing: ruby193-rubygem-fast_gettext-0.8.0-13.el7sat.noarch (@rhel-7-server-satellite-6.1-rpms)
               ruby193-rubygem(fast_gettext) = 0.8.0
           Obsoleted By: tfm-rubygem-fast_gettext-0.9.2-3.el7sat.noarch (rhel-7-server-satellite-6.2-rpms)
               Not found
Error: Package: katello-utils-2.2.6-1.el7sat.noarch (@rhel-7-server-satellite-6.1-rpms)
           Requires: ruby193-rubygem(runcible)
           Removing: ruby193-rubygem-runcible-1.3.5-1.el7sat.noarch (@rhel-7-server-satellite-6.1-rpms)
               ruby193-rubygem(runcible) = 1.3.5
           Obsoleted By: tfm-rubygem-runcible-1.7.0-1.el7sat.noarch (rhel-7-server-satellite-6.2-rpms)
               Not found
Error: Package: katello-utils-2.2.6-1.el7sat.noarch (@rhel-7-server-satellite-6.1-rpms)
           Requires: ruby193-rubygem(rest-client)
           Removing: ruby193-rubygem-rest-client-1.6.7-1.el7sat.noarch (@rhel-7-server-satellite-6.1-rpms)
               ruby193-rubygem(rest-client) = 1.6.7
           Obsoleted By: tfm-rubygem-rest-client-1.6.7-4.el7sat.noarch (rhel-7-server-satellite-6.2-rpms)
               Not found
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************

Error: Package: katello-utils-2.2.6-1.el7sat.noarch (@rhel-7-server-satellite-6.1-rpms)
           Requires: ruby193-rubygem(katello)
           Removing: ruby193-rubygem-katello-2.2.0.92-1.el7sat.noarch (@rhel-7-server-satellite-6.1-rpms)
               ruby193-rubygem(katello) = 2.2.0.92
           Obsoleted By: tfm-rubygem-katello-3.0.0.68-1.el7sat.noarch (rhel-7-server-satellite-6.2-rpms)
               Not found
Error: Package: katello-utils-2.2.6-1.el7sat.noarch (@rhel-7-server-satellite-6.1-rpms)
           Requires: ruby193-rubygem(oauth)
           Removing: ruby193-rubygem-oauth-0.4.7-8.el7sat.noarch (@rhel-7-server-satellite-6.1-rpms)
               ruby193-rubygem(oauth) = 0.4.7
           Obsoleted By: tfm-rubygem-oauth-0.4.7-8.el7sat.noarch (rhel-7-server-satellite-6.2-rpms)
               Not found
Error: Package: katello-utils-2.2.6-1.el7sat.noarch (@rhel-7-server-satellite-6.1-rpms)
           Requires: ruby193-rubygem(fast_gettext)
           Removing: ruby193-rubygem-fast_gettext-0.8.0-13.el7sat.noarch (@rhel-7-server-satellite-6.1-rpms)
               ruby193-rubygem(fast_gettext) = 0.8.0
           Obsoleted By: tfm-rubygem-fast_gettext-0.9.2-3.el7sat.noarch (rhel-7-server-satellite-6.2-rpms)
               Not found
Error: Package: katello-utils-2.2.6-1.el7sat.noarch (@rhel-7-server-satellite-6.1-rpms)
           Requires: ruby193-rubygem(runcible)
           Removing: ruby193-rubygem-runcible-1.3.5-1.el7sat.noarch (@rhel-7-server-satellite-6.1-rpms)
               ruby193-rubygem(runcible) = 1.3.5
           Obsoleted By: tfm-rubygem-runcible-1.7.0-1.el7sat.noarch (rhel-7-server-satellite-6.2-rpms)
               Not found
Error: Package: katello-utils-2.2.6-1.el7sat.noarch (@rhel-7-server-satellite-6.1-rpms)
           Requires: ruby193-rubygem(rest-client)
           Removing: ruby193-rubygem-rest-client-1.6.7-1.el7sat.noarch (@rhel-7-server-satellite-6.1-rpms)
               ruby193-rubygem(rest-client) = 1.6.7
           Obsoleted By: tfm-rubygem-rest-client-1.6.7-4.el7sat.noarch (rhel-7-server-satellite-6.2-rpms)
               Not found
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
~~~

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

How reproducible:
100%

Steps to Reproduce:
1. yum update -y
2. katello-installer --upgrade
3. subscription-manager repos --enable rhel-7-server-satellite-6.2-rpms && subscription-manager repos --disable rhel-7-server-satellite-6.1-rpms
4. yum update -y

Actual results:
Dependency issues

Expected results:
yum update to complete

Additional info:
# yum repolist
~~~
Loaded plugins: product-id, search-disabled-repos, subscription-manager
repo id                                                                                             repo name                                                                                                                           status
rhel-7-server-rpms/7Server/x86_64                                                                   Red Hat Enterprise Linux 7 Server (RPMs)                                                                                            11,088
rhel-7-server-satellite-6.2-rpms/x86_64                                                             Red Hat Satellite 6.2 (for RHEL 7 Server) (RPMs)                                                                                       303
rhel-server-rhscl-7-rpms/7Server/x86_64                                                             Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server                                                              6,141
repolist: 17,532
~~~

# cat /usr/share/foreman/lib/satellite/version.rb
~~~
module Satellite
  VERSION = "6.1.9"
end
~~~

Comment 1 Ivan Necas 2016-07-29 13:23:37 UTC
I can't reproduce this issue against cdn. Are you using the production cdn for this testing? Could you try `yum clean all` before the yum update to check, if it's not just something around local cache?

Comment 2 Ivan Necas 2016-07-29 14:09:13 UTC
It seems the problem is when the katello-utils package (that is present on the system) is present on the system and it's not being properly deprecated by the new katello package. The katello-utils package is no longer provided in 6.2., as the functionality was replaced by other Satellite 6.2 feature [1].

[1] - https://access.redhat.com/documentation/en/red-hat-satellite/6.2/paged/content-management-guide/appendix-c-synchronizing-content-between-satellite-servers

Comment 3 Ivan Necas 2016-07-29 14:12:14 UTC
The workaround is `yum remove -y katello-utils` before running the upgrade

Comment 5 Eric Helms 2016-08-01 13:24:46 UTC
I don't think we want to deprecate this for 6.2 -- this package represented katello-disconnected utilities and right now trying to use that will give users a message to use the new export tooling. We may just need to rebuild it and drop some dependencies for 6.2 and remove it entirely for 6.3.

Comment 6 Ivan Necas 2016-08-16 11:14:11 UTC
Any work done on packaging part to fix the issue?

Comment 7 Ivan Necas 2017-01-09 14:38:52 UTC

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


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