leapp preupgrade --target command failed with error: argument --target: invalid choice: 'X.X'

Solution Verified - Updated -

Issue

  • Planning for in-place upgrade to supported target release as described in Supported in-place upgrade paths for Red Hat Enterprise Linux
  • Howerver leapp preupgrade --target <Supported Target Release> command failed as below:

    $ leapp preupgrade --target <Supported Target Release>
      ...
      ...
      error: argument --target: invalid choice: 'X.X' (choose from 'X.X')
    

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
    • Leapp Utility

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