Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-16521

[Doc] Need to correct -r option in the reposync command for RHEL8.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • 6.14.0
    • 6.12.0
    • Upgrades
    • False
    • Sat_docs_5_2023, Sat_docs_6_2023, Sat_docs_7_2023
    • None
    • None
    • None
    • None

      Document URL: https://access.redhat.com/documentation/en-us/red_hat_satellite/6.12/html-single/upgrading_and_updating_red_hat_satellite/index#updating_disconnected_satellite_server

      Section Number and Name: 7.Enter the reposync command:

      1. reposync --delete --download-metadata -p ~/Satellite-repos -n \
        -r rhel-8-for-x86_64-baseos-rpms \
        -r rhel-8-for-x86_64-appstream-rpms \
        -r satellite-6.12-for-rhel-8-x86_64-rpms \
        -r satellite-maintenance-6.12-for-rhel-8-x86_64-rpms

      Describe the issue: Seems like the reposync command have different option on RHEL 7 and 8 OS. For example:

      RHEL7: # reposync --help
      ~~~
      -r REPOID, --repoid=REPOID
      specify repo ids to query, can be specified multiple times (default is all enabled)
      ~~~~

      RHEL8: # reposync --help

      ~~~~
      --repo [repo], --repoid [repo]
      enable just specific repositories by an id or a glob, can be specified multiple times
      ~~~~

      Suggestions for improvement: need to correct to:

      1. reposync --delete --download-metadata -p ~/Satellite-repos -n \
        --repoid rhel-8-for-x86_64-baseos-rpms \
        --repoid rhel-8-for-x86_64-appstream-rpms \
        --repoid satellite-6.12-for-rhel-8-x86_64-rpms \
        --repoid satellite-maintenance-6.12-for-rhel-8-x86_64-rpms

      Additional information: Also we can correct this in Satellite 6.11 doc for RHEL8

              rhn-support-agadhave Akshay Gadhave
              jira-bugzilla-migration RH Bugzilla Integration
              RH Bugzilla Integration RH Bugzilla Integration
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: