Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Yum update to specific release from a local repository

    Posted on

    Hello,

    We maintain local RHEL repositories because there is no Internet access in the data center. The repositories were created (from a machine with Internet access) using commands similar to these:

    reposync --downloadcomps --download-metadata --arch=x86_64 --repoid=rhel-7-server-rpms --delete --download_path=/var/repos/7/
    createrepo -s sha256 --checkts --update --workers=2 -g  /var/repos/7/rhel-7-server-rpms/comps.xml /var/repos/7/rhel-7-server-rpms
    

    Did not pass

    newest-only
    to reposync because I want to use the repository for servers running RHEL 7.3 and 7.4.
    (Created EUS repositories as well.)

    Servers have to be running specific releases for application compatibility.

    yum --releasever=7.3
    and
    distroverpkg=redhat-release
    in /etc/yum.conf do not appear to work without subscribtion-manager.

    Is there a way to "yum update" 7.3 and 7.4 servers from the above repositories without ending up with 7.5?

    If

    versionlock
    is the only option, is there an easy way to generate a versionlock list for 7.3 and 7.4?

    Thank you

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat