Foreman 3.12 (rocky 8) with Katello 4.14 - foreman-selinux candlepin-selinux cannot be found

Problem:
I’m trying to install Foreman 3.12 on Rocky 8 with Katello 4.14
I solved the postgresql conflict (thanks), but when I run the foreman-installer -scenario katello I get the following error. I don’t know what repository candlepin-selinux and katello-selinux would be in.
Failed to ensure foreman-selinux, katello-selinux, candlepin-selinux, pulpcore-selinux are installed
2025-02-05 19:22:29 [ERROR ] [root] Failed to ensure foreman-selinux, katello-selinux, candlepin-selinux, pulpcore-selinux are installed
Error: Execution of ‘/bin/dnf -d 0 -e 1 -y install katello-selinux’ returned 1: Error: Unable to find a match: katello-selinux
Error: /Stage[main]/Main/Package[katello-selinux]/ensure: change from ‘purged’ to ‘present’ failed: Execution of ‘/bin/dnf -d 0 -e 1 -y install katello-selinux’ returned 1: Error: Unable to find a match: katello-selinux
Error: Execution of ‘/bin/dnf -d 0 -e 1 -y install candlepin-selinux’ returned 1: Error: Unable to find a match: candlepin-selinux
Error: /Stage[main]/Main/Package[candlepin-selinux]/ensure: change from ‘purged’ to ‘present’ failed: Execution of ‘/bin/dnf -d 0 -e 1 -y install candlepin-selinux’ returned 1: Error: Unable to find a match: candlepin-selinux
2025-02-05 19:22:29 [ERROR ] [root] Error: Execution of ‘/bin/dnf -d 0 -e 1 -y install katello-selinux’ returned 1: Error: Unable to find a match: katello-selinux
Error: /Stage[main]/Main/Package[katello-selinux]/ensure: change from ‘purged’ to ‘present’ failed: Execution of ‘/bin/dnf -d 0 -e 1 -y install katello-selinux’ returned 1: Error: Unable to find a match: katello-selinux
Error: Execution of ‘/bin/dnf -d 0 -e 1 -y install candlepin-selinux’ returned 1: Error: Unable to find a match: candlepin-selinux
Error: /Stage[main]/Main/Package[candlepin-selinux]/ensure: change from ‘purged’ to ‘present’ failed: Execution of ‘/bin/dnf -d 0 -e 1 -y install candlepin-selinux’ returned 1: Error: Unable to find a match: candlepin-selinux

output of dnf repolist
dnf repolist
Updating Subscription Management repositories.
repo id repo name
appstream Rocky Linux 8 - AppStream
baseos Rocky Linux 8 - BaseOS
foreman Foreman 3.12
foreman-plugins Foreman plugins 3.12
powertools Rocky Linux 8 - PowerTools
pulpcore pulpcore: Fetch, Upload, Organize, and Distribute Software Packages.
puppet8 Puppet 8 Repository el 8 - x86_64

Expected outcome:
Install completes

Foreman and Proxy versions:
Foreman 3.12
Foreman and Proxy plugin versions:

Distribution and version:
Rocky Linux 8.10
Other relevant data:

It seems you have the katello and candlepin repositories disabled.

Run

# dnf repolist --all

# rpm -V foreman-release katello-repos

to check.

