Uploaded image for project: 'RHEL Conversions'
  1. RHEL Conversions
  2. RHELC-1282

Dependency resolution failed: removing incorrect pkg versions

XMLWordPrintable

    • False
    • False
    • Hide

      None

      Show
      None
    • 3
    • Testable

      I have a CentOS-7.9 system and (for some reason) have redhat-release-server excluded in /etc/yum.conf

      I was able to perform the necessary steps to connect the system to console.redhat.com following steps in https://access.redhat.com/documentation/en-us/red_hat_insights/2023/html/converting_from_an_rpm-based_linux_distribution_to_rhel_using_red_hat_insights/proc_preparing-for-a-rhel-conversion-using-insights_converting-from-a-linux-distribution-to-rhel-in-insights .

      I've run the "Pre-conversion analysis for converting to RHEL" task and got following inhibitor/error which is very mysterious:

      Unhandled exception was caught: Couldn't download the kernel-3.10.0-1160.105.1.el7.x86_64 package which is needed to do a rollback of this action. Check to make sure that the CentOS Linux repositories are enabled and the package is updated to its latest version.
      Note that you can choose to ignore this check when actually running a conversion by setting the environment variable 'CONVERT2RHEL_UNSUPPORTED_INCOMPLETE_ROLLBACK' but not during pre-conversion analysis.
      Please file a bug at https://issues.redhat.com/ to have this fixed or a specific error message added.
      Traceback: Traceback (most recent call last):
        File "/usr/lib/python2.7/site-packages/convert2rhel/actions/__init__.py", line 567, in run
          action.run()
        File "/usr/lib/python2.7/site-packages/convert2rhel/actions/pre_ponr_changes/transaction.py", line 48, in run
          validate_transaction=True,
        File "/usr/lib/python2.7/site-packages/convert2rhel/utils.py", line 245, in wrapper
          raise process.exception
      SystemExit: Couldn't download the kernel-3.10.0-1160.105.1.el7.x86_64 package which is needed to do a rollback of this action. Check to make sure that the CentOS Linux repositories are enabled and the package is updated to its latest version.
      Note that you can choose to ignore this check when actually running a conversion by setting the environment variable 'CONVERT2RHEL_UNSUPPORTED_INCOMPLETE_ROLLBACK' but not during pre-conversion analysis.

      The message mentions only kernel package and more surprisingly a RHEL kernel (version 3.10.0-1160.105.1.el7.x86_64) which is not available in CentOS-7 (there's 3.10.0-1160.102.1.el7.x86_64).

       

      The problem with this is that there not even indirect lead to a problem with redhat-release-server package and it seems there's some problem with kernel package (or repositories).

              rolivier@redhat.com Rodolfo Olivieri
              pholica@redhat.com Pavel Holica
              Pavel Holica Pavel Holica
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: