'dnf list kernel*' gives error: 'No matching Packages to list'.

Solution Verified - Updated -

Issue

  • dnf list kernel* gives the error: No matching Packages to list.
  • dnf list kernel* does not list the installed or available kernel and related packages to install.

    # dnf list kernel*
    Updating Subscription Management repositories.
    Last metadata expiration check: 2:43:28 ago on Tue 26 Mar 2024 05:20:39 PM GMT.
    Error: No matching Packages to list
    

Environment

  • Red Hat Enterprise Linux
  • Red Hat Subscription Manager(RHSM)

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