I did. I enabled both katello and candlepin but still getting errors (I can’t believe I can’t figure this out)
Here’s the output of dnf repolist --all
dnf repolist --all
Updating Subscription Management repositories.
repo id repo name status
appstream Rocky Linux 8 - AppStre enabled
appstream-debuginfo Rocky Linux 8 - AppStre disabled
appstream-source Rocky Linux 8 - AppStre disabled
baseos Rocky Linux 8 - BaseOS enabled
baseos-debuginfo Rocky Linux 8 - BaseOS disabled
baseos-source Rocky Linux 8 - BaseOS disabled
candlepin Candlepin: an open sour enabled
candlepin-source Katello Candlepin sourc disabled
devel Rocky Linux 8 - Devel W disabled
extras Rocky Linux 8 - Extras disabled
foreman Foreman 3.12 enabled
foreman-plugins Foreman plugins 3.12 enabled
foreman-plugins-source Foreman plugins 3.12 - disabled
foreman-source Foreman 3.12 - source disabled
ha Rocky Linux 8 - HighAva disabled
ha-debuginfo Rocky Linux 8 - High Av disabled
ha-source Rocky Linux 8 - High Av disabled
katello Katello 4.14 enabled
katello-source Katello 4.14 Source disabled
media-appstream Rocky Linux 8 - Media - disabled
media-baseos Rocky Linux 8 - Media - disabled
nfv Rocky Linux 8 - NFV disabled
plus Rocky Linux 8 - Plus disabled
powertools Rocky Linux 8 - PowerTo enabled
powertools-debuginfo Rocky Linux 8 - PowerTo disabled
powertools-source Rocky Linux 8 - PowerTo disabled
pulpcore pulpcore: Fetch, Upload enabled
pulpcore-source pulpcore source disabled
puppet8 Puppet 8 Repository el enabled
resilient-storage Rocky Linux 8 - Resilie disabled
resilient-storage-debuginfo Rocky Linux 8 - Resilie disabled
resilient-storage-source Rocky Linux 8 - Resilie disabled
rt Rocky Linux 8 - Realtim disabled
and
rpm -V foreman-release katello-repos
returns nothing

Errors I’m encountering:
Failed to ensure foreman-selinux, katello-selinux, candlepin-selinux, pulpcore-selinux are installed
2025-02-07 13:47:50 [ERROR ] [root] Failed to ensure foreman-selinux, katello-selinux, candlepin-selinux, pulpcore-selinux are installed
Error: Execution of ‘/bin/dnf -d 0 -e 1 -y install katello-selinux’ returned 1: Error: Unable to find a match: katello-selinux
Error: /Stage[main]/Main/Package[katello-selinux]/ensure: change from ‘purged’ to ‘present’ failed: Execution of ‘/bin/dnf -d 0 -e 1 -y install katello-selinux’ returned 1: Error: Unable to find a match: katello-selinux
Error: Execution of ‘/bin/dnf -d 0 -e 1 -y install candlepin-selinux’ returned 1: Error:
Problem: cannot install the best candidate for the job

  • nothing provides selinux-policy >= 38.1.45-3.el9_5 needed by candlepin-selinux-4.4.20-1.el9.noarch from candlepin
  • nothing provides selinux-policy-base >= 38.1.45-3.el9_5 needed by candlepin-selinux-4.4.20-1.el9.noarch from candlepin
    Error: /Stage[main]/Main/Package[candlepin-selinux]/ensure: change from ‘purged’ to ‘present’ failed: Execution of ‘/bin/dnf -d 0 -e 1 -y install candlepin-selinux’ returned 1: Error:
    Problem: cannot install the best candidate for the job
  • nothing provides selinux-policy >= 38.1.45-3.el9_5 needed by candlepin-selinux-4.4.20-1.el9.noarch from candlepin
  • nothing provides selinux-policy-base >= 38.1.45-3.el9_5 needed by candlepin-selinux-4.4.20-1.el9.noarch from candlepin
    2025-02-07 13:47:50 [ERROR ] [root] Error: Execution of ‘/bin/dnf -d 0 -e 1 -y install katello-selinux’ returned 1: Error: Unable to find a match: katello-selinux
    Error: /Stage[main]/Main/Package[katello-selinux]/ensure: change from ‘purged’ to ‘present’ failed: Execution of ‘/bin/dnf -d 0 -e 1 -y install katello-selinux’ returned 1: Error: Unable to find a match: katello-selinux
    Error: Execution of ‘/bin/dnf -d 0 -e 1 -y install candlepin-selinux’ returned 1: Error:
    Problem: cannot install the best candidate for the job
  • nothing provides selinux-policy >= 38.1.45-3.el9_5 needed by candlepin-selinux-4.4.20-1.el9.noarch from candlepin
  • nothing provides selinux-policy-base >= 38.1.45-3.el9_5 needed by candlepin-selinux-4.4.20-1.el9.noarch from candlepin
    Error: /Stage[main]/Main/Package[candlepin-selinux]/ensure: change from ‘purged’ to ‘present’ failed: Execution of ‘/bin/dnf -d 0 -e 1 -y install candlepin-selinux’ returned 1: Error:
    Problem: cannot install the best candidate for the job
  • nothing provides selinux-policy >= 38.1.45-3.el9_5 needed by candlepin-selinux-4.4.20-1.el9.noarch from candlepin
  • nothing provides selinux-policy-base >= 38.1.45-3.el9_5 needed by candlepin-selinux-4.4.20-1.el9.noarch from candlepin

Please use preformatted text when copying output.

Something is not consistent here. First you posted this:

 dnf repolist
Updating Subscription Management repositories.
repo id repo name
appstream Rocky Linux 8 - AppStream
baseos Rocky Linux 8 - BaseOS
foreman Foreman 3.12
foreman-plugins Foreman plugins 3.12
powertools Rocky Linux 8 - PowerTools
pulpcore pulpcore: Fetch, Upload, Organize, and Distribute Software Packages.
puppet8 Puppet 8 Repository el 8 - x86_64

but now this:

dnf repolist --all
Updating Subscription Management repositories.
repo id repo name status
appstream Rocky Linux 8 - AppStre enabled
appstream-debuginfo Rocky Linux 8 - AppStre disabled
appstream-source Rocky Linux 8 - AppStre disabled
baseos Rocky Linux 8 - BaseOS enabled
baseos-debuginfo Rocky Linux 8 - BaseOS disabled
baseos-source Rocky Linux 8 - BaseOS disabled
candlepin Candlepin: an open sour enabled
candlepin-source Katello Candlepin sourc disabled
devel Rocky Linux 8 - Devel W disabled
extras Rocky Linux 8 - Extras disabled
foreman Foreman 3.12 enabled
foreman-plugins Foreman plugins 3.12 enabled
foreman-plugins-source Foreman plugins 3.12 - disabled
foreman-source Foreman 3.12 - source disabled
ha Rocky Linux 8 - HighAva disabled
ha-debuginfo Rocky Linux 8 - High Av disabled
ha-source Rocky Linux 8 - High Av disabled
katello Katello 4.14 enabled
katello-source Katello 4.14 Source disabled
media-appstream Rocky Linux 8 - Media - disabled
media-baseos Rocky Linux 8 - Media - disabled
nfv Rocky Linux 8 - NFV disabled
plus Rocky Linux 8 - Plus disabled
powertools Rocky Linux 8 - PowerTo enabled
powertools-debuginfo Rocky Linux 8 - PowerTo disabled
powertools-source Rocky Linux 8 - PowerTo disabled
pulpcore pulpcore: Fetch, Upload enabled
pulpcore-source pulpcore source disabled
puppet8 Puppet 8 Repository el enabled
resilient-storage Rocky Linux 8 - Resilie disabled
resilient-storage-debuginfo Rocky Linux 8 - Resilie disabled
resilient-storage-source Rocky Linux 8 - Resilie disabled
rt Rocky Linux 8 - Realtim disabled

candlepin and katello repositories are listed as enabled. But they are missing in dnf repolist which only shows enabled repositories. That should be consistent.

dnf should list packages from those repositories:

# dnf list katello\* candlepin\*
...

repolist with -v should show more information on the repos:

# dnf repolist -v

Sorry for the formatting issues.
I put all of the requested info below.
Thank you for the help

dnf repolist
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

repo id         repo name
appstream       Rocky Linux 8 - AppStream
baseos          Rocky Linux 8 - BaseOS
candlepin       Candlepin: an open source entitlement management system.
foreman         Foreman 3.12
foreman-plugins Foreman plugins 3.12
katello         Katello 4.14
powertools      Rocky Linux 8 - PowerTools
pulpcore        pulpcore: Fetch, Upload, Organize, and Distribute Software Packages.
puppet8         Puppet 8 Repository el 8 - x86_64

dnf repolist --all

dnf repolist --all
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

repo id                     repo name                                   status
appstream                   Rocky Linux 8 - AppStream                   enabled
appstream-debuginfo         Rocky Linux 8 - AppStream - Source          disabled
appstream-source            Rocky Linux 8 - AppStream - Source          disabled
baseos                      Rocky Linux 8 - BaseOS                      enabled
baseos-debuginfo            Rocky Linux 8 - BaseOS - Source             disabled
baseos-source               Rocky Linux 8 - BaseOS - Source             disabled
candlepin                   Candlepin: an open source entitlement manag enabled
candlepin-source            Katello Candlepin source                    disabled
devel                       Rocky Linux 8 - Devel WARNING! FOR BUILDROO disabled
extras                      Rocky Linux 8 - Extras                      disabled
foreman                     Foreman 3.12                                enabled
foreman-plugins             Foreman plugins 3.12                        enabled
foreman-plugins-source      Foreman plugins 3.12 - source               disabled
foreman-source              Foreman 3.12 - source                       disabled
ha                          Rocky Linux 8 - HighAvailability            disabled
ha-debuginfo                Rocky Linux 8 - High Availability - Source  disabled
ha-source                   Rocky Linux 8 - High Availability - Source  disabled
katello                     Katello 4.14                                enabled
katello-source              Katello 4.14 Source                         disabled
media-appstream             Rocky Linux 8 - Media - AppStream           disabled
media-baseos                Rocky Linux 8 - Media - BaseOS              disabled
nfv                         Rocky Linux 8 - NFV                         disabled
plus                        Rocky Linux 8 - Plus                        disabled
powertools                  Rocky Linux 8 - PowerTools                  enabled
powertools-debuginfo        Rocky Linux 8 - PowerTools - Source         disabled
powertools-source           Rocky Linux 8 - PowerTools - Source         disabled
pulpcore                    pulpcore: Fetch, Upload, Organize, and Dist enabled
pulpcore-source             pulpcore source                             disabled
puppet8                     Puppet 8 Repository el 8 - x86_64           enabled
resilient-storage           Rocky Linux 8 - ResilientStorage            disabled
resilient-storage-debuginfo Rocky Linux 8 - Resilient Storage - Source  disabled
resilient-storage-source    Rocky Linux 8 - Resilient Storage - Source  disabled
rt                          Rocky Linux 8 - Realtime                    disabled

dnf list katello* candlepin*
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 0:09:48 ago on Fri 07 Feb 2025 03:07:25 PM CET.
Installed Packages
candlepin.noarch 4.4.20-1.el8 @@commandline
katello-ca-consumer-alvlxmgt.alv.autoliv.int.noarch 1.0-1 @@commandline
katello-certs-tools.noarch 2.10.0-1.el8 @foreman
katello-repos.noarch 4.14.1-1.el9 @@commandline
Available Packages
candlepin.noarch 4.4.20-1.el9 candlepin
candlepin-selinux.noarch 4.4.20-1.el9 candlepin

dnf repolist -v
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, product-id, repoclosure, repodiff, repograph, repomanage, reposync, subscription-manager, system-upgrade, uploadprofile
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

DNF version: 4.7.0
cachedir: /var/cache/dnf
Last metadata expiration check: 0:10:19 ago on Fri 07 Feb 2025 03:07:25 PM CET.
Repo-id : appstream
Repo-name : Rocky Linux 8 - AppStream
Repo-revision : 8.10
Repo-distro-tags : [cpe:/o:rocky:rocky:8]: , , 8, L, R, c, i, k, n, o, u,
: x, y
Repo-updated : Wed 05 Feb 2025 09:46:00 AM CET
Repo-pkgs : 10,095
Repo-available-pkgs: 8,124
Repo-size : 26 G
Repo-baseurl : Index of /pub/rocky/8/AppStream/x86_64/os/
Repo-expire : 172,800 second(s) (last: Fri 07 Feb 2025 03:07:06 PM CET)
Repo-filename : /etc/yum.repos.d/Rocky-AppStream.repo

Repo-id : baseos
Repo-name : Rocky Linux 8 - BaseOS
Repo-revision : 8.10
Repo-distro-tags : [cpe:/o:rocky:rocky:8]: , , 8, L, R, c, i, k, n, o, u,
: x, y
Repo-updated : Wed 05 Feb 2025 09:52:29 AM CET
Repo-pkgs : 3,213
Repo-available-pkgs: 3,203
Repo-size : 8.1 G
Repo-baseurl : Index of /pub/rocky/8/BaseOS/x86_64/os/
Repo-expire : 172,800 second(s) (last: Fri 07 Feb 2025 03:07:12 PM CET)
Repo-filename : /etc/yum.repos.d/Rocky-BaseOS.repo

Repo-id : candlepin
Repo-name : Candlepin: an open source entitlement management system.
Repo-revision : 1732539736
Repo-updated : Mon 25 Nov 2024 02:02:16 PM CET
Repo-pkgs : 18
Repo-available-pkgs: 18
Repo-size : 648 M
Repo-baseurl : Index of /candlepin/4.4/el9/x86_64
Repo-expire : 172,800 second(s) (last: Fri 07 Feb 2025 03:07:23 PM CET)
Repo-filename : /etc/yum.repos.d/katello.repo

Repo-id : foreman
Repo-name : Foreman 3.12
Repo-revision : 1732296882
Repo-updated : Fri 22 Nov 2024 06:34:42 PM CET
Repo-pkgs : 638
Repo-available-pkgs: 638
Repo-size : 336 M
Repo-baseurl : Index of /releases/3.12/el8/x86_64
Repo-expire : 172,800 second(s) (last: Fri 07 Feb 2025 03:07:19 PM CET)
Repo-filename : /etc/yum.repos.d/foreman.repo

Repo-id : foreman-plugins
Repo-name : Foreman plugins 3.12
Repo-revision : 1738791613
Repo-updated : Wed 05 Feb 2025 10:40:13 PM CET
Repo-pkgs : 383
Repo-available-pkgs: 383
Repo-size : 498 M
Repo-baseurl : Index of /plugins/3.12/el8/x86_64
Repo-expire : 172,800 second(s) (last: Fri 07 Feb 2025 03:07:20 PM CET)
Repo-filename : /etc/yum.repos.d/foreman-plugins.repo

Repo-id : katello
Repo-name : Katello 4.14
Repo-revision : 1731418588
Repo-updated : Tue 12 Nov 2024 02:36:28 PM CET
Repo-pkgs : 70
Repo-available-pkgs: 1
Repo-size : 204 M
Repo-baseurl : Index of /katello/4.14/katello/el9/x86_64
Repo-expire : 172,800 second(s) (last: Fri 07 Feb 2025 03:07:22 PM CET)
Repo-filename : /etc/yum.repos.d/katello.repo

Repo-id : powertools
Repo-name : Rocky Linux 8 - PowerTools
Repo-revision : 8.10
Repo-distro-tags : [cpe:/o:rocky:rocky:8]: , , 8, L, R, c, i, k, n, o, u,
: x, y
Repo-updated : Wed 05 Feb 2025 09:51:53 AM CET
Repo-pkgs : 3,006
Repo-available-pkgs: 2,787
Repo-size : 44 G
Repo-mirrors : https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=PowerTools-8
Repo-baseurl : Index of /pub/rocky/8.10/PowerTools/x86_64/os/
: (41 more)
Repo-expire : 172,800 second(s) (last: Fri 07 Feb 2025 03:07:17 PM CET)
Repo-filename : /etc/yum.repos.d/Rocky-PowerTools.repo

Repo-id : pulpcore
Repo-name : pulpcore: Fetch, Upload, Organize, and Distribute Software
: Packages.
Repo-revision : 1729604825
Repo-updated : Tue 22 Oct 2024 03:47:05 PM CEST
Repo-pkgs : 349
Repo-available-pkgs: 333
Repo-size : 103 M
Repo-baseurl : Index of /pulpcore/3.49/el9/x86_64
Repo-expire : 172,800 second(s) (last: Fri 07 Feb 2025 03:07:24 PM CET)
Repo-filename : /etc/yum.repos.d/katello.repo

Repo-id : puppet8
Repo-name : Puppet 8 Repository el 8 - x86_64
Repo-revision : 1733225650
Repo-updated : Tue 03 Dec 2024 12:34:10 PM CET
Repo-pkgs : 72
Repo-available-pkgs: 72
Repo-size : 2.7 G
Repo-baseurl : Index of /puppet8/el/8/x86_64
Repo-expire : 172,800 second(s) (last: Fri 07 Feb 2025 03:07:25 PM CET)
Repo-filename : /etc/yum.repos.d/puppet8-release.repo
Total packages: 17,844

This is probably the problem: you have installed the el9 katello repos on an el8 system…

Remove the wrong one and install the right one:

# dnf remove katello-repos
# dnf install https://yum.theforeman.org/katello/4.14/katello/el8/x86_64/katello-repos-4.14.1-1.el8.noarch.rpm
1 Like

Thank you gvde.
I’m getting further along in the install process. Still getting errors, but at least those are solved.
I can’t believe I missed it was using el9 instead of el8…

Ok, If I can ask another question, when I run the foreman install I now get 4 errors:
2025-02-07 17:57:19 [ERROR ] [configure] Execution of ‘/bin/dnf -d 0 -e 1 -y install postgresql-evr’ returned 1: Error: Unable to find a match: postgresql-evr
2025-02-07 17:57:19 [ERROR ] [configure] /Stage[main]/Katello::Application/Package[postgresql-evr]/ensure: change from ‘purged’ to ‘present’ failed: Execution of ‘/bin/dnf -d 0 -e 1 -y install postgresql-evr’ returned 1: Error: Unable to find a match: postgresql-evr
2025-02-07 17:57:20 [NOTICE] [configure] 250 configuration steps out of 1483 steps complete.
2025-02-07 17:57:21 [NOTICE] [configure] 500 configuration steps out of 1485 steps complete.
2025-02-07 17:57:25 [ERROR ] [configure] Execution of ‘/bin/dnf -d 0 -e 1 -y install pulpcore-plugin(rpm)’ returned 1: Error:
2025-02-07 17:57:25 [ERROR ] [configure] Problem: package python3.11-pulp-rpm-3.26.1-1.el8.noarch from pulpcore requires python3.11-createrepo_c >= 1.1.0, but none of the providers can be installed
2025-02-07 17:57:25 [ERROR ] [configure] - package python3.11-createrepo_c-1.1.3-1.el8.x86_64 from pulpcore requires createrepo_c-libs = 1.1.3-1.el8, but none o2025-02-07 17:57:25 [ERROR ] [configure] - package python3.11-createrepo_c-1.1.3-1.el8.x86_64 from pulpcore requires createrepo_c-libs = 1.1.3-1.el8, but none of the providers can be installed
2025-02-07 17:57:25 [ERROR ] [configure] - cannot install the best candidate for the job
2025-02-07 17:57:25 [ERROR ] [configure] - package createrepo_c-libs-1.1.3-1.el8.x86_64 from pulpcore is filtered out by modular filtering
2025-02-07 17:57:25 [ERROR ] [configure] /Stage[main]/Pulpcore::Plugin::Rpm/Pulpcore::Plugin[rpm]/Package[pulpcore-plugin(rpm)]/ensure: change from ‘purged’ to ‘present’ failed: Execution of ‘/bin/dnf -d 0 -e 1 -y install pulpcore-plugin(rpm)’ returned 1: Error:
2025-02-07 17:57:25 [ERROR ] [configure] Problem: package python3.11-pulp-rpm-3.26.1-1.el8.noarch from pulpcore requires python3.11-createrepo_c >= 1.1.0, but none of the providers can be installed
2025-02-07 17:57:25 [ERROR ] [configure] - package python3.11-createrepo_c-1.1.3-1.el8.x86_64 from pulpcore requires createrepo_c-libs = 1.1.3-1.el8, but none of the providers can be installed
2025-02-07 17:57:25 [ERROR ] [configure] - cannot install the best candidate for the job
2025-02-07 17:57:25 [ERROR ] [configure] - package createrepo_c-libs-1.1.3-1.el8.x86_64 from pulpcore is filtered out by modular filtering
2025-02-07 17:57:27 [ERROR ] [configure] Execution of ‘/bin/dnf -d 0 -e 1 -y install pulpcore-plugin(ansible)’ returned 1: Error:
2025-02-07 17:57:27 [ERROR ] [configure] Problem: package python3.11-pulp-ansible-1:0.21.8-1.el8.noarch from pulpcore requires python3.11-galaxy-importer >= 0.4.5, but none of the providers can be installed
2025-02-07 17:57:27 [ERROR ] [configure] - 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
2025-02-07 17:57:27 [ERROR ] [configure] - 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
2025-02-07 17:57:27 [ERROR ] [configure] - cannot install the best candidate for the job
2025-02-07 17:57:27 [ERROR ] [configure] - package ansible-lint-5.4.0-1.el8.noarch from pulpcore is filtered out by modular filtering
2025-02-07 17:57:27 [ERROR ] [configure] /Stage[main]/Pulpcore::Plugin::Ansible/Pulpcore::Plugin[ansible]/Package[pulpcore-plugin(ansible)]/ensure: change from ‘purged’ to ‘present’ failed: Execution of ‘/bin/dnf -d 0 -e 1 -y install pulpcore-plugin(ansible)’ returned 1: Error:
2025-02-07 17:57:27 [ERROR ] [configure] Problem: package python3.11-pulp-ansible-1:0.21.8-1.el8.noarch from pulpcore requires python3.11-galaxy-importer >= 0.4.5, but none of the providers can be installed
2025-02-07 17:57:27 [ERROR ] [configure] - 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
2025-02-07 17:57:27 [ERROR ] [configure] - 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
2025-02-07 17:57:27 [ERROR ] [configure] - cannot install the best candidate for the job
2025-02-07 17:57:27 [ERROR ] [configure] - package ansible-lint-5.4.0-1.el8.noarch from pulpcore is filtered out by modular filtering
2025-02-07 17:57:27 [NOTICE] [configure] 750 configuration steps out of 1487 steps complete.
2025-02-07 17:57:27 [NOTICE] [configure] 1000 configuration steps out of 1493 steps complete.
2025-02-07 17:57:51 [ERROR ] [configure] ‘/usr/sbin/foreman-rake db:migrate’ returned 1 instead of one of [0]
2025-02-07 17:57:51 [ERROR ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]/returns: change from ‘notrun’ to [‘0’] failed: ‘/usr/sbin/foreman-rake db:migrate’ returned 1 instead of one of [0]
2025-02-07 17:58:02 [NOTICE] [configure] 1250 configuration steps out of 1493 steps complete.
2025-02-07 17:58:05 [NOTICE] [configure] System configuration has finished.

You probably still have some other packages from el9 installed.

Did you run

# dnf module enable katello:el8

to enable the katello module?

Also check with rpm for el9 rpms:

# rpm -qa | grep el9

katello was already enabled
and I don’t have any el9 rpm’s installed.
i’ll keep looking.

Try to disable the module. Then run dnf clean all and enable it again.

Those packages are all in the pulp core repository.

That did the trick!
Thank you so much