Foreman 3.12 install w/katello 4.14 fails with postgresql conflict

Problem:
I’m setting up a Rocky 8.10 system with Foreman 3.12 w/katello 4.14.
When I go to install foreman 3.12 I get the following error:
dnf install https://yum.theforeman.org/releases/3.12/el8/x86_64/foreman-release.rpm
Updating Subscription Management repositories.
Rocky Linux 8 - AppStream 11 MB/s | 15 MB 00:01
Rocky Linux 8 - BaseOS 13 MB/s | 14 MB 00:01
Foreman 3.12 1.7 MB/s | 1.7 MB 00:01
Foreman plugins 3.12 2.3 MB/s | 1.9 MB 00:00
pulpcore: Fetch, Upload, Organize, and Distribu 735 kB/s | 435 kB 00:00
Puppet 8 Repository el 8 - x86_64 3.3 MB/s | 3.8 MB 00:01
Modular dependency problems:

Problem 1: module foreman:el8:31220241122173051:c0d2eeb9.x86_64 from foreman requires module(postgresql:13), but none of the providers can be installed

  • module postgresql:12:8090020240226072207:b46abd14.x86_64 from appstream conflicts with module(postgresql:13) provided by postgresql:13:8090020240226072209:b46abd14.x86_64 from appstream
  • module postgresql:13:8090020240226072209:b46abd14.x86_64 from appstream conflicts with module(postgresql:12) provided by postgresql:12:8090020240226072207:b46abd14.x86_64 from appstream
  • module postgresql:12:8090020240226072207:b46abd14.x86_64 from appstream conflicts with module(postgresql:13) provided by postgresql:13:8100020240829152539:e155f54d.x86_64 from appstream
  • module postgresql:13:8100020240829152539:e155f54d.x86_64 from appstream conflicts with module(postgresql:12) provided by postgresql:12:8090020240226072207:b46abd14.x86_64 from appstream
  • module postgresql:12:8090020240226072207:b46abd14.x86_64 from appstream conflicts with module(postgresql:13) provided by postgresql:13:8100020241205175019:e155f54d.x86_64 from appstream
  • module postgresql:13:8100020241205175019:e155f54d.x86_64 from appstream conflicts with module(postgresql:12) provided by postgresql:12:8090020240226072207:b46abd14.x86_64 from appstream
  • conflicting requests
    Problem 2: module foreman:el8:31220241122173051:c0d2eeb9.x86_64 from foreman requires module(postgresql:13), but none of the providers can be installed
  • module katello:el8:40920231002131220:03c1cffa.x86_64 from @modulefailsafe requires module(foreman:el8), but none of the providers can be installed
  • module postgresql:13:8090020240226072209:b46abd14.x86_64 from appstream conflicts with module(postgresql:12) provided by postgresql:12:8100020240829152537:e155f54d.x86_64 from appstream
  • module postgresql:12:8100020240829152537:e155f54d.x86_64 from appstream conflicts with module(postgresql:13) provided by postgresql:13:8090020240226072209:b46abd14.x86_64 from appstream
  • module postgresql:12:8100020240829152537:e155f54d.x86_64 from appstream conflicts with module(postgresql:13) provided by postgresql:13:8100020240829152539:e155f54d.x86_64 from appstream
  • module postgresql:13:8100020240829152539:e155f54d.x86_64 from appstream conflicts with module(postgresql:12) provided by postgresql:12:8100020240829152537:e155f54d.x86_64 from appstream
  • module postgresql:12:8100020240829152537:e155f54d.x86_64 from appstream conflicts with module(postgresql:13) provided by postgresql:13:8100020241205175019:e155f54d.x86_64 from appstream
  • module postgresql:13:8100020241205175019:e155f54d.x86_64 from appstream conflicts with module(postgresql:12) provided by postgresql:12:8100020240829152537:e155f54d.x86_64 from appstream
  • conflicting requests
    foreman-release.rpm 45 kB/s | 14 kB 00:00
    Package foreman-release-3.12.1-1.el8.noarch is already installed.
    Dependencies resolved.
    Nothing to do.
    Complete!

Expected outcome:
No conflicts with postgresql

Foreman and Proxy versions:
Foreman 3.12

Foreman and Proxy plugin versions:

Distribution and version:
Rocky Linux 8.10 with latest updates as of 2/3/25

Other relevant data:

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
pulpcore pulpcore: Fetch, Upload, Organize, and Distribute Software Packages.
puppet8 Puppet 8 Repository el 8 - x86_64

Hi @Rays did you enable the dnf modules? dnf module enable katello:el8 Also did you get the other repos pulled in from the install steps? Quickstart guide for Foreman with Katello on Enterprise Linux

Thanks for the quick reply.
Yes, I did. I went with puppet 8 over puppet 7
When I go to enable katello:el8 I get this:
dnf module enable katello:el8
Updating Subscription Management repositories.
Last metadata expiration check: 0:11:09 ago on Wed 05 Feb 2025 06:36:48 PM CET.
Modular dependency problems:

Problem 1: module foreman:el8:31220241122173051:c0d2eeb9.x86_64 from foreman requires module(postgresql:13), but none of the providers can be installed

  • module postgresql:12:8090020240226072207:b46abd14.x86_64 from appstream conflicts with module(postgresql:13) provided by postgresql:13:8090020240226072209:b46abd14.x86_64 from appstream
  • module postgresql:13:8090020240226072209:b46abd14.x86_64 from appstream conflicts with module(postgresql:12) provided by postgresql:12:8090020240226072207:b46abd14.x86_64 from appstream
  • module postgresql:12:8090020240226072207:b46abd14.x86_64 from appstream conflicts with module(postgresql:13) provided by postgresql:13:8100020240829152539:e155f54d.x86_64 from appstream
  • module postgresql:13:8100020240829152539:e155f54d.x86_64 from appstream conflicts with module(postgresql:12) provided by postgresql:12:8090020240226072207:b46abd14.x86_64 from appstream
  • module postgresql:12:8090020240226072207:b46abd14.x86_64 from appstream conflicts with module(postgresql:13) provided by postgresql:13:8100020241205175019:e155f54d.x86_64 from appstream
  • module postgresql:13:8100020241205175019:e155f54d.x86_64 from appstream conflicts with module(postgresql:12) provided by postgresql:12:8090020240226072207:b46abd14.x86_64 from appstream
  • conflicting requests
    Problem 2: module foreman:el8:31220241122173051:c0d2eeb9.x86_64 from foreman requires module(postgresql:13), but none of the providers can be installed
  • module katello:el8:40920231002131220:03c1cffa.x86_64 from @modulefailsafe requires module(foreman:el8), but none of the providers can be installed
  • module postgresql:13:8090020240226072209:b46abd14.x86_64 from appstream conflicts with module(postgresql:12) provided by postgresql:12:8100020240829152537:e155f54d.x86_64 from appstream
  • module postgresql:12:8100020240829152537:e155f54d.x86_64 from appstream conflicts with module(postgresql:13) provided by postgresql:13:8090020240226072209:b46abd14.x86_64 from appstream
  • module postgresql:12:8100020240829152537:e155f54d.x86_64 from appstream conflicts with module(postgresql:13) provided by postgresql:13:8100020240829152539:e155f54d.x86_64 from appstream
  • module postgresql:13:8100020240829152539:e155f54d.x86_64 from appstream conflicts with module(postgresql:12) provided by postgresql:12:8100020240829152537:e155f54d.x86_64 from appstream
  • module postgresql:12:8100020240829152537:e155f54d.x86_64 from appstream conflicts with module(postgresql:13) provided by postgresql:13:8100020241205175019:e155f54d.x86_64 from appstream
  • module postgresql:13:8100020241205175019:e155f54d.x86_64 from appstream conflicts with module(postgresql:12) provided by postgresql:12:8100020240829152537:e155f54d.x86_64 from appstream
  • conflicting requests
    Error: Problems in request:
    Modular dependency problems:

Problem 1: module foreman:el8:31220241122173051:c0d2eeb9.x86_64 from foreman requires module(postgresql:13), but none of the providers can be installed

  • module postgresql:12:8090020240226072207:b46abd14.x86_64 from appstream conflicts with module(postgresql:13) provided by postgresql:13:8090020240226072209:b46abd14.x86_64 from appstream
  • module postgresql:13:8090020240226072209:b46abd14.x86_64 from appstream conflicts with module(postgresql:12) provided by postgresql:12:8090020240226072207:b46abd14.x86_64 from appstream
  • module postgresql:12:8090020240226072207:b46abd14.x86_64 from appstream conflicts with module(postgresql:13) provided by postgresql:13:8100020240829152539:e155f54d.x86_64 from appstream
  • module postgresql:13:8100020240829152539:e155f54d.x86_64 from appstream conflicts with module(postgresql:12) provided by postgresql:12:8090020240226072207:b46abd14.x86_64 from appstream
  • module postgresql:12:8090020240226072207:b46abd14.x86_64 from appstream conflicts with module(postgresql:13) provided by postgresql:13:8100020241205175019:e155f54d.x86_64 from appstream
  • module postgresql:13:8100020241205175019:e155f54d.x86_64 from appstream conflicts with module(postgresql:12) provided by postgresql:12:8090020240226072207:b46abd14.x86_64 from appstream
  • conflicting requests
    Problem 2: module foreman:el8:31220241122173051:c0d2eeb9.x86_64 from foreman requires module(postgresql:13), but none of the providers can be installed
  • module katello:el8:40920231002131220:03c1cffa.x86_64 from @modulefailsafe requires module(foreman:el8), but none of the providers can be installed
  • module postgresql:13:8090020240226072209:b46abd14.x86_64 from appstream conflicts with module(postgresql:12) provided by postgresql:12:8100020240829152537:e155f54d.x86_64 from appstream
  • module postgresql:12:8100020240829152537:e155f54d.x86_64 from appstream conflicts with module(postgresql:13) provided by postgresql:13:8090020240226072209:b46abd14.x86_64 from appstream
  • module postgresql:12:8100020240829152537:e155f54d.x86_64 from appstream conflicts with module(postgresql:13) provided by postgresql:13:8100020240829152539:e155f54d.x86_64 from appstream
  • module postgresql:13:8100020240829152539:e155f54d.x86_64 from appstream conflicts with module(postgresql:12) provided by postgresql:12:8100020240829152537:e155f54d.x86_64 from appstream
  • module postgresql:12:8100020240829152537:e155f54d.x86_64 from appstream conflicts with module(postgresql:13) provided by postgresql:13:8100020241205175019:e155f54d.x86_64 from appstream
  • module postgresql:13:8100020241205175019:e155f54d.x86_64 from appstream conflicts with module(postgresql:12) provided by postgresql:12:8100020240829152537:e155f54d.x86_64 from appstream
  • conflicting requests

That’s a bad idea. If you are setting up a new foreman server you should use EL9. 3.12/4.14 is the last version supported with EL8. 3.13 only supports EL9.

Is it possible that you already have a postgresql database running on that server? Foreman 3.11 and later use postgresql 13. You would have to run

dnf -y module switch-to postgresql:13

to switch from 12 to 13.

1 Like

Oh I know. I want to go with Rocky 9. But it was requested to wait till later this year. So, here we are with 8.

Yes. That’s it. Thank you! I knew it was something stupid I was missing. I switched and that step ran clean.

3 Likes