Why does anaconda throw "Unable to read package metadata" error messages during installation of Red Hat Enterprise Linux using kickstart file?

Solution Verified - Updated -

Issue

  • Unattended install fails with multiple errors in kickstart profile.
  • Error during kickstart of client:

    Unable to read package metadata. This may be due to a missing
    repodata directory. Please ensure that your install tree has
    been correctly generated. Cannot retrieve repository metadata
    (repomd.xml) for repository: anaconda-base-<version>.<arch>.
    Please verify its path and try again
    
  • Kickstart log shows connectivity errors like the following:

    CRITICAL: IOError 4 occurred getting http://<ip address>/<path>: IOError: <urlopen error (113, 'No route to host')>
    
  • Following messages found duing installing rhel 5.5 iso from satellite server  :

Unable to read package metadata.  This may be due to a missing repodata directory.  Please ensure that your install tree has been correctly generated.  Cannot retrieve repository metadata(reponmd.xml) for repository: anaconda-base-201003220802.x86_64  please verify it's path and try again.

  • Following options passed during booting for immediate above case :

linux ks=http://satellite.example.com/ks/cfg/org/1/label/TU_Prod2 ip=10.143.14.240 netmask=255.255.255.0 gateway=10.143.14.1 dns=10.143.10.100

Environment

  • Red Hat Network (RHN) Satellite
  • Red Hat Enterprise Linux (RHEL)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In