Problem: I am getting the following error when attempting to upgrade to the latest version of Foreman
Error:
Problem 1: package python3.11-solv-0.7.22-6.el8.x86_64 from pulpcore requires libsolv(x86-64) = 0.7.22-6.el8, but none of the providers can be installed
cannot install the best update candidate for package python39-solv-0.7.22-4.el8.x86_64
package libsolv-0.7.22-6.el8.x86_64 from pulpcore is filtered out by modular filtering
Problem 2: package python3.11-libcomps-0.1.18-8.el8.x86_64 from pulpcore requires libcomps(x86-64) = 0.1.18-8.el8, but none of the providers can be installed
cannot install the best update candidate for package python39-libcomps-0.1.18-4.el8.x86_64
package libcomps-0.1.18-8.el8.x86_64 from pulpcore is filtered out by modular filtering
Problem 3: package python3.11-createrepo_c-1.0.2-5.el8.x86_64 from pulpcore requires createrepo_c-libs = 1.0.2-5.el8, but none of the providers can be installed
cannot install the best update candidate for package python39-createrepo_c-1.0.2-2.el8.x86_64
package createrepo_c-libs-1.0.2-5.el8.x86_64 from pulpcore is filtered out by modular filtering
Problem 4: package python3.11-enrich-1.2.6-7.el8.noarch from pulpcore obsoletes python39-enrich < 1.2.6-7.el8 provided by python39-enrich-1.2.6-5.el8.noarch from @System
package ansible-lint-5.0.8-4.el8.noarch from @System requires python39-enrich >= 1.2.6, but none of the providers can be installed
cannot install the best update candidate for package python39-enrich-1.2.6-5.el8.noarch
problem with installed package ansible-lint-5.0.8-4.el8.noarch
Problem 5: package python3.11-pulp-rpm-3.23.0-2.el8.noarch from pulpcore requires python3.11-createrepo_c >= 1.0.1, but none of the providers can be installed
package python3.11-createrepo_c-1.0.2-5.el8.x86_64 from pulpcore requires createrepo_c-libs = 1.0.2-5.el8, but none of the providers can be installed
cannot install the best update candidate for package python39-pulp-rpm-3.22.6-1.el8.noarch
package createrepo_c-libs-1.0.2-5.el8.x86_64 from pulpcore is filtered out by modular filtering
Problem 6: package ansible-lint-5.0.8-4.el8.noarch from @System requires python39-rich >= 9.5.1, but none of the providers can be installed
package python3.11-rich-13.3.1-7.el8.noarch from pulpcore obsoletes python39-rich < 13.3.1-7.el8 provided by python39-rich-13.3.1-3.el8.noarch from @System
package python3.11-galaxy-importer-0.4.7-1.el8.noarch from pulpcore requires ansible-lint >= 5.0.8, but none of the providers can be installed
package python3.11-galaxy-importer-0.4.7-1.el8.noarch from pulpcore requires ansible-lint < 6.14.4, but none of the providers can be installed
cannot install the best update candidate for package python39-rich-13.3.1-3.el8.noarch
cannot install the best update candidate for package python39-galaxy-importer-0.4.6-1.el8.noarch
package ansible-lint-5.4.0-1.el8.noarch from pulpcore is filtered out by modular filtering
Problem 7: problem with installed package python39-pulp-rpm-3.22.6-1.el8.noarch
package python39-pulp-rpm-3.22.6-1.el8.noarch from @System requires python39-django-readonly-field >= 1.1.1, but none of the providers can be installed
package python3.11-pulp-rpm-3.23.0-2.el8.noarch from pulpcore requires python3.11-solv >= 0.7.21, but none of the providers can be installed
package python3.11-django-readonly-field-1.1.2-3.el8.noarch from pulpcore obsoletes python39-django-readonly-field < 1.1.2-3.el8 provided by python39-django-readonly-field-1.1.2-1.el8.noarch from @System
package python3.11-solv-0.7.22-6.el8.x86_64 from pulpcore requires libsolv(x86-64) = 0.7.22-6.el8, but none of the providers can be installed
cannot install the best update candidate for package python39-django-readonly-field-1.1.2-1.el8.noarch
package libsolv-0.7.22-6.el8.x86_64 from pulpcore is filtered out by modular filtering
Problem 8: package ansible-lint-5.0.8-4.el8.noarch from @System requires python39-rich >= 9.5.1, but none of the providers can be installed
package python39-rich-13.3.1-3.el8.noarch from @System requires python39-pygments >= 2.6.0, but none of the providers can be installed
package python39-rich-13.3.1-3.el8.noarch from @System requires python39-pygments < 3.0.0, but none of the providers can be installed
package python3.11-galaxy-importer-0.4.7-1.el8.noarch from pulpcore requires ansible-lint >= 5.0.8, but none of the providers can be installed
package python3.11-galaxy-importer-0.4.7-1.el8.noarch from pulpcore requires ansible-lint < 6.14.4, but none of the providers can be installed
package python3.11-pygments-2.14.0-3.el8.x86_64 from pulpcore obsoletes python39-pygments < 2.14.0-3.el8 provided by python39-pygments-2.14.0-1.el8.x86_64 from @System
package python3.11-pulp-ansible-1:0.20.2-3.el8.noarch from pulpcore requires python3.11-galaxy-importer >= 0.4.5, but none of the providers can be installed
cannot install the best update candidate for package python39-pygments-2.14.0-1.el8.x86_64
cannot install the best update candidate for package python39-pulp-ansible-1:0.18.1-1.el8.noarch
package ansible-lint-5.4.0-1.el8.noarch from pulpcore is filtered out by modular filtering
Problem 9: package ansible-lint-5.0.8-4.el8.noarch from @System requires python39-rich >= 9.5.1, but none of the providers can be installed
package python3.11-galaxy-importer-0.4.7-1.el8.noarch from pulpcore requires ansible-lint >= 5.0.8, but none of the providers can be installed
package python3.11-galaxy-importer-0.4.7-1.el8.noarch from pulpcore requires ansible-lint < 6.14.4, but none of the providers can be installed
package python39-rich-13.3.1-3.el8.noarch from @System requires python39-pygments >= 2.6.0, but none of the providers can be installed
package python39-rich-13.3.1-3.el8.noarch from @System requires python39-pygments < 3.0.0, but none of the providers can be installed
problem with installed package python39-galaxy-importer-0.4.6-1.el8.noarch
package python3.11-pygments-2.14.0-3.el8.x86_64 from pulpcore obsoletes python39-pygments < 2.14.0-3.el8 provided by python39-pygments-2.14.0-1.el8.x86_64 from @System
package python39-galaxy-importer-0.4.6-1.el8.noarch from @System requires python39-ansible-builder >= 1.0.1, but none of the providers can be installed
package python39-galaxy-importer-0.4.6-1.el8.noarch from @System requires python39-ansible-builder < 2.0, but none of the providers can be installed
package python3.11-pulp-cli-0.21.2-4.el8.noarch from pulpcore requires python3.11-pygments, but none of the providers can be installed
package python3.11-ansible-builder-1.0.1-6.el8.noarch from pulpcore obsoletes python39-ansible-builder < 1.0.1-6.el8 provided by python39-ansible-builder-1.0.1-4.el8.noarch from @System
cannot install the best update candidate for package python39-pulp-cli-0.21.2-1.el8.noarch
cannot install the best update candidate for package python39-ansible-builder-1.0.1-4.el8.noarch
package ansible-lint-5.4.0-1.el8.noarch from pulpcore is filtered out by modular filtering
(try to add āānobestā to use not only best candidate packages)
Hmm, I must deny that, step 9 is where the new pulpcore repo gets introduced, which needs the module config being gone (dnf module disable is basically a rm on the module conf file), doing that the disable before step 9 could lead to your dnf cache having expired, which might introduce other issues with the currently installed version
I have the same issue on a fresh installed CentOS Stream 9 Foreman 3.10, Katello 4.12 machine.
What shall I do? Any ideas?
Best regards,
Tom
[root@server yum.repos.d]# yum update
Last metadata expiration check: 0:08:20 ago on Thu 11 Apr 2024 01:25:21 PM CEST.
Error:
Problem: package python3.11-solv-0.7.22-6.el9.x86_64 from @System requires libsolv(x86-64) = 0.7.22-6.el9, but none of the providers can be installed
- cannot install both libsolv-0.7.24-2.el9.x86_64 from baseos and libsolv-0.7.22-6.el9.x86_64 from @System
- cannot install both libsolv-0.7.22-6.el9.x86_64 from pulpcore_offline and libsolv-0.7.24-2.el9.x86_64 from baseos
- cannot install the best update candidate for package python3.11-solv-0.7.22-6.el9.x86_64
- cannot install the best update candidate for package libsolv-0.7.22-6.el9.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@myforeman ~]# dnf update
Last metadata expiration check: 0:50:05 ago on Fri 12 Apr 2024 09:49:24 AM.
Error:
Problem: package python3.11-solv-0.7.22-6.el9.x86_64 from @System requires libsolv(x86-64) = 0.7.22-6.el9, but none of the providers can be installed
- cannot install both libsolv-0.7.24-2.el9.x86_64 from ol9_baseos_latest and libsolv-0.7.22-6.el9.x86_64 from @System
- cannot install both libsolv-0.7.22-6.el9.x86_64 from pulpcore and libsolv-0.7.24-2.el9.x86_64 from ol9_baseos_latest
- cannot install the best update candidate for package python3.11-solv-0.7.22-6.el9.x86_64
- cannot install the best update candidate for package libsolv-0.7.22-6.el9.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Got the same issue
Problem 9: package python3.11-pulp-cli-0.21.2-5.el8.noarch from pulpcore requires python3.11-pygments, but none of the providers can be installed
package python3.11-pygments-2.14.0-3.el8.x86_64 from pulpcore obsoletes python39-pygments < 2.14.0-3.el8 provided by python39-pygments-2.14.0-1.el8.x86_64 from @System
package python3.11-pygments-2.17.0-1.el8.x86_64 from pulpcore obsoletes python39-pygments < 2.17.0-1.el8 provided by python39-pygments-2.14.0-1.el8.x86_64 from @System
package python39-rich-13.3.1-3.el8.noarch from @System requires python39-pygments >= 2.6.0, but none of the providers can be installed
package python39-rich-13.3.1-3.el8.noarch from @System requires python39-pygments < 3.0.0, but none of the providers can be installed
package ansible-lint-5.0.8-4.el8.noarch from @System requires python39-rich >= 9.5.1, but none of the providers can be installed
package python3.11-galaxy-importer-0.4.19-2.el8.noarch from pulpcore requires ansible-lint >= 5.0.8, but none of the providers can be installed
package python3.11-galaxy-importer-0.4.19-2.el8.noarch from pulpcore requires ansible-lint < 6.14.4, but none of the providers can be installed
If I disable the
dnf module disable pulpcore
I have issues on step 14, which is failing
[ERROR ] [configure] Could not prefetch package provider ādnfmoduleā: Execution of ā/usr/bin/dnf module list -y -d 0 -e 1ā returned 1: Error: Failed to download metadata for repo ārhel-8-for-x86_64-baseos-rpmsā: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
dnf update
Last metadata expiration check: 0:32:33 ago on Mon 22 Apr 2024 07:44:12 AM CEST.
Error:
Problem: package python3.11-solv-0.7.22-6.el9.x86_64 from @System requires libsolv(x86-64) = 0.7.22-6.el9, but none of the providers can be installed
- cannot install both libsolv-0.7.24-3.el9.x86_64 from baseos and libsolv-0.7.22-6.el9.x86_64 from @System
- cannot install both libsolv-0.7.22-6.el9.x86_64 from pulpcore_offline and libsolv-0.7.24-3.el9.x86_64 from baseos
- cannot install the best update candidate for package python3.11-solv-0.7.22-6.el9.x86_64
- cannot install the best update candidate for package libsolv-0.7.22-6.el9.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Hi, it looks like the pulp 3.39 repo is shipping python3.11-solv.x86_64:0.7.22-6.el9 which appears to have a hard dependency on libsolv.x86_64:0.7.22-6.el9 - but RHEL9 Base is now shipping libsolv.x86_64:0.7.24-2.el9