Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Reposync for an offline repo

    Posted on

    I was wondering if it's possible to reposync a specific version of RHEL?

    I gather you can pin your version to a specific release using:
    subscription-manager release --set=$releasever
    ... but, I also read in a RedHat article (https://access.redhat.com/solutions/29269) that if you have an offline environment this only works if you have RedHat Satellelite Server:

    Approach 5: "The clients can not version lock to a minor version using a local repository. The repository server must version lock before the reposync to collect only the specified version packages."

    With other distributuions you can normally rsync/reposync a specific version's rpms from a mirror, specifying the path, but with RedHat the repoid just seems to be the major release only, like:

    rhel-9-for-x86_64-baseos-rpms

    If you put in a repoid of:

    rhel-9.2-for-x86_64-baseos-rpms

    ... for example, you just get an invalid repo id message.

    I suppose what I'm saying is "are all the rpms for all the versions dumped in the same repo?" I'm just reposyncing rhel 9 and I have redhat-release-eula for 9.0, 9.1, 9.2 & 9.3 so far, so it definitely seems that way.

    Thanks!

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat, Inc.