Problem:
Missing dnf module information in oracle linux repository
Expected outcome:
Pulpcore version:
pulp-server.noarch => 2.21.5-1.el7
Pulp plugins installed and their versions:
libmodulemd.x86_64 => 1.7.0-1.el7
libsolv.x86_64 => 0.7.3-4.el7
pulp-admin-client.noarch => 2.21.5-1.el7
pulp-rpm-admin-extensions.noarch => 2.21.5-1.el7
pulp-rpm-plugins.noarch => 2.21.5-1.el7
pulp-selinux.noarch => 2.21.5-1.el7
pulp-server.noarch => 2.21.5-1.el7
python-bson.x86_64 => 3.2-2.el7
python-gofer.noarch => 2.12.5-3.el7
python-isodate.noarch => 0.5.0-4.pulp.el7
python-nectar.noarch => 1.6.4-1.el7
python-pulp-bindings.noarch => 2.21.5-1.el7
python-pulp-client-lib.noarch => 2.21.5-1.el7
python-pulp-common.noarch => 2.21.5-1.el7
python-pulp-oid_validation.noarch => 2.21.5-1.el7
python-pulp-repoauth.noarch => 2.21.5-1.el7
python-pulp-rpm-common.noarch => 2.21.5-1.el7
python-pymongo.x86_64 => 3.2-2.el7
python2-amqp.noarch => 10:2.2.2-5.el7
python2-celery.noarch => 10:4.0.2-7.el7
python2-django.noarch => 1.11.17-1.el7
python2-kombu.noarch => 10:4.0.2-14.el7
python2-solv.x86_64 => 0.7.3-4.el7
python2-vine.noarch => 10:1.1.3-5.el7
Operating system - distribution and version:
Red Hat Enterprise Linux Server release 7.9 (Maipo)
Other relevant data:
Hello,
we have synced the oracle linux repository, but the dnf module information from the repository is missing.
the repository was created as follows:
pulp-admin rpm repo create --repo-id=ol-8-server-baseos-rpms-ris-x86_64 --relative-url=ol-8-server-baseos-rpms-ris-x86_64 --proxy-host=http://proxy.local --proxy-port=3128 --feed=https://yum.oracle.com/repo/OracleLinux/OL8/baseos/latest/x86_64/
pulp-admin rpm repo create --repo-id=ol-8-server-appstream-rpms-ris-x86_64 --relative-url=ol-8-server-appstream-rpms-ris-x86_64 --proxy-host=http://proxy.local --proxy-port=3128 --feed=https://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/
when installing perl we get different results between the repository on the internet and the one on the pulp server.
when installing via the internet repos, perl 5.26 is installed correctly, whereas when installing via the local repos, perl 5.32 is installed.
dnf module list perl
Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 0:29:28 ago on Thu Sep 29 02:54:04 2022.
Oracle Linux 8 Application Stream (x86_64)
Name Stream Profiles Summary
perl 5.24 common [d], minimal Practical Extraction and Report Language
perl 5.26 [d][e] common [d], minimal Practical Extraction and Report Language
perl 5.30 common [d], minimal Practical Extraction and Report Language
perl 5.32 common [d], minimal Practical Extraction and Report Language
installation with local pulp repos
dnf repolist -v
Failed to set locale, defaulting to C.UTF-8
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, ulninfo
DNF version: 4.7.0
cachedir: /var/cache/dnf
Last metadata expiration check: 0:31:20 ago on Thu Sep 29 02:54:04 2022.
Repo-id : ol8_appstream
Repo-name : Oracle Linux 8 Application Stream (x86_64)
Repo-revision : 1664308654
Repo-updated : Tue Sep 27 16:09:49 2022
Repo-pkgs : 34022
Repo-available-pkgs: 27926
Repo-size : 306 G
Repo-baseurl : https://pulp.local/pulp/repos/ol-8-server-appstream-rpms-ris-x86_64/
Repo-expire : 172800 second(s) (last: Thu Sep 29 02:54:04 2022)
Repo-filename : /etc/yum.repos.d/oracle-linux-ol8.repo
Repo-id : ol8_baseos_latest
Repo-name : Oracle Linux 8 BaseOS Latest (x86_64)
Repo-revision : 1664279809
Repo-updated : Tue Sep 27 08:05:47 2022
Repo-pkgs : 14935
Repo-available-pkgs: 14907
Repo-size : 36 G
Repo-baseurl : https://pulp.local/pulp/repos/ol-8-server-baseos-rpms-ris-x86_64/
Repo-expire : 172800 second(s) (last: Thu Sep 29 02:53:52 2022)
Repo-filename : /etc/yum.repos.d/oracle-linux-ol8.repo
Total packages: 48957
dnf install perl
installation with online oracle repos
dnf repolist -v
Failed to set locale, defaulting to C.UTF-8
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, ulninfo
DNF version: 4.7.0
cachedir: /var/cache/dnf
Last metadata expiration check: 0:00:30 ago on Thu Sep 29 03:27:33 2022.
Repo-id : ol8_appstream
Repo-name : Oracle Linux 8 Application Stream (x86_64)
Repo-revision : 1664418933
Repo-updated : Wed Sep 28 22:41:28 2022
Repo-pkgs : 34029
Repo-available-pkgs: 28600
Repo-size : 307 G
Repo-baseurl : https://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/
Repo-expire : 172800 second(s) (last: Thu Sep 29 03:27:33 2022)
Repo-filename : /etc/yum.repos.d/oracle-linux-ol8.repo
Repo-id : ol8_baseos_latest
Repo-name : Oracle Linux 8 BaseOS Latest (x86_64)
Repo-revision : 1664418847
Repo-updated : Wed Sep 28 22:34:11 2022
Repo-pkgs : 14950
Repo-available-pkgs: 14944
Repo-size : 36 G
Repo-baseurl : https://yum.oracle.com/repo/OracleLinux/OL8/baseos/latest/x86_64/
Repo-expire : 172800 second(s) (last: Thu Sep 29 03:27:20 2022)
Repo-filename : /etc/yum.repos.d/oracle-linux-ol8.repo
Total packages: 48979
dnf install perl
why do I get different results during installation and how can I avoid this?
Thanks