RHEL 8 convert2rhel package installation fails with Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist

Solution Verified - Updated -

Issue

  • Unable to install convert2rhel package on CentOS 8
  • RHEL 8 convert2rhel package installation fails with Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
# yum install convert2rhel
CentOS Linux 8 - AppStream                                                                                                                    53  B/s |  38  B     00:00    
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist

Environment

  • CentOS 8
  • Package: 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