convert2rhel: "yum update" fails with "Could not resolve host: mirrorlist.centos.org; Unknown error"

Solution Verified - Updated -

Issue

  • Trying to convert a system from CentOS 7 to RHEL7, the following error message is displayed when trying to update the system prior to conversion

    # yum update
    [...]
    Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
    Could not resolve host: mirrorlist.centos.org; Unknown error
    

Environment

  • CentOS
    • 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