RHEL7: "leapp upgrade" fails in reboot phase with message "/usr/bin/bash: /usr/bin/python3: No such file or directory" then enters emergency mode

Solution Verified - Updated -

Issue

  • After rebooting once leapp upgrade executed successfully, the boot falls into emergency and shows the following message on the console:

    localhost upgrade: /usr/bin/bash: /usr/bin/python3: No such file or directory
    
  • The issue happens when an alternative for python3 is configured and pointing to an incorrect path.

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