Bug 1848538

Summary: Failed to resolve the packages due to tfm-runtime package dependency in fm-upgrade(6.7 to 6.8)
Product: Red Hat Satellite Reporter: Devendra Singh <desingh>
Component: InstallationAssignee: Evgeni Golov <egolov>
Status: CLOSED ERRATA QA Contact: Devendra Singh <desingh>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.8.0CC: egolov, jyejare, lhellebr, vsedmik
Target Milestone: 6.8.0Keywords: AutomationBlocker, Triaged, UpgradeBlocker, Upgrades
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: tfm-rubygem-multi_json-1.14.1-1, tfm-rubygem-thor-1.0.1-2, tfm-rubygem-thread_safe-0.3.6-5, satellite-6.8.0-0.6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 13:03:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1807946    

Description Devendra Singh 2020-06-18 13:54:53 UTC
Description of problem: Failed to resolve the packages dependency in fm-upgrade(6.7 to 6.8)


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

How reproducible:
always

Steps to Reproduce:
1. Prepare the base satellite version 6.7 to perform the upgrade.
2- Configure all required 6.8 upstream repository
3. Check the foreman-maintain upgrade check.
foreman-maintain upgrade check --target-version 6.8 -y
4. foreman-maintain upgrade run --whitelist="disk-performance, repositories-validate, repositories-setup" --target-version 6.8 -y

