anaconda fails if yum repo changes during installation

Solution Unverified - Updated -

Issue

  • Anaconda fails if a yum repo is updated with new packages and metadata while a system is installing from that repo.
    For example, if a kickstart file contains
repo --name=rhel6.1 --baseurl=http://www.example.com/rhel6.1/
repo --name=custom --baseurl=http://www.example.com/custom/
%packages
@Base
custom-pkg1
custom-pkg2
custom-pkg3
  • And, while a system is installing, the admin adds or updates a new package to the custom repo and runs createrepo, Anaconda on that system will fail with:
NoMoreMirrorsRepoError: failure: repodata/filelists.sqlite.bz2 from custom: [Errno 256] No more mirrors to try.

Environment

  • Red Hat Enterprise Linux 6
  • kickstart file that includes a repo which is frequently updated

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.