Translated message

A translation of this page exists in English.

convert2rhel 失败,带有错误 " Problem 2: package kernel requires kernel-core-uname-r but none of the providers can be installed"

Solution In Progress - Updated -

Issue

convert2rhel 无法验证 dnf 事务

[01/04/2023 11:20:59] TASK - [Validate the dnf transaction] **************************************
Enabling RHEL repositories:
rhel-8-for-x86_64-baseos-rpms
rhel-8-for-x86_64-appstream-rpms
Adding CentOS Linux packages to the dnf transaction set.
WARNING - Package perl-Switch.noarch not available in RHEL repositories.
Resolving the dependencies of the packages in the dnf transaction set.
[01/04/2023 11:21:06] FILE - Got the following exception message: 
 Problem 1: conflicting requests
 Problem 2: package kernel-4.18.0-348.23.1.el8_5.x86_64 requires kernel-core-uname-r=4.18.0-348.23.1.el8_5.x86_64, but none of the providers can be installed
  - conflicting requests
 Problem 3: package kernel-modules-4.18.0-348.23.1.el8_5.x86_64 requires kernel-uname-r=4.18.0-348.23.1.el8_5.x86_64, but none of the providers can be installed
  - conflicting requests
CRITICAL - Failed to resolve dependencies in the transaction.
[01/04/2023 11:21:06] FILE - Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/convert2rhel/pkgmanager/handlers/dnf.py", line 119, in _resolve_dependencies
    self._base.resolve(allow_erasing=True)
  File "/usr/lib/python3.6/site-packages/dnf/base.py", line 860, in resolve
    raise exc
dnf.exceptions.DepsolveError: 
 Problem 1: conflicting requests
 Problem 2: package kernel-4.18.0-348.23.1.el8_5.x86_64 requires kernel-core-uname-r=4.18.0-348.23.1.el8_5.x86_64, but none of the providers can be installed
  - conflicting requests
 Problem 3: package kernel-modules-4.18.0-348.23.1.el8_5.x86_64 requires kernel-uname-r=4.18.0-348.23.1.el8_5.x86_64, but none of the providers can be installed
  - conflicting requests

Environment

  • Red Hat Enterprise Linux 8
  • Oracle Linux 8
  • CentOS 8
  • convert2rhel

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content