Actual results:
Packages update failed due to dependencies issue

 ---> Package tfm-rubygem-redis.noarch 0:4.1.2-2.el7sat will be installed
 --> Finished Dependency Resolution
 Error: Package: tfm-ror52-rubygem-arel-9.0.0-1.el7sat.noarch (@rhel-7-server-satellite-6.5-rpms)
            Requires: tfm-ror52-runtime
            Removing: tfm-ror52-runtime-1.0-4.el7sat.x86_64 (@rhel-7-server-satellite-6.5-rpms)
                tfm-ror52-runtime = 1.0-4.el7sat
            Obsoleted By: tfm-runtime-6.1-1.el7sat.x86_64 (sat6)
                Not found
 Error: Package: tfm-ror52-rubygem-thread_safe-0.3.6-1.el7sat.noarch (@rhel-7-server-satellite-6.5-rpms)
            Requires: tfm-ror52-runtime
            Removing: tfm-ror52-runtime-1.0-4.el7sat.x86_64 (@rhel-7-server-satellite-6.5-rpms)
                tfm-ror52-runtime = 1.0-4.el7sat
            Obsoleted By: tfm-runtime-6.1-1.el7sat.x86_64 (sat6)
                Not found
 Error: Package: tfm-ror52-rubygem-thor-0.20.0-3.el7sat.noarch (@rhel-7-server-satellite-6.5-rpms)
            Requires: tfm-ror52-runtime
            Removing: tfm-ror52-runtime-1.0-4.el7sat.x86_64 (@rhel-7-server-satellite-6.5-rpms)
                tfm-ror52-runtime = 1.0-4.el7sat
            Obsoleted By: tfm-runtime-6.1-1.el7sat.x86_64 (sat6)
                Not found
 Error: Package: tfm-ror52-rubygem-multi_json-1.13.1-1.el7sat.noarch (@rhel-7-server-satellite-6.5-rpms)
            Requires: tfm-ror52-runtime
            Removing: tfm-ror52-runtime-1.0-4.el7sat.x86_64 (@rhel-7-server-satellite-6.5-rpms)
                tfm-ror52-runtime = 1.0-4.el7sat
            Obsoleted By: tfm-runtime-6.1-1.el7sat.x86_64 (sat6)
                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
 **********************************************************************
 
 --> Running transaction check
 ---> Package kernel.x86_64 0:3.10.0-1062.9.1.el7 will be erased
 ---> Package tfm-ror52-runtime.x86_64 0:1.0-4.el7sat will be obsoleted
 --> Processing Dependency: tfm-ror52-runtime for package: tfm-ror52-rubygem-thor-0.20.0-3.el7sat.noarch
 --> Processing Dependency: tfm-ror52-runtime for package: tfm-ror52-rubygem-thor-0.20.0-3.el7sat.noarch
 --> Processing Dependency: tfm-ror52-runtime for package: tfm-ror52-rubygem-multi_json-1.13.1-1.el7sat.noarch
 --> Processing Dependency: tfm-ror52-runtime for package: tfm-ror52-rubygem-multi_json-1.13.1-1.el7sat.noarch
 --> Processing Dependency: tfm-ror52-runtime for package: tfm-ror52-rubygem-thread_safe-0.3.6-1.el7sat.noarch
 --> Processing Dependency: tfm-ror52-runtime for package: tfm-ror52-rubygem-thread_safe-0.3.6-1.el7sat.noarch
 --> Processing Dependency: tfm-ror52-runtime for package: tfm-ror52-rubygem-arel-9.0.0-1.el7sat.noarch
 --> Processing Dependency: tfm-ror52-runtime for package: tfm-ror52-rubygem-arel-9.0.0-1.el7sat.noarch
 --> Finished Dependency Resolution
 Error: Package: tfm-ror52-rubygem-arel-9.0.0-1.el7sat.noarch (@rhel-7-server-satellite-6.5-rpms)
            Requires: tfm-ror52-runtime
            Removing: tfm-ror52-runtime-1.0-4.el7sat.x86_64 (@rhel-7-server-satellite-6.5-rpms)
                tfm-ror52-runtime = 1.0-4.el7sat
            Obsoleted By: tfm-runtime-6.1-1.el7sat.x86_64 (sat6)
                Not found
 Error: Package: tfm-ror52-rubygem-thread_safe-0.3.6-1.el7sat.noarch (@rhel-7-server-satellite-6.5-rpms)
            Requires: tfm-ror52-runtime
            Removing: tfm-ror52-runtime-1.0-4.el7sat.x86_64 (@rhel-7-server-satellite-6.5-rpms)
                tfm-ror52-runtime = 1.0-4.el7sat
            Obsoleted By: tfm-runtime-6.1-1.el7sat.x86_64 (sat6)
                Not found
 Error: Package: tfm-ror52-rubygem-thor-0.20.0-3.el7sat.noarch (@rhel-7-server-satellite-6.5-rpms)
            Requires: tfm-ror52-runtime
            Removing: tfm-ror52-runtime-1.0-4.el7sat.x86_64 (@rhel-7-server-satellite-6.5-rpms)
                tfm-ror52-runtime = 1.0-4.el7sat
            Obsoleted By: tfm-runtime-6.1-1.el7sat.x86_64 (sat6)
                Not found
 Error: Package: tfm-ror52-rubygem-multi_json-1.13.1-1.el7sat.noarch (@rhel-7-server-satellite-6.5-rpms)
            Requires: tfm-ror52-runtime
            Removing: tfm-ror52-runtime-1.0-4.el7sat.x86_64 (@rhel-7-server-satellite-6.5-rpms)
                tfm-ror52-runtime = 1.0-4.el7sat
            Obsoleted By: tfm-runtime-6.1-1.el7sat.x86_64 (sat6)
                Not found
  You could try using --skip-broken to work around the problem
  You could try running: rpm -Va --nofiles --nodigest
 --------------------------------------------------------------------------------


Expected results:
Packages update should be completed successfully.

Additional info:

Comment 2 Lukáš Hellebrandt 2020-06-23 14:52:14 UTC
*** Bug 1850096 has been marked as a duplicate of this bug. ***

Comment 3 Devendra Singh 2020-07-01 11:28:13 UTC
Verified on 6.8 Snap6.

Comment 6 errata-xmlrpc 2020-10-27 13:03:20 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 (Important: Satellite 6.8 release), 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://access.redhat.com/errata/RHSA-2020:4366