Problem:
we are currently in a transition state from pulp2 to pulp3. We use redhat EL8 and we have noticed a strange problem when using pulp3.
as part of our image build scripts, we use a simple command “dnf install perl”. What we have noticed is , when using pulp2, the default perl version from upstream repo is perl:5.26, however when the same appstream repo is synced using pulp3, the default version changes to perl:5.30 and we see weird package install errors like below.
sample error log
`Problem 1: package perl-threads-1:2.21-2.el8.x86_64 requires libperl.so.5.26()(64bit), but none of the providers can be installed
- cannot install both perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 and perl-libs-4:5.26.3-421.el8.x86_64
- cannot install both perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 and perl-libs-4:5.26.3-416.el8.x86_64
- cannot install both perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 and perl-libs-4:5.26.3-417.el8_3.x86_64
- cannot install both perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 and perl-libs-4:5.26.3-419.el8.x86_64
- cannot install both perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 and perl-libs-4:5.26.3-419.el8_4.1.x86_64
- cannot install both perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 and perl-libs-4:5.26.3-420.el8.x86_64
- cannot install the best update candidate for package perl-threads-1:2.21-2.el8.x86_64
- cannot install the best update candidate for package perl-libs-4:5.26.3-421.el8.x86_64
Problem 2: package perl-version-6:0.99.24-1.el8.x86_64 requires libperl.so.5.26()(64bit), but none of the providers can be installed - cannot install both perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 and perl-libs-4:5.26.3-421.el8.x86_64
- cannot install both perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 and perl-libs-4:5.26.3-416.el8.x86_64
- cannot install both perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 and perl-libs-4:5.26.3-417.el8_3.x86_64
- cannot install both perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 and perl-libs-4:5.26.3-419.el8.x86_64
- cannot install both perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 and perl-libs-4:5.26.3-419.el8_4.1.x86_64
- cannot install both perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 and perl-libs-4:5.26.3-420.el8.x86_64
- package perl-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 requires perl(:MODULE_COMPAT_5.30.1), but none of the providers can be installed
- cannot install the best update candidate for package perl-version-6:0.99.24-1.el8.x86_64
- cannot install the best update candidate for package perl-4:5.26.3-421.el8.x86_64
`
has anyone reported similar errors or have you/your team noticed issues when using RHEL-8 appstream repos?
Expected outcome:
perl version should not change.
Pulpcore version:
versions:
- component: core
package: pulpcore
version: 3.22.3
Pulp plugins installed and their versions:
- component: rpm
package: pulp-rpm
version: 3.19.2 - component: container
package: pulp-container
version: 2.14.3
Operating system - distribution and version:
RHEL -7
Other relevant data: