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

Needs an updated version of 'createrepo_c' package on the Satellite server.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • None

      Latest Satellite installations does have the 'createrepo_c-1.0.2-2.el8pc.x86_64' package installed from 'satellite-6.xx-for-rhel-8-x86_64-rpms' repository and it produces .zst metadata file while running the 'createrepo_c' command

      1) Satellite 6.14:

      1. rpm -qa | grep -i createrepo
        python39-createrepo_c-1.0.2-2.el8pc.x86_64
        createrepo_c-1.0.2-2.el8pc.x86_64
        createrepo_c-libs-1.0.2-2.el8pc.x86_64
      1. dnf list createrepo_c
        Updating Subscription Management repositories.
        Last metadata expiration check: 2:20:09 ago on Saturday 03 August 2024 02:25:17 PM IST.
        Installed Packages
        createrepo_c.x86_64 1.0.2-2.el8pc @satellite-6.14-for-rhel-8-x86_64-rpms

      2) satellite 6.15:

      1. cat /etc/redhat-release
        Red Hat Enterprise Linux release 8.8 (Ootpa)
      1. rpm -qa | grep -i createrepo @ satellite-6.15-for-rhel-8-x86_64-rpms
        createrepo_c-1.0.2-5.el8pc.x86_64
        createrepo_c-libs-1.0.2-5.el8pc.x86_64
        python3.11-createrepo_c-1.0.2-5.el8pc.x86_64
      1. ls -tlrh /test/testrepo/
        total 20M
        rw-rr-. 1 root root 20M May 4 2023 TaniumClient-7.2.314.3584-1.rhe8.x86_64.rpm
        drwxr-xr-x. 2 root root 4.0K Aug 3 05:18 repodata
      1. createrepo_c /opt/testrepo/
        Directory walk started
        Directory walk done - 1 packages
        Temporary output repo path: /opt/testrepo/.repodata/
        Pool started (with 5 workers)
        Pool finished
      1. ls -tlrh /test/testrepo/repodata/
        total 20K
        rw-rr-. 1 root root 900 Aug 3 05:18 d3ef42e014db21129d0ffbc939e485ef52b840cfcebc46be81aa248f438d0823-primary.xml.zst
        rw-rr-. 1 root root 6.2K Aug 3 05:18 5dd0e1aa8fe94976144f90b006ec882ad5be8a8fa50dac47f37bac55703ec54c-filelists.xml.zst
        rw-rr-. 1 root root 1.6K Aug 3 05:18 repomd.xml
        rw-rr-. 1 root root 248 Aug 3 05:18 0925449b225f60d44b1819075ac06b7d493b8786dea002e17c5120bb59b7207a-other.xml.zst

      However, the RHEL 8.9 or 8.10 host has the package version 'createrepo_c-0.17.7-6.el8.x86_64' installed from 'rhel-8-for-x86_64-appstream-rpms'

      RHEL-8.10 host:

      1. rpm -qa | grep -i createrepo
        createrepo_c-libs-0.17.7-6.el8.x86_64
        createrepo_c-0.17.7-6.el8.x86_64
      1. dnf list createrepo_c
        Updating Subscription Management repositories.
        Installed Packages
        createrepo_c.x86_64 0.17.7-6.el8 @rhel-8-for-x86_64-appstream-rpms

      And it produces the .gz files.

      1. ls -tlrh /root/test/repodata/
        total 40K
        rw-rr-. 1 root root 3.1K Aug 3 00:29 7ef9459bb88c4a7399dfa59c22215800ee28511877087829ede9e4efbc5996de-filelists.xml.gz
        rw-rr-. 1 root root 3.2K Aug 3 00:29 468404645817f4a30c699f6bf7fdb0f268d36bcd1760707b5528b28fedf4855c-primary.xml.gz
        rw-rr-. 1 root root 1.2K Aug 3 00:29 369c09a2f9bebd337a2b056699cc9a21d802ce12e321fc1d2a3931e141ba6439-other.xml.gz
        rw-rr-. 1 root root 8.8K Aug 3 00:29 5635d56e9472aebb527465aab7ca758d67bd5e8f923aa8f2f70e9f6475c7e32d-primary.sqlite.bz2
        rw-rr-. 1 root root 5.0K Aug 3 00:29 96bffebfdf7dbca5603d0de8c0d7a3e33cf387b2ba35e3e91d2936150f52b316-filelists.sqlite.bz2
        rw-rr-. 1 root root 1.9K Aug 3 00:29 995d0fba92edcc0e860d0d27fd0e7f278704cc8659b8fcec56c5da7e52daf89c-other.sqlite.bz2

      As a user, if I would like to create a.gz file on the satellite server instead of.zst, what needs to be done and how to do that properly without hampering the satellite setup by replacing the 'creatrepo_c' package that was installed from 'satellite-6.xx-for-rhel-8-x86_64-rpms' to 'rhel-8-for-x86_64-appstream-rpms'?

              Unassigned Unassigned
              rhn-support-mkalyat Mithun Kalyat
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: