Ce contenu n'est pas disponible dans la langue sélectionnée.

Chapter 8. Troubleshooting conversions


This chapter lists troubleshooting resources and tips.

8.1. Troubleshooting resources

To help you troubleshoot issues that can occur during the conversion process, review the log messages that you can find in the console and log files.

Console Output
By default, only info, warning, error, and critical log level messages are printed to the console output by the Convert2RHEL utility. To also print debug messages, use the --debug option with the convert2rhel command.
Logs
  • The /var/log/convert2rhel/convert2rhel.log file lists debug, info, warning, error, and critical messages.
  • The /var/log/convert2rhel/rpm_va.log file lists all package files on the unconverted system that a user has modified. The rpm -Va command generates this output. It is run automatically unless you use the --no-rpm-va option with the convert2rhel command.

8.2. Fix dependency errors

During a conversion from a different Linux distribution to RHEL, you can install certain packages without some of their dependencies.

Prerequisites

Procedure

  1. Identify dependencies errors:

    # yum check dependencies

    If the command displays no output, no further actions are required.

  2. To fix dependency errors, reinstall the affected packages. During this operation, the yum utility automatically installs missing dependencies. If the repositories that are available on the system do not have required dependencies, install those packages manually.

8.3. Known issues and limitations

Learn about known issues and limitations that can occur during the conversion.

Conversion with Red Hat Content Delivery Network (CDN) or Satellite through the Red Hat Subscription Manager (RHSM)

Systems that connect to the Internet by using an HTTP proxy server cannot convert using Red Hat CDN or Satellite through RHSM by using the command line. To work around this problem, enable HTTP proxy for yum and then configure the HTTP proxy for RHSM:

  1. Configure yum to use an HTTP proxy. For more information, see the Red Hat Knowledgebase solution How to enable proxy settings for yum command on RHEL?
  2. Install the subscription-manager package:

    1. Download the Red Hat GPG key:

      # curl -o /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release https://security.access.redhat.com/data/fd431d51.txt
    2. Install a repository file for the client-tools repository that has the subscription-manager package:

      • For conversions to RHEL 7:

        # curl -o /etc/yum.repos.d/client-tools.repo https://cdn-public.redhat.com/content/public/repofiles/client-tools-for-rhel-7-server.repo
      • For conversions to RHEL 8:

        # curl -o /etc/yum.repos.d/client-tools.repo https://cdn-public.redhat.com/content/public/repofiles/client-tools-for-rhel-8.repo
      • For conversions to RHEL 9:

        # curl -o /etc/yum.repos.d/client-tools.repo https://cdn-public.redhat.com/content/public/repofiles/client-tools-for-rhel-9.repo
    3. If you are converting to an earlier version of RHEL 8, for example, RHEL 8.5, update the $releasever value in the client-tools repository:

      # sed -i 's%\$releasever%<release_version>%' /etc/yum.repos.d/client-tools.repo

      Replace release_version with the correct release version, for example 8.5 or 8.10.

    4. Install the following subscription-manager packages:

      # yum -y install subscription-manager subscription-manager-rhsm-certificates
  3. Configure HTTP proxy for RHSM. For more information, see the Red Hat Knowledgebase solution How to configure HTTP Proxy for Red Hat Subscription Management.
  4. Register the system with RHSM:

    # subscription-manager register --org <organization_id> --activationkey <activation_key>

    Replace organization_id and activation_key with the organization ID and activation key from the Red Hat Customer Portal.

  5. Remove the organization ID and activation key from the /etc/convert2rhel.ini file.
  6. Perform the conversion to RHEL:

    # convert2rhel

    (RHELC-559)

Conversion of UEFI systems with Secure Boot

UEFI systems with Secure Boot enabled are not supported for conversion. To work around this issue, complete the following steps:

  1. Disable Secure Boot before the conversion. For more information, see the Red Hat Knowledgebase solution convert2rhel fails on UEFI systems with Secure Boot enabled.
  2. Perform the conversion to RHEL.
  3. If converting from Oracle Linux 7 or Alma Linux 8, install the shim-x64 package:

    # yum install -y shim-x64
  4. Re-enable Secure Boot.

    (RHELC-138, RHELC-1190)

8.4. Obtaining support

If you experience problems during the conversion, notify Red Hat so that these problems can be addressed.

Important

If you are experiencing problems during the conversion, raise a Support case of Severity 3 or Severity 4 level only. For more details, see Production Support Terms of Service.

Prerequisites

  • The sos package is installed. You must use this package to generate an sosreport that the Red Hat Support team requires when you open a support case.

Procedure

  • To obtain support, perform either of the following steps:

    • Open a support case:

      • Select the appropriate version of RHEL as the product, and attach an sosreport from your system.
      • Generate an sosreport on your system:

        # sosreport

        Note that you can leave the case ID empty.

    • Submit a bug report:

      • Open a bug, select the appropriate version of RHEL as the product, and select convert2rhel as the component.
Red Hat logoGithubRedditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de la documentation Red Hat

Legal Notice

Theme

© 2026 Red Hat
Retour au début