While kickstarting system it fails with error "Cannot retrieve repository meatadata (repomd.xml) for repository: anaconda-base-201101060248.x86_64"

Solution Verified - Updated -

Environment

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

Issue

  • While installing system using kickstart created on RHN Satellite, installation progresses to certain point and then fails with the following message :
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 meatadata (repomd.xml) for repository: anaconda-base-201101060248.x86_64. Please verify its path and try again

Resolution

  • If IP address is passed at boot prompt then it should not have following line in kickstart file
network --bootproto dhcp
  • Disable/uncheck "network:" option in the Advanced Options part via RHN Satellite Webui under specific kickstart file.

Root Cause

  • Server was built in subnet which do not have DHCP enabled, so manually assigned IP address to eth0. But kickstart file had a line which said get the IP address for eth0 from dhcp, so manually assigned address was getting dropped.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments