Problem with updating foreman 3.8 to version 3.9

Please help.

Centos 8 Stream

[root@my-foreman ~]# dnf update
CentOS Stream 8 - AppStream 5.3 MB/s | 34 MB 00:06
CentOS Stream 8 - BaseOS 8.2 MB/s | 55 MB 00:06
CentOS Stream 8 - PowerTools 4.2 MB/s | 6.6 MB 00:01
Katello 4.11 142 kB/s | 211 kB 00:01
Candlepin: an open source entitlement management system. 17 kB/s | 16 kB 00:00
pulpcore: Fetch, Upload, Organize, and Distribute Software Packages. 584 kB/s | 458 kB 00:00
Puppet 7 Repository el 8 - x86_64 5.8 MB/s | 18 MB 00:03
Last metadata expiration check: 0:00:01 ago on Fri 08 Dec 2023
Error:
Problem 1: cannot install the best update candidate for package rubygem-katello-4.10.0-1.el8.noarch

  • nothing provides foreman >= 3.9 needed by rubygem-katello-4.11.0-0.5.rc2.el8.noarch from katello
    Problem 2: package rubygem-katello-4.10.0-1.el8.noarch from @System requires (rubygem(pulp_ansible_client) >= 0.18.0 with rubygem(pulp_ansible_client) < 0.19.0), but none of the providers can be installed
  • cannot install both rubygem-pulp_ansible_client-0.20.2-1.el8.noarch from katello and rubygem-pulp_ansible_client-0.18.0-1.el8.noarch from @System
  • problem with installed package rubygem-katello-4.10.0-1.el8.noarch
  • cannot install the best update candidate for package rubygem-pulp_ansible_client-0.18.0-1.el8.noarch
  • nothing provides foreman >= 3.9 needed by rubygem-katello-4.11.0-0.5.rc1.el8.noarch from katello
  • nothing provides foreman >= 3.9 needed by rubygem-katello-4.11.0-0.5.rc2.el8.noarch from katello
    Problem 3: package rubygem-katello-4.10.0-1.el8.noarch from @System requires (rubygem(pulp_container_client) >= 2.15.0 with rubygem(pulp_container_client) < 2.16.0), but none of the providers can be installed
  • cannot install both rubygem-pulp_container_client-2.16.2-1.el8.noarch from katello and rubygem-pulp_container_client-2.15.2-1.el8.noarch from @System
  • package katello-4.11.0-0.2.rc2.el8.noarch from katello requires rubygem-katello, but none of the providers can be installed
  • cannot install the best update candidate for package rubygem-pulp_container_client-2.15.2-1.el8.noarch
  • cannot install the best update candidate for package katello-4.10.0-1.el8.noarch
  • nothing provides foreman >= 3.9 needed by rubygem-katello-4.11.0-0.5.rc1.el8.noarch from katello
  • nothing provides foreman >= 3.9 needed by rubygem-katello-4.11.0-0.5.rc2.el8.noarch from katello
    Problem 4: package katello-4.11.0-0.2.rc2.el8.noarch from katello requires rubygem-katello, but none of the providers can be installed
  • problem with installed package katello-4.10.0-1.el8.noarch
  • package rubygem-katello-4.10.0-1.el8.noarch from @System requires (rubygem(pulp_file_client) >= 1.14.0 with rubygem(pulp_file_client) < 1.15.0), but none of the providers can be installed
  • package katello-4.10.0-1.el8.noarch from @System requires katello-common = 4.10.0-1.el8, but none of the providers can be installed
  • package katello-4.11.0-0.2.rc1.el8.noarch from katello requires katello-common = 4.11.0-0.2.rc1.el8, but none of the providers can be installed
  • cannot install both rubygem-pulp_file_client-1.15.1-1.el8.noarch from katello and rubygem-pulp_file_client-1.14.3-1.el8.noarch from @System
  • cannot install both katello-common-4.11.0-0.2.rc2.el8.noarch from katello and katello-common-4.10.0-1.el8.noarch from @System
  • cannot install both katello-common-4.11.0-0.2.rc2.el8.noarch from katello and katello-common-4.11.0-0.2.rc1.el8.noarch from katello
  • cannot install the best update candidate for package rubygem-pulp_file_client-1.14.3-1.el8.noarch
  • cannot install the best update candidate for package katello-common-4.10.0-1.el8.noarch
  • nothing provides foreman >= 3.9 needed by rubygem-katello-4.11.0-0.5.rc1.el8.noarch from katello
  • nothing provides foreman >= 3.9 needed by rubygem-katello-4.11.0-0.5.rc2.el8.noarch from katello
    (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)

rpm -qa | grep foreman-release

foreman-release-3.9.0-0.2.rc2.el8.noarch

Foreman 3.9 / Katello 4.11 is in the QC/pre-QC phase right now, but just to give my call here as well,
just tried the upgrade and also getting these or very similar errors :+1:

(saw active work on this issue in another thread though)

This seems to work fine here.

Can you post the outputs of dnf repolist -v and dnf module list please?

@lumarel which other thread do you mean?

[root@my-foreman ~]# dnf repolist -v
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade
DNF version: 4.7.0
cachedir: /var/cache/dnf
Last metadata expiration check: 1:36:20 ago on Mon 11 Dec 2023
Repo-id            : appstream
Repo-name          : CentOS Stream 8 - AppStream
Repo-revision      : 8-stream
Repo-distro-tags      : [cpe:/o:centos-stream:centos-stream:8]:  ,  , 8, C, O, S, S, a, e, e, m, n, r, t, t
Repo-updated       : Mon 27 Nov 2023 06:29:37 PM MSK
Repo-pkgs          : 27,954
Repo-available-pkgs: 25,119
Repo-size          : 69 G
Repo-baseurl       : https://mirror.yandex.ru/centos/8-stream/AppStream/x86_64/os
Repo-expire        : 172,800 second(s) (last: Mon 11 Dec 2023 09:06:32 AM MSK)
Repo-filename      : /etc/yum.repos.d/CentOS-Stream-AppStream.repo

Repo-id            : baseos
Repo-name          : CentOS Stream 8 - BaseOS
Repo-revision      : 8-stream
Repo-distro-tags      : [cpe:/o:centos-stream:centos-stream:8]:  ,  , 8, C, O, S, S, a, e, e, m, n, r, t, t
Repo-updated       : Mon 27 Nov 2023 06:27:10 PM MSK
Repo-pkgs          : 18,768
Repo-available-pkgs: 18,721
Repo-size          : 32 G
Repo-baseurl       : https://mirror.yandex.ru/centos/8-stream/BaseOS/x86_64/os/
Repo-expire        : 172,800 second(s) (last: Mon 11 Dec 2023 09:06:50 AM MSK)
Repo-filename      : /etc/yum.repos.d/CentOS-Stream-BaseOS.repo

Repo-id            : candlepin
Repo-name          : Candlepin: an open source entitlement management system.
Repo-revision      : 1701439619
Repo-updated       : Fri 01 Dec 2023 05:06:59 PM MSK
Repo-pkgs          : 2
Repo-available-pkgs: 2
Repo-size          : 68 M
Repo-baseurl       : https://yum.theforeman.org/candlepin/4.3/el8/x86_64/
Repo-expire        : 172,800 second(s) (last: Mon 11 Dec 2023 09:07:04 AM MSK)
Repo-filename      : /etc/yum.repos.d/katello.repo

Repo-id            : katello
Repo-name          : Katello 4.11
Repo-revision      : 1701970307
Repo-updated       : Thu 07 Dec 2023 08:31:47 PM MSK
Repo-pkgs          : 50
Repo-available-pkgs: 50
Repo-size          : 39 M
Repo-baseurl       : https://yum.theforeman.org/katello/4.11/katello/el8/x86_64/
Repo-expire        : 172,800 second(s) (last: Mon 11 Dec 2023 09:07:04 AM MSK)
Repo-filename      : /etc/yum.repos.d/katello.repo

Repo-id            : powertools
Repo-name          : CentOS Stream 8 - PowerTools
Repo-revision      : 8-stream
Repo-distro-tags      : [cpe:/o:centos-stream:centos-stream:8]:  ,  , 8, C, O, S, S, a, e, e, m, n, r, t, t
Repo-updated       : Mon 27 Nov 2023 06:30:38 PM MSK
Repo-pkgs          : 6,167
Repo-available-pkgs: 5,637
Repo-size          : 44 G
Repo-baseurl       : https://mirror.yandex.ru/centos/8-stream/PowerTools/x86_64/os/
Repo-expire        : 172,800 second(s) (last: Mon 11 Dec 2023 09:06:58 AM MSK)
Repo-filename      : /etc/yum.repos.d/CentOS-Stream-PowerTools.repo

Repo-id            : pulpcore
Repo-name          : pulpcore: Fetch, Upload, Organize, and Distribute Software Packages.
Repo-revision      : 1701807365
Repo-updated       : Tue 05 Dec 2023 11:16:05 PM MSK
Repo-pkgs          : 572
Repo-available-pkgs: 540
Repo-size          : 129 M
Repo-baseurl       : https://yum.theforeman.org/pulpcore/3.39/el8/x86_64/
Repo-expire        : 172,800 second(s) (last: Mon 11 Dec 2023 09:07:05 AM MSK)
Repo-filename      : /etc/yum.repos.d/katello.repo

Repo-id            : puppet7
Repo-name          : Puppet 7 Repository el 8 - x86_64
Repo-revision      : 1701871834
Repo-updated       : Wed 06 Dec 2023 05:15:21 PM MSK
Repo-pkgs          : 168
Repo-available-pkgs: 168
Repo-size          : 8.0 G
Repo-baseurl       : http://yum.puppet.com/puppet7/el/8/x86_64
Repo-expire        : 172,800 second(s) (last: Mon 11 Dec 2023 09:07:07 AM MSK)
Repo-filename      : /etc/yum.repos.d/puppet7-release.repo
Total packages: 53,681



[root@my-foreman ~]# dnf module list
Last metadata expiration check: 1:38:24 ago on Mon 11 Dec 2023
@modulefailsafe
Name                 Stream          Profiles Summary                                                                                                                                             
foreman              el8 [e]         installe Foreman module                                                                                                                                      
                                     r        
pulpcore             el8 [e]                  Pulpcore module                                                                                                                                     

CentOS Stream 8 - AppStream
Name                 Stream          Profiles Summary                                                                                                                                             
389-ds               1.4                      389 Directory Server (base)                                                                                                                         
ant                  1.10 [d][e]     common [ Java build tool                                                                                                                                     
                                     d]       
container-tools      rhel8 [d]       common [ Most recent (rolling) versions of podman, buildah, skopeo, runc, conmon, runc, conmon, CRIU, Udica, etc as well as dependencies such as container-se
                                     d]       linux built and tested together, and updated as frequently as every 12 weeks.
container-tools      1.0             common [ Stable versions of podman 1.0, buildah 1.5, skopeo 0.1, runc, conmon, CRIU, Udica, etc as well as dependencies such as container-selinux built and t
                                     d]       ested together, and supported for 24 months.
container-tools      2.0             common [ Stable versions of podman 1.6, buildah 1.11, skopeo 0.1, runc, conmon, etc as well as dependencies such as container-selinux built and tested togeth
                                     d]       er, and supported as documented on the Application Stream lifecycle page.
container-tools      3.0             common [ Stable versions of podman 3.0, buildah 1.19, skopeo 1.2, runc, conmon, CRIU, Udica, etc as well as dependencies such as container-selinux built and 
                                     d]       tested together, and supported as documented on the Application Stream lifecycle page.
container-tools      4.0             common   Stable versions of podman 4.0, buildah 1.24, skopeo 1.6, runc, conmon, CRIU, Udica, etc as well as dependencies such as container-selinux built and 
                                              tested together, and supported as documented on the Application Stream lifecycle page.
eclipse              rhel8 [d]       java [d] An open, extensible IDE and application platform                                                                                                    
freeradius           3.0 [d]         server [ High-performance and highly configurable free RADIUS server                                                                                         
                                     d]       
gimp                 2.8 [d]         common [ gimp module                                                                                                                                         
                                     d], deve 
                                     l        
go-toolset           rhel8 [d]       common [ Go                                                                                                                                                  
                                     d]       
httpd                2.4 [d][e]      common [ Apache HTTP Server                                                                                                                                  
                                     d], deve 
                                     l, minim 
                                     al       
idm                  DL1             adtrust, The Red Hat Enterprise Linux Identity Management system module                                                                                      
                                      client, 
                                      common  
                                     [d], dns 
                                     , server 
idm                  client [d]      common [ RHEL IdM long term support client module                                                                                                            
                                     d]       
inkscape             0.92.3 [d]      common [ Unsupported. Obsoleted by the inkscape1 package                                                                                                     
                                     d]       
javapackages-runtime 201801 [d][e]   common [ Basic runtime utilities to support Java applications                                                                                                
                                     d]       
jaxb                 4               common   Jakarta XML Binding API and Implementation                                                                                                          
jmc                  rhel8 [d]       common [ Java Mission Control is a profiling and diagnostics tool for the Hotspot JVM                                                                        
                                     d], core 
libselinux-python    2.8             common   Python 2 bindings for libselinux                                                                                                                    
llvm-toolset         rhel8 [d]       common [ LLVM                                                                                                                                                
                                     d]       
log4j                2 [d]           common [ Java logging library                                                                                                                                
                                     d]       
mailman              2.1 [d]         common [ Electronic mail discussion and e-newsletter lists managing software                                                                                 
                                     d]       
mariadb              10.3 [d]        client,  MariaDB Module                                                                                                                                      
                                     galera,  
                                     server [ 
                                     d]       
mariadb              10.5            client,  MariaDB Module                                                                                                                                      
                                     galera,  
                                     server [ 
                                     d]       
maven                3.5 [d][e]      common [ Java project management and project comprehension tool                                                                                              
                                     d]       
maven                3.6             common [ Java project management and project comprehension tool                                                                                              
                                     d]       
maven                3.8             common [ Java project management and project comprehension tool                                                                                              
                                     d]       
mercurial            4.8 [d]         common [ Mercurial -- a distributed SCM                                                                                                                      
                                     d]       
mercurial            6.2             common [ Mercurial -- a distributed SCM                                                                                                                      
                                     d]       
mod_auth_openidc     2.3 [d]         default  Apache module suporting OpenID Connect authentication                                                                                               
                                     [d]      
mysql                8.0 [d]         client,  MySQL Module                                                                                                                                        
                                     server [ 
                                     d]       
nginx                1.14 [d]        common [ nginx webserver                                                                                                                                     
                                     d]       
nginx                1.16            common [ nginx webserver                                                                                                                                     
                                     d]       
nginx                1.18            common [ nginx webserver                                                                                                                                     
                                     d]       
nginx                1.20            common [ nginx webserver                                                                                                                                     
                                     d]       
nginx                1.22            common   nginx webserver                                                                                                                                     
nodejs               10 [d]          common [ Javascript runtime                                                                                                                                  
                                     d], deve 
                                     lopment, 
                                      minimal 
                                     , s2i    
nodejs               12              common [ Javascript runtime                                                                                                                                  
                                     d], deve 
                                     lopment, 
                                      minimal 
                                     , s2i    
nodejs               14              common [ Javascript runtime                                                                                                                                  
                                     d], deve 
                                     lopment, 
                                      minimal 
                                     , s2i    
nodejs               16              common [ Javascript runtime                                                                                                                                  
                                     d], deve 
                                     lopment, 
                                      minimal 
                                     , s2i    
nodejs               18              common,  Javascript runtime                                                                                                                                  
                                     developm 
                                     ent, min 
                                     imal, s2 
                                     i        
nodejs               20              common [ Javascript runtime                                                                                                                                  
                                     d], deve 
                                     lopment, 
                                      minimal 
                                     , s2i    
parfait              0.5             common   Parfait Module                                                                                                                                      
perl                 5.24            common [ Practical Extraction and Report Language                                                                                                            
                                     d], mini 
                                     mal      
perl                 5.26 [d][e]     common [ Practical Extraction and Report Language                                                                                                            
                                     d], mini 
                                     mal      
perl                 5.30            common [ Practical Extraction and Report Language                                                                                                            
                                     d], mini 
                                     mal      
perl                 5.32            common [ Practical Extraction and Report Language                                                                                                            
                                     d], mini 
                                     mal      
perl-App-cpanminus   1.7044 [d]      common [ Get, unpack, build and install CPAN modules                                                                                                         
                                     d]       
perl-DBD-MySQL       4.046 [d]       common [ A MySQL interface for Perl                                                                                                                          
                                     d]       
perl-DBD-Pg          3.7 [d]         common [ A PostgreSQL interface for Perl                                                                                                                     
                                     d]       
perl-DBD-SQLite      1.58 [d]        common [ SQLite DBI driver                                                                                                                                   
                                     d]       
perl-DBI             1.641 [d]       common [ A database access API for Perl                                                                                                                      
                                     d]       
perl-FCGI            0.78 [d]        common [ FastCGI Perl bindings                                                                                                                               
                                     d]       
perl-IO-Socket-SSL   2.066 [d][e]    common [ Perl library for transparent TLS                                                                                                                    
                                     d]       
perl-YAML            1.24 [d]        common [ Perl parser for YAML                                                                                                                                
                                     d]       
perl-libwww-perl     6.34 [d][e]     common [ A Perl interface to the World-Wide Web                                                                                                              
                                     d]       
php                  7.2 [d]         common [ PHP scripting language                                                                                                                              
                                     d], deve 
                                     l, minim 
                                     al       
php                  7.3             common [ PHP scripting language                                                                                                                              
                                     d], deve 
                                     l, minim 
                                     al       
php                  7.4             common [ PHP scripting language                                                                                                                              
                                     d], deve 
                                     l, minim 
                                     al       
php                  8.0             common [ PHP scripting language                                                                                                                              
                                     d], deve 
                                     l, minim 
                                     al       
pki-core             10.6 [e]                 PKI Core module for PKI 10.6 or later                                                                                                               
pki-deps             10.6 [e]                 PKI Dependencies module for PKI 10.6 or later                                                                                                       
pmdk                 1-fileformat-v6          Persistent Memory Development Kit (former NVML)                                                                                                     
pmdk                 1_fileformat_v6          Persistent Memory Development Kit (former NVML)                                                                                                     
postgresql           9.6             client,  PostgreSQL server and client module                                                                                                                 
                                     server [ 
                                     d]       
postgresql           10 [d]          client,  PostgreSQL server and client module                                                                                                                 
                                     server [ 
                                     d]       
postgresql           12 [e]          client,  PostgreSQL server and client module                                                                                                                 
                                     server [ 
                                     d]       
postgresql           13              client,  PostgreSQL server and client module                                                                                                                 
                                     server [ 
                                     d]       
postgresql           15              client,  PostgreSQL server and client module                                                                                                                 
                                     server   
postgresql           16              client,  PostgreSQL server and client module                                                                                                                 
                                     server [ 
                                     d]       
python27             2.7 [d]         common [ Python programming language, version 2.7                                                                                                            
                                     d]       
python36             3.6 [d][e]      build, c Python programming language, version 3.6                                                                                                            
                                     ommon [d 
                                     ]        
python38             3.8 [d]         build, c Python programming language, version 3.8                                                                                                            
                                     ommon [d 
                                     ]        
python39             3.9 [d][e]      build, c Python programming language, version 3.9                                                                                                            
                                     ommon [d 
                                     ]        
redis                5 [d]           common [ Redis persistent key-value database                                                                                                                 
                                     d]       
redis                6 [e]           common [ Redis persistent key-value database                                                                                                                 
                                     d]       
rhn-tools            1.0 [d]         common [ Red Hat Satellite 5 tools for RHEL                                                                                                                  
                                     d]       
ruby                 2.5 [d]         common [ An interpreter of object-oriented scripting language                                                                                                
                                     d]       
ruby                 2.6             common [ An interpreter of object-oriented scripting language                                                                                                
                                     d]       
ruby                 2.7 [e]         common [ An interpreter of object-oriented scripting language                                                                                                
                                     d]       
ruby                 3.0             common [ An interpreter of object-oriented scripting language                                                                                                
                                     d]       
ruby                 3.1             common   An interpreter of object-oriented scripting language                                                                                                
rust-toolset         rhel8 [d]       common [ Rust                                                                                                                                                
                                     d]       
satellite-5-client   1.0 [d]         common [ Red Hat Satellite 5 client packages                                                                                                                 
                                     d], gui  
scala                2.10 [d]        common [ A hybrid functional/object-oriented language for the JVM                                                                                            
                                     d]       
squid                4 [d]           common [ Squid - Optimising Web Delivery                                                                                                                     
                                     d]       
subversion           1.10 [d]        common [ Apache Subversion                                                                                                                                   
                                     d], serv 
                                     er       
subversion           1.14            common [ Apache Subversion                                                                                                                                   
                                     d], serv 
                                     er       
swig                 3.0 [d]         common [ Connects C/C++/Objective C to some high-level programming languages                                                                                 
                                     d], comp 
                                     lete     
swig                 4.0             common [ Connects C/C++/Objective C to some high-level programming languages                                                                                 
                                     d], comp 
                                     lete     
swig                 4.1             common,  Connects C/C++/Objective C to some high-level programming languages                                                                                 
                                     complete 
varnish              6 [d]           common [ Varnish HTTP cache                                                                                                                                  
                                     d]       
virt                 rhel [d][e]     common [ Virtualization module                                                                                                                               
                                     d]       

Katello 4.11
Name                 Stream          Profiles Summary                                                                                                                                             
katello              el8 [e]         installe Katello module                                                                                                                                      
                                     r        

CentOS Stream 8 - PowerTools
Name                 Stream          Profiles Summary                                                                                                                                             
javapackages-tools   201801 [d][e]   common [ Tools and macros for Java packaging support                                                                                                         
                                     d]       
mariadb-devel        10.3                     MariaDB Module                                                                                                                                      
python38-devel       3.8                      Python programming language, version 3.8                                                                                                            
python39-devel       3.9                      Python programming language, version 3.9                                                                                                            
subversion-devel     1.10                     Apache Subversion                                                                                                                                   
virt-devel           rhel                     Virtualization module                                                                                                                               

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled

Okay, interesting.

Your system doesn’t have a definition for the foreman (and foreman-plugins) repo, but above you said you have foreman-release installed.

Can you post the output of rpm -V foreman-release and the contents of the /etc/yum.repos.d/foreman.repo and /etc/yum.repos.d/foreman-plugins.repo files?

Thought I saw work on pretty much this topic here:

There was an error on my part. Repositories were disabled. After the update repositories stopped updating. When I try to reinstall I get these errors:

[root@my-foreman ~]# foreman-installer --scenario katello --foreman-initial-organization “MY” --foreman-initial-location “MY” --certs-server-cert “/root/foreman_certs/my-foreman.cer.pem” --certs-server-key “/root/foreman_certs/my-foreman.key.pem” --certs-server-ca-cert “/root/foreman_certs/MY-CA-bundle.cer.pem” --certs-cname myforeman.loc
2023-12-11 22:05:54 [NOTICE] [root] Loading installer configuration. This will take some time.
2023-12-11 22:05:57 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2023-12-11 22:05:57 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2023-12-11 22:06:00 [NOTICE] [configure] Starting system configuration.
2023-12-11 22:06:08 [NOTICE] [configure] 250 configuration steps out of 1417 steps complete.
2023-12-11 22:06:10 [NOTICE] [configure] 500 configuration steps out of 1419 steps complete.
2023-12-11 22:06:14 [ERROR ] [configure] Execution of ‘/bin/dnf -d 0 -e 1 -y install pulpcore-plugin(rpm)’ returned 1: Error:
2023-12-11 22:06:14 [ERROR ] [configure] Problem: 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
2023-12-11 22:06:14 [ERROR ] [configure] - package python3.11-createrepo_c-1.0.2-4.el8.x86_64 from pulpcore requires createrepo_c-libs = 1.0.2-4.el8, but none of the providers can be installed
2023-12-11 22:06:14 [ERROR ] [configure] - 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
2023-12-11 22:06:14 [ERROR ] [configure] - cannot install the best candidate for the job
2023-12-11 22:06:14 [ERROR ] [configure] - package createrepo_c-libs-1.0.2-4.el8.x86_64 from pulpcore is filtered out by modular filtering
2023-12-11 22:06:14 [ERROR ] [configure] - package createrepo_c-libs-1.0.2-5.el8.x86_64 from pulpcore is filtered out by modular filtering
2023-12-11 22:06:14 [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:
2023-12-11 22:06:14 [ERROR ] [configure] Problem: 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
2023-12-11 22:06:14 [ERROR ] [configure] - package python3.11-createrepo_c-1.0.2-4.el8.x86_64 from pulpcore requires createrepo_c-libs = 1.0.2-4.el8, but none of the providers can be installed
2023-12-11 22:06:14 [ERROR ] [configure] - 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
2023-12-11 22:06:14 [ERROR ] [configure] - cannot install the best candidate for the job
2023-12-11 22:06:14 [ERROR ] [configure] - package createrepo_c-libs-1.0.2-4.el8.x86_64 from pulpcore is filtered out by modular filtering
2023-12-11 22:06:14 [ERROR ] [configure] - package createrepo_c-libs-1.0.2-5.el8.x86_64 from pulpcore is filtered out by modular filtering
2023-12-11 22:06:16 [ERROR ] [configure] Execution of ‘/bin/dnf -d 0 -e 1 -y install pulpcore-plugin(ansible)’ returned 1: Error:
2023-12-11 22:06:16 [ERROR ] [configure] Problem: 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
2023-12-11 22:06:16 [ERROR ] [configure] - package python3.11-galaxy-importer-0.4.6-2.el8.noarch from pulpcore requires ansible-lint >= 5.0.8, but none of the providers can be installed
2023-12-11 22:06:16 [ERROR ] [configure] - package python3.11-galaxy-importer-0.4.6-2.el8.noarch from pulpcore requires ansible-lint < 7.0, but none of the providers can be installed
2023-12-11 22:06:16 [ERROR ] [configure] - 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
2023-12-11 22:06:16 [ERROR ] [configure] - 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
2023-12-11 22:06:16 [ERROR ] [configure] - cannot install the best candidate for the job
2023-12-11 22:06:16 [ERROR ] [configure] - package ansible-lint-5.4.0-1.el8.noarch from pulpcore is filtered out by modular filtering
2023-12-11 22:06:16 [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:
2023-12-11 22:06:16 [ERROR ] [configure] Problem: 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
2023-12-11 22:06:16 [ERROR ] [configure] - package python3.11-galaxy-importer-0.4.6-2.el8.noarch from pulpcore requires ansible-lint >= 5.0.8, but none of the providers can be installed
2023-12-11 22:06:16 [ERROR ] [configure] - package python3.11-galaxy-importer-0.4.6-2.el8.noarch from pulpcore requires ansible-lint < 7.0, but none of the providers can be installed
2023-12-11 22:06:16 [ERROR ] [configure] - 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
2023-12-11 22:06:16 [ERROR ] [configure] - 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
2023-12-11 22:06:16 [ERROR ] [configure] - cannot install the best candidate for the job
2023-12-11 22:06:16 [ERROR ] [configure] - package ansible-lint-5.4.0-1.el8.noarch from pulpcore is filtered out by modular filtering
2023-12-11 22:06:16 [NOTICE] [configure] 750 configuration steps out of 1423 steps complete.
2023-12-11 22:06:17 [NOTICE] [configure] 1000 configuration steps out of 1428 steps complete.
2023-12-11 22:06:33 [NOTICE] [configure] 1250 configuration steps out of 1428 steps complete.
2023-12-11 22:06:36 [NOTICE] [configure] System configuration has finished.

Error 1: Puppet Package resource ‘pulpcore-plugin(rpm)’ failed. Logs:
/Package[pulpcore-plugin(rpm)]
Starting to evaluate the resource (713 of 1422)
Evaluated in 2.35 seconds
Packagepulpcore-plugin(rpm)
Ensuring => present
/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:
Problem: 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-4.el8.x86_64 from pulpcore requires createrepo_c-libs = 1.0.2-4.el8, 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 candidate for the job
  • package createrepo_c-libs-1.0.2-4.el8.x86_64 from pulpcore is filtered out by modular filtering
  • package createrepo_c-libs-1.0.2-5.el8.x86_64 from pulpcore is filtered out by modular filtering
    Error 2: Puppet Package resource ‘pulpcore-plugin(ansible)’ failed. Logs:
    /Package[pulpcore-plugin(ansible)]
    Starting to evaluate the resource (718 of 1422)
    Evaluated in 2.22 seconds
    Packagepulpcore-plugin(ansible)
    Ensuring => present
    /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:
    Problem: 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
  • package python3.11-galaxy-importer-0.4.6-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.6-2.el8.noarch from pulpcore requires ansible-lint < 7.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
  • cannot install the best candidate for the job
  • package ansible-lint-5.4.0-1.el8.noarch from pulpcore is filtered out by modular filtering

2 errors were detected.
Please address the errors and re-run the installer to ensure the system is properly configured.
Failing to do so is likely to result in broken functionality.

The full log is at /var/log/foreman-installer/katello.log

Hi @MisterX,

You need to disable the pulpcore module before upgrading to 3.9. That should fix your package dependency issues.

I was planning on mentioning that in the RC release announcement, however the Foreman RC hasn’t been announced yet so Katello needs to wait as well.

Hmm unfortunately it didn’t help here :thinking: (this is my prod Rocky machine btw):

# dnf module disable pulpcore
Updating Subscription Management repositories.
Last metadata expiration check: 0:01:00 ago on Mon 11 Dec 2023 11:16:37 PM CET.
Dependencies resolved.
=========================================================================================================================================
 Package                         Architecture                   Version                            Repository                       Size
=========================================================================================================================================
Disabling modules:
 pulpcore                                                                                                                               

Transaction Summary
=========================================================================================================================================

Is this ok [y/N]: y
Last metadata expiration check: 0:01:03 ago on Mon 11 Dec 2023 11:16:37 PM CET.
Uploading Tracer Profile
Complete!
# dnf update
Updating Subscription Management repositories.
Rocky Linux 8 - AppStream                                                                                                                                                                                                                                                                      10 MB/s | 9.5 MB     00:00    
Rocky Linux 8 - BaseOS                                                                                                                                                                                                                                                                        4.7 MB/s | 3.9 MB     00:00    
Rocky Linux 8 - Extras                                                                                                                                                                                                                                                                         14 kB/s |  14 kB     00:01    
Rocky Linux 8 - Plus                                                                                                                                                                                                                                                                          520  B/s | 257  B     00:00    
Rocky Linux 8 - PowerTools                                                                                                                                                                                                                                                                    2.0 MB/s | 2.5 MB     00:01    
Foreman 3.9                                                                                                                                                                                                                                                                                   2.4 MB/s | 1.5 MB     00:00    
Foreman plugins 3.9                                                                                                                                                                                                                                                                           3.5 MB/s | 1.8 MB     00:00    
Katello 4.11                                                                                                                                                                                                                                                                                  446 kB/s | 211 kB     00:00    
Candlepin: an open source entitlement management system.                                                                                                                                                                                                                                       40 kB/s |  16 kB     00:00    
pulpcore: Fetch, Upload, Organize, and Distribute Software Packages.                                                                                                                                                                                                                          2.0 MB/s | 458 kB     00:00    
Puppet 7 Repository el 8 - x86_64                                                                                                                                                                                                                                                              11 MB/s |  18 MB     00:01    
Error: 
 Problem 1: cannot install both python3.11-idna-3.3-4.el8.noarch from pulpcore and python3.11-idna-3.4-1.el8.noarch from @System
  - cannot install the best update candidate for package python39-idna-3.3-2.el8.noarch
  - cannot install the best update candidate for package python3.11-idna-3.4-1.el8.noarch
 Problem 2: package python39-ansible-runner-2.2.1-3.el8.noarch from @System requires python39-pyyaml, but none of the providers can be installed
  - package pulpcore-obsolete-packages-1.0-4.el8.noarch from pulpcore obsoletes python39-pyyaml < 5.4.1-5 provided by python39-pyyaml-5.4.1-4.el8.x86_64 from @System
  - package pulpcore-obsolete-packages-1.0-4.el8.noarch from pulpcore obsoletes python39-pyyaml < 5.4.1-5 provided by python39-pyyaml-5.4.1-1.module+el8.9.0+1581+c29ce980.x86_64 from appstream
  - cannot install the best update candidate for package python39-ansible-runner-2.2.1-3.el8.noarch
  - cannot install the best update candidate for package pulpcore-obsolete-packages-1.0-2.el8.noarch
 Problem 3: package python39-daemon-2.3.1-1.el8.noarch from @System requires python39-docutils, but none of the providers can be installed
  - package python3.11-docutils-0.20.1-3.el8.noarch from pulpcore obsoletes python39-docutils < 0.20.1-3.el8 provided by python39-docutils-0.20.1-1.el8.noarch from @System
  - package python3.11-docutils-0.20.1-3.el8.noarch from pulpcore obsoletes python39-docutils < 0.20.1-3.el8 provided by python39-docutils-0.19-1.el8.noarch from foreman-plugins
  - cannot install the best update candidate for package python39-docutils-0.20.1-1.el8.noarch
  - cannot install the best update candidate for package python39-daemon-2.3.1-1.el8.noarch
 Problem 4: package ansible-runner-2.2.1-3.el8.noarch from @System requires python39-ansible-runner = 2.2.1-3.el8, but none of the providers can be installed
  - package python39-ansible-runner-2.2.1-3.el8.noarch from @System requires python39-six, but none of the providers can be installed
  - package python39-ansible-runner-2.2.1-3.el8.noarch from foreman-plugins requires python39-six, but none of the providers can be installed
  - package python3.11-six-1.16.0-4.el8.noarch from pulpcore obsoletes python39-six < 1.16.0-4.el8 provided by python39-six-1.16.0-2.el8.noarch from @System
  - package python3.11-six-1.16.0-4.el8.noarch from pulpcore obsoletes python39-six < 1.16.0-4.el8 provided by python39-six-1.15.0-3.module+el8.9.0+1581+c29ce980.noarch from appstream
  - cannot install the best update candidate for package python3.11-six-1.16.0-1.el8.noarch
  - cannot install the best update candidate for package ansible-runner-2.2.1-3.el8.noarch
 Problem 5: problem with installed package python39-daemon-2.3.1-1.el8.noarch
  - package python39-daemon-2.3.1-1.el8.noarch from @System requires python39-lockfile >= 0.10, but none of the providers can be installed
  - package python39-daemon-2.3.1-1.el8.noarch from foreman-plugins requires python39-lockfile >= 0.10, but none of the providers can be installed
  - package python3.11-lockfile-0.12.2-3.el8.noarch from pulpcore obsoletes python39-lockfile < 0.12.2-3.el8 provided by python39-lockfile-0.12.2-1.el8.noarch from @System
  - package python3.11-lockfile-0.12.2-3.el8.noarch from pulpcore obsoletes python39-lockfile < 0.12.2-3.el8 provided by python39-lockfile-0.12.2-1.el8.noarch from foreman-plugins
  - cannot install the best update candidate for package python39-lockfile-0.12.2-1.el8.noarch
 Problem 6: problem with installed package python39-ansible-runner-2.2.1-3.el8.noarch
  - package python39-ansible-runner-2.2.1-3.el8.noarch from @System requires python39-packaging, but none of the providers can be installed
  - package python39-ansible-runner-2.2.1-3.el8.noarch from foreman-plugins requires python39-packaging, but none of the providers can be installed
  - package python3.11-packaging-21.3-4.el8.noarch from pulpcore obsoletes python39-packaging < 21.3-4.el8 provided by python39-packaging-21.3-1.el8.noarch from @System
  - package python3.11-packaging-21.3-4.el8.noarch from pulpcore obsoletes python39-packaging < 21.3-4.el8 provided by python39-packaging-21.3-1.el8.noarch from foreman-plugins
  - cannot install the best update candidate for package python39-packaging-21.3-1.el8.noarch
  - package python39-packaging-20.4-4.module+el8.9.0+1581+c29ce980.noarch from powertools is filtered out by modular filtering
 Problem 7: package rubygem-smart_proxy_ansible-3.5.5-1.fm3_9.el8.noarch from foreman-plugins requires ansible-runner >= 2, but none of the providers can be installed
  - package ansible-runner-2.2.1-3.el8.noarch from @System requires python39-ansible-runner = 2.2.1-3.el8, but none of the providers can be installed
  - package ansible-runner-2.2.1-3.el8.noarch from foreman-plugins requires python39-ansible-runner = 2.2.1-3.el8, but none of the providers can be installed
  - package python39-ansible-runner-2.2.1-3.el8.noarch from @System requires python3.9dist(pexpect) >= 4.6, but none of the providers can be installed
  - package python39-ansible-runner-2.2.1-3.el8.noarch from foreman-plugins requires python3.9dist(pexpect) >= 4.6, but none of the providers can be installed
  - package python3.11-pexpect-4.8.0-4.el8.noarch from pulpcore obsoletes python39-pexpect < 4.8.0-4.el8 provided by python39-pexpect-4.8.0-2.el8.noarch from @System
  - package python3.11-pexpect-4.8.0-4.el8.noarch from pulpcore obsoletes python39-pexpect < 4.8.0-4.el8 provided by python39-pexpect-4.8.0-2.el8.noarch from foreman-plugins
  - cannot install the best update candidate for package rubygem-smart_proxy_ansible-3.5.5-1.fm3_7.el8.noarch
  - cannot install the best update candidate for package python39-pexpect-4.8.0-2.el8.noarch
 Problem 8: problem with installed package ansible-runner-2.2.1-3.el8.noarch
  - package ansible-runner-2.2.1-3.el8.noarch from @System requires python39-ansible-runner = 2.2.1-3.el8, but none of the providers can be installed
  - package ansible-runner-2.2.1-3.el8.noarch from foreman-plugins requires python39-ansible-runner = 2.2.1-3.el8, but none of the providers can be installed
  - package python39-ansible-runner-2.2.1-3.el8.noarch from @System requires python39-six, but none of the providers can be installed
  - package python39-ansible-runner-2.2.1-3.el8.noarch from foreman-plugins requires python39-six, but none of the providers can be installed
  - package python3.11-six-1.16.0-4.el8.noarch from pulpcore obsoletes python39-six < 1.16.0-4.el8 provided by python39-six-1.16.0-2.el8.noarch from @System
  - package python3.11-six-1.16.0-4.el8.noarch from pulpcore obsoletes python39-six < 1.16.0-4.el8 provided by python39-six-1.15.0-3.module+el8.9.0+1581+c29ce980.noarch from appstream
  - cannot install the best update candidate for package python39-six-1.16.0-2.el8.noarch
 Problem 9: problem with installed package rubygem-smart_proxy_ansible-3.5.5-1.fm3_7.el8.noarch
  - package rubygem-smart_proxy_ansible-3.5.5-1.fm3_7.el8.noarch from @System requires ansible-runner >= 2, but none of the providers can be installed
  - package rubygem-smart_proxy_ansible-3.5.5-1.fm3_9.el8.noarch from foreman-plugins requires ansible-runner >= 2, but none of the providers can be installed
  - package ansible-runner-2.2.1-3.el8.noarch from @System requires python39-ansible-runner = 2.2.1-3.el8, but none of the providers can be installed
  - package ansible-runner-2.2.1-3.el8.noarch from foreman-plugins requires python39-ansible-runner = 2.2.1-3.el8, but none of the providers can be installed
  - package python39-ansible-runner-2.2.1-3.el8.noarch from @System requires python3.9dist(pexpect) >= 4.6, but none of the providers can be installed
  - package python39-ansible-runner-2.2.1-3.el8.noarch from foreman-plugins requires python3.9dist(pexpect) >= 4.6, but none of the providers can be installed
  - package python39-pexpect-4.8.0-2.el8.noarch from @System requires python39-ptyprocess, but none of the providers can be installed
  - package python39-pexpect-4.8.0-2.el8.noarch from foreman-plugins requires python39-ptyprocess, but none of the providers can be installed
  - package python3.11-ptyprocess-0.7.0-3.el8.noarch from pulpcore obsoletes python39-ptyprocess < 0.7.0-3.el8 provided by python39-ptyprocess-0.7.0-1.el8.noarch from @System
  - package python3.11-ptyprocess-0.7.0-3.el8.noarch from pulpcore obsoletes python39-ptyprocess < 0.7.0-3.el8 provided by python39-ptyprocess-0.7.0-1.el8.noarch from foreman-plugins
  - cannot install the best update candidate for package python39-ptyprocess-0.7.0-1.el8.noarch
(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)
# dnf module list --enabled
Updating Subscription Management repositories.
Last metadata expiration check: 0:00:32 ago on Mon 11 Dec 2023 11:20:16 PM CET.
Rocky Linux 8 - AppStream
Name                                                                 Stream                                                        Profiles                                                                              Summary                                                                                              
ant                                                                  1.10 [d][e]                                                   common [d]                                                                            Java build tool                                                                                      
httpd                                                                2.4 [d][e]                                                    common [d], devel, minimal                                                            Apache HTTP Server                                                                                   
javapackages-runtime                                                 201801 [d][e]                                                 common [d]                                                                            Basic runtime utilities to support Java applications                                                 
maven                                                                3.5 [d][e]                                                    common [d]                                                                            Java project management and project comprehension tool                                               
nodejs                                                               10 [d][e]                                                     common [d], development, minimal, s2i                                                 Javascript runtime                                                                                   
perl                                                                 5.26 [d][e]                                                   common [d], minimal                                                                   Practical Extraction and Report Language                                                             
perl-IO-Socket-SSL                                                   2.066 [d][e]                                                  common [d]                                                                            Perl library for transparent TLS                                                                     
perl-libwww-perl                                                     6.34 [d][e]                                                   common [d]                                                                            A Perl interface to the World-Wide Web                                                               
pki-core                                                             10.6 [e]                                                                                                                                            PKI Core module for PKI 10.6 or later                                                                
pki-deps                                                             10.6 [e]                                                                                                                                            PKI Dependencies module for PKI 10.6 or later                                                        
postgresql                                                           12 [e]                                                        client, server [d]                                                                    PostgreSQL server and client module                                                                  
python36                                                             3.6 [d][e]                                                    build, common [d]                                                                     Python programming language, version 3.6                                                             
python38                                                             3.8 [d][e]                                                    build, common [d]                                                                     Python programming language, version 3.8                                                             
python39                                                             3.9 [d][e]                                                    build, common [d]                                                                     Python programming language, version 3.9                                                             
redis                                                                6 [e]                                                         common [d]                                                                            Redis persistent key-value database                                                                  
ruby                                                                 2.7 [e]                                                       common [d]                                                                            An interpreter of object-oriented scripting language                                                 
virt                                                                 rhel [d][e]                                                   common [d]                                                                            Virtualization module                                                                                

Foreman 3.9
Name                                                                 Stream                                                        Profiles                                                                              Summary                                                                                              
foreman                                                              el8 [e]                                                       installer                                                                             Foreman module                                                                                       

Katello 4.11
Name                                                                 Stream                                                        Profiles                                                                              Summary                                                                                              
katello                                                              el8 [e]                                                       installer                                                                             Katello module                                                                                       

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled

Why are you trying to use an RC in prod? :wink:

But more to your problem: yes, this is a known problem with systems that have the Ansible integration installed. We’re working to fix it before the GA release.

It’s my homelab and I have snapshots, so basically doing a snapshot → upgrade → restore here :slight_smile:
So no Company Prod system, just a Homelab Prod (beside the normally not running Dev and Forklift instances :sweat_smile:)
And hey real world scenarios :eyes: (I know I like to live dangerous)

Okay then I will skip that system for now ^^
Thank you for the hint!

3 Likes

Looks like it’s good now, no dependency conflicts anymore :slight_smile:

1 Like