Translated message

A translation of this page exists in English.

Leapp 升级失败并显示 "DNF execution failed with non zero exit code."

Solution In Progress - Updated -

Issue

  • 执行 leapp upgrade 命令时,命令失败,报告显示与 conflicts 有关的问题,如 /var/log/leapp/report.txt 显示的以下内容

    Risk Factor: high (error)
    Title: DNF execution failed with non zero exit code.
    Summary: {"STDERR": "Warning: Package marked by Leapp to upgrade not found in repositories metadata: gpg-pubkey leapp-upgrade-el7toel8 leapp python2-leapp\nRPM: warning: Generating 6 missing index(es), please wait...\nError: Transaction test error:\n  file /usr/lib/python3.6/site-packages/__pycache__/six.cpython-36.opt-1.pyc from install of python3-six-1.11.0-8.el8.noarch conflicts with file from package python36-six-1.14.0-3.el7.noarch\n  file /usr/lib/python3.6/site-packages/__pycache__/six.cpython-36.pyc from install of python3-six-1.11.0-8.el8.noarch conflicts with file from package python36-six-1.14.0-3.el7.noarch\n  file /usr/lib/python3.6/site-packages/six.py [...]
    

Environment

  • Red Hat Enterprise Linux 7
    • leapp

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