Can't update software packages through Katello for EL 8 clients

Problem:
I can’t update software packages through Katello for EL8 clients (e.g. Rocky Linux 8), but when I update them from shell using yum update it works without errors.
Error from Katello job:

Updating Subscription Management repositories.
Rocky Linux 8 - OS (x86_64)                      87 kB/s | 2.3 kB     00:00    
Rocky Linux 8 - Extras (x86_64)                 123 kB/s | 2.0 kB     00:00    
epel8                                           139 kB/s | 2.3 kB     00:00    
Rocky Linux 8 - AppStream (x86_64)              159 kB/s | 2.6 kB     00:00    
foreman-client-el8                              143 kB/s | 2.3 kB     00:00    
Error: 
 Problem: expat-2.2.5-10.el8.i686 has inferior architecture
  - cannot install both expat-2.2.5-10.el8_7.1.x86_64 and expat-2.2.5-10.el8.x86_64
  - cannot install the best update candidate for package expat-2.2.5-10.el8.i686
  - cannot install the best update candidate for package expat-2.2.5-10.el8.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Package action failed, exiting...
Exit status: 1
StandardError: Job execution failed

Running yum update on client:

# yum update expat
Updating Subscription Management repositories.
Rocky Linux 8 - OS (x86_64)                                                                                                                                                                          131 kB/s | 2.3 kB     00:00    
Rocky Linux 8 - Extras (x86_64)                                                                                                                                                                       82 kB/s | 2.0 kB     00:00    
epel8                                                                                                                                                                                                131 kB/s | 2.3 kB     00:00    
Rocky Linux 8 - AppStream (x86_64)                                                                                                                                                                   133 kB/s | 2.6 kB     00:00    
foreman-client-el8                                                                                                                                                                                   117 kB/s | 2.3 kB     00:00    
Dependencies resolved.
=====================================================================================================================================================================================================================================
 Package                                     Architecture                                 Version                                                 Repository                                                                    Size
=====================================================================================================================================================================================================================================
Upgrading:
 expat                                       i686                                         2.2.5-10.el8_7.1                                        MyOrg_rocky8_rocky8-os                                       112 k
 expat                                       x86_64                                       2.2.5-10.el8_7.1                                        MyOrg_rocky8_rocky8-os                                       112 k

Transaction Summary
=====================================================================================================================================================================================================================================
Upgrade  2 Packages

Total download size: 225 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): expat-2.2.5-10.el8_7.1.x86_64.rpm                                                                                                                                                             2.8 MB/s | 112 kB     00:00    
(2/2): expat-2.2.5-10.el8_7.1.i686.rpm                                                                                                                                                               2.5 MB/s | 112 kB     00:00    
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                4.9 MB/s | 225 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                             1/1 
  Upgrading        : expat-2.2.5-10.el8_7.1.x86_64                                                                                                                                                                               1/4 
  Upgrading        : expat-2.2.5-10.el8_7.1.i686                                                                                                                                                                                 2/4 
  Cleanup          : expat-2.2.5-10.el8.i686                                                                                                                                                                                     3/4 
  Cleanup          : expat-2.2.5-10.el8.x86_64                                                                                                                                                                                   4/4 
  Running scriptlet: expat-2.2.5-10.el8.x86_64                                                                                                                                                                                   4/4 
  Verifying        : expat-2.2.5-10.el8_7.1.i686                                                                                                                                                                                 1/4 
  Verifying        : expat-2.2.5-10.el8.i686                                                                                                                                                                                     2/4 
  Verifying        : expat-2.2.5-10.el8_7.1.x86_64                                                                                                                                                                               3/4 
  Verifying        : expat-2.2.5-10.el8.x86_64                                                                                                                                                                                   4/4 
Installed products updated.
Uploading Tracer Profile

Upgraded:
  expat-2.2.5-10.el8_7.1.i686                                                                                      expat-2.2.5-10.el8_7.1.x86_64                                                                                     

Complete!

Expected outcome:
Software packages should be updated from Katello without any errors.

Foreman and Proxy versions:
3.5.1

Foreman and Proxy plugin versions:
Katello 4.7.1.

Distribution and version:
Rock Linux 8.7

Other relevant data:
The client is a Rock Linux 8 system.
“Content” - “Product” - “Rocky Linux 8” (Repositories):

“Content” - “Products” - “EPEL 8” (Repository):

“Content” - “Products” - “Foreman Client” (Repository):

“Content” - “Content Views” - “rocky8-epel” (Repositories):

  • rocky8-os
  • rocky8-appstream
  • rocky8-extras
  • epel8
  • foreman-client-el8

Rocky Linux 8 clients are configured to use the Content View “rocky8-epel”.

Lifecycle Environments, filters are not used.

Remove the i686 package:
dnf -y remove expat-2.2.5-10.el8.i686

Unfortunately, it’s many hosts and many software packages:
Example:

Error: 
Problem 1: libblkid-2.32.1-38.el8.i686 has inferior architecture
 - cannot install both libblkid-2.32.1-39.el8_7.x86_64 and libblkid-2.32.1-38.el8.x86_64
 - cannot install the best update candidate for package libblkid-2.32.1-38.el8.i686
 - cannot install the best update candidate for package libblkid-2.32.1-38.el8.x86_64
Problem 2: libcurl-7.61.1-25.el8.i686 has inferior architecture
 - cannot install both libcurl-7.61.1-25.el8_7.1.x86_64 and libcurl-7.61.1-25.el8.x86_64
 - cannot install the best update candidate for package libcurl-7.61.1-25.el8.i686
 - cannot install the best update candidate for package libcurl-7.61.1-25.el8.x86_64
Problem 3: libgcc-8.5.0-15.el8.i686 has inferior architecture
 - cannot install both libgcc-8.5.0-16.el8_7.x86_64 and libgcc-8.5.0-15.el8.x86_64
 - cannot install the best update candidate for package libgcc-8.5.0-15.el8.i686
 - cannot install the best update candidate for package libgcc-8.5.0-15.el8.x86_64
Problem 4: libmount-2.32.1-38.el8.i686 has inferior architecture
 - cannot install both libmount-2.32.1-39.el8_7.x86_64 and libmount-2.32.1-38.el8.x86_64
 - cannot install the best update candidate for package libmount-2.32.1-38.el8.i686
 - cannot install the best update candidate for package libmount-2.32.1-38.el8.x86_64
Problem 5: libsmartcols-2.32.1-38.el8.i686 has inferior architecture
 - cannot install both libsmartcols-2.32.1-39.el8_7.x86_64 and libsmartcols-2.32.1-38.el8.x86_64
 - cannot install the best update candidate for package libsmartcols-2.32.1-38.el8.i686
 - cannot install the best update candidate for package libsmartcols-2.32.1-38.el8.x86_64
Problem 6: libstdc++-8.5.0-15.el8.i686 has inferior architecture
 - cannot install both libstdc++-8.5.0-16.el8_7.x86_64 and libstdc++-8.5.0-15.el8.x86_64
 - cannot install the best update candidate for package libstdc++-8.5.0-15.el8.i686
 - cannot install the best update candidate for package libstdc++-8.5.0-15.el8.x86_64
Problem 7: libuuid-2.32.1-38.el8.i686 has inferior architecture
 - cannot install both libuuid-2.32.1-39.el8_7.x86_64 and libuuid-2.32.1-38.el8.x86_64
 - cannot install the best update candidate for package libuuid-2.32.1-38.el8.i686
 - cannot install the best update candidate for package libuuid-2.32.1-38.el8.x86_64
Problem 8: libxml2-2.9.7-15.el8.i686 has inferior architecture
 - cannot install both libxml2-2.9.7-15.el8_7.1.x86_64 and libxml2-2.9.7-15.el8.x86_64
 - cannot install the best update candidate for package libxml2-2.9.7-15.el8.i686
 - cannot install the best update candidate for package libxml2-2.9.7-15.el8.x86_64
Problem 9: sqlite-libs-3.26.0-16.el8_6.i686 has inferior architecture
 - cannot install both sqlite-libs-3.26.0-17.el8_7.x86_64 and sqlite-libs-3.26.0-16.el8_6.x86_64
 - cannot install the best update candidate for package sqlite-libs-3.26.0-16.el8_6.i686
 - cannot install the best update candidate for package sqlite-libs-3.26.0-16.el8_6.x86_64
Problem 10: systemd-239-68.el8.i686 has inferior architecture
 - cannot install both systemd-239-68.el8_7.2.x86_64 and systemd-239-68.el8.x86_64
 - cannot install the best update candidate for package systemd-239-68.el8.i686
 - cannot install the best update candidate for package systemd-239-68.el8.x86_64
Problem 11: systemd-libs-239-68.el8.i686 has inferior architecture
 - cannot install both systemd-libs-239-68.el8_7.2.x86_64 and systemd-libs-239-68.el8.x86_64
 - cannot install the best update candidate for package systemd-libs-239-68.el8.i686
 - cannot install the best update candidate for package systemd-libs-239-68.el8.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Package action failed, exiting...
Exit status: 1

Why does it work correctly, when using yum update but failing when updating through Katello?

These are the software packages in Katello, all of which fail to update.

I’m confused. Why do you have both 32bit and 64bit packages installed? Why does yum update expat not complain? Is it because the job is doing just yum update and you are running yum update <packagename> ? Doesn’t explain how both are installed. Either way, if you don’t need the 32bit packages simply uninstall them.

To find all the 32bit packages: rpm -qa --qf "%{n}-%{v}-%{r}.%{arch}\n" | grep "i386$" then pass the list to yum erase. Alternative, rpm can be used to uninstall the packages ignoring dependencies. This could break your system, so take backup if possible.

Thanks for you answer.
As far as I know, Katello should have the capability to deal with both 32bit and 64bit versions of packages, in a way that it is able to upgrade them independently. Correct?
In other words, if this capability doesn’t work - could it be a bug in Katello?

I didn’t willingly install any 32bit packages on systems. Systems were installed from DVD ISO image as “Minimal” and then required software was added.

How can I know if packages such as “libstdc++” is needed by any software component or not? Don’t I risk to break something by removing it?

Thanks

No, I don’t think so. It works either way when using yum directly on the system.

As pointed out before: Katello doesn’t handle anything here. You run an update command through remote execution, i.e. it simply runs yum update with whatever argument you pass or none at all.

You don’t mention which update you have initiated exactly before, but the same command locally should give the same output.

As suggested, run yum update on the client to see if it can update without issues.

yum update runs without any errors:

# yum update
Updating Subscription Management repositories.
Rocky Linux 8 - OS (x86_64)                                                                                                                                                                          136 kB/s | 2.3 kB     00:00    
epel8                                                                                                                                                                                                139 kB/s | 2.3 kB     00:00    
Rocky Linux 8 - AppStream (x86_64)                                                                                                                                                                   154 kB/s | 2.6 kB     00:00    
foreman-client-el8                                                                                                                                                                                   139 kB/s | 2.3 kB     00:00    
Rocky Linux 8 - Extras (x86_64)                                                                                                                                                                      131 kB/s | 2.0 kB     00:00    
Dependencies resolved.
=====================================================================================================================================================================================================================================
 Package                                         Architecture                               Version                                                 Repository                                                                  Size
=====================================================================================================================================================================================================================================
Upgrading:
 expat                                           i686                                       2.2.5-10.el8_7.1                                        MyOrg_rocky8_rocky8-os                                     112 k
 expat                                           x86_64                                     2.2.5-10.el8_7.1                                        MyOrg_rocky8_rocky8-os                                     112 k
 libgcc                                          i686                                       8.5.0-16.el8_7                                          MyOrg_rocky8_rocky8-os                                      87 k
 libgcc                                          x86_64                                     8.5.0-16.el8_7                                          MyOrg_rocky8_rocky8-os                                      80 k
 libstdc++                                       i686                                       8.5.0-16.el8_7                                          MyOrg_rocky8_rocky8-os                                     490 k
 libstdc++                                       x86_64                                     8.5.0-16.el8_7                                          MyOrg_rocky8_rocky8-os                                     453 k
 libtasn1                                        i686                                       4.13-4.el8_7                                            MyOrg_rocky8_rocky8-os                                      78 k
 libtasn1                                        x86_64                                     4.13-4.el8_7                                            MyOrg_rocky8_rocky8-os                                      75 k
 sqlite                                          x86_64                                     3.26.0-17.el8_7                                         MyOrg_rocky8_rocky8-os                                     667 k
 sqlite-libs                                     i686                                       3.26.0-17.el8_7                                         MyOrg_rocky8_rocky8-os                                     620 k
 sqlite-libs                                     x86_64                                     3.26.0-17.el8_7                                         MyOrg_rocky8_rocky8-os                                     580 k
 zlib                                            i686                                       1.2.11-21.el8_7                                         MyOrg_rocky8_rocky8-os                                     104 k
 zlib                                            x86_64                                     1.2.11-21.el8_7                                         MyOrg_rocky8_rocky8-os                                     102 k

Transaction Summary
=====================================================================================================================================================================================================================================
Upgrade  13 Packages

Total download size: 3.5 M
Is this ok [y/N]: y
Downloading Packages:
(1/13): expat-2.2.5-10.el8_7.1.x86_64.rpm                                                                                                                                                            3.6 MB/s | 112 kB     00:00    
(2/13): libgcc-8.5.0-16.el8_7.x86_64.rpm                                                                                                                                                             2.1 MB/s |  80 kB     00:00    
(3/13): expat-2.2.5-10.el8_7.1.i686.rpm                                                                                                                                                              2.6 MB/s | 112 kB     00:00    
(4/13): libgcc-8.5.0-16.el8_7.i686.rpm                                                                                                                                                               5.0 MB/s |  87 kB     00:00    
(5/13): libstdc++-8.5.0-16.el8_7.i686.rpm                                                                                                                                                             21 MB/s | 490 kB     00:00    
(6/13): libtasn1-4.13-4.el8_7.i686.rpm                                                                                                                                                               4.2 MB/s |  78 kB     00:00    
(7/13): libstdc++-8.5.0-16.el8_7.x86_64.rpm                                                                                                                                                           12 MB/s | 453 kB     00:00    
(8/13): libtasn1-4.13-4.el8_7.x86_64.rpm                                                                                                                                                             3.4 MB/s |  75 kB     00:00    
(9/13): sqlite-3.26.0-17.el8_7.x86_64.rpm                                                                                                                                                             25 MB/s | 667 kB     00:00    
(10/13): sqlite-libs-3.26.0-17.el8_7.x86_64.rpm                                                                                                                                                       26 MB/s | 580 kB     00:00    
(11/13): sqlite-libs-3.26.0-17.el8_7.i686.rpm                                                                                                                                                         17 MB/s | 620 kB     00:00    
(12/13): zlib-1.2.11-21.el8_7.x86_64.rpm                                                                                                                                                             4.1 MB/s | 102 kB     00:00    
(13/13): zlib-1.2.11-21.el8_7.i686.rpm                                                                                                                                                               5.8 MB/s | 104 kB     00:00    
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                 28 MB/s | 3.5 MB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                             1/1 
  Upgrading        : zlib-1.2.11-21.el8_7.x86_64                                                                                                                                                                                1/26 
  Upgrading        : sqlite-libs-3.26.0-17.el8_7.x86_64                                                                                                                                                                         2/26 
  Upgrading        : libgcc-8.5.0-16.el8_7.x86_64                                                                                                                                                                               3/26 
  Running scriptlet: libgcc-8.5.0-16.el8_7.x86_64                                                                                                                                                                               3/26 
  Upgrading        : libstdc++-8.5.0-16.el8_7.x86_64                                                                                                                                                                            4/26 
  Running scriptlet: libstdc++-8.5.0-16.el8_7.x86_64                                                                                                                                                                            4/26 
  Upgrading        : sqlite-3.26.0-17.el8_7.x86_64                                                                                                                                                                              5/26 
  Upgrading        : libtasn1-4.13-4.el8_7.x86_64                                                                                                                                                                               6/26 
  Running scriptlet: libtasn1-4.13-4.el8_7.x86_64                                                                                                                                                                               6/26 
  Upgrading        : expat-2.2.5-10.el8_7.1.x86_64                                                                                                                                                                              7/26 
  Upgrading        : zlib-1.2.11-21.el8_7.i686                                                                                                                                                                                  8/26 
  Upgrading        : libgcc-8.5.0-16.el8_7.i686                                                                                                                                                                                 9/26 
  Running scriptlet: libgcc-8.5.0-16.el8_7.i686                                                                                                                                                                                 9/26 
  Upgrading        : libstdc++-8.5.0-16.el8_7.i686                                                                                                                                                                             10/26 
  Running scriptlet: libstdc++-8.5.0-16.el8_7.i686                                                                                                                                                                             10/26 
  Upgrading        : sqlite-libs-3.26.0-17.el8_7.i686                                                                                                                                                                          11/26 
  Upgrading        : libtasn1-4.13-4.el8_7.i686                                                                                                                                                                                12/26 
  Running scriptlet: libtasn1-4.13-4.el8_7.i686                                                                                                                                                                                12/26 
  Upgrading        : expat-2.2.5-10.el8_7.1.i686                                                                                                                                                                               13/26 
  Cleanup          : libstdc++-8.5.0-15.el8.i686                                                                                                                                                                               14/26 
  Running scriptlet: libstdc++-8.5.0-15.el8.i686                                                                                                                                                                               14/26 
  Cleanup          : sqlite-libs-3.26.0-16.el8_6.i686                                                                                                                                                                          15/26 
  Cleanup          : zlib-1.2.11-20.el8.i686                                                                                                                                                                                   16/26 
  Cleanup          : libgcc-8.5.0-15.el8.i686                                                                                                                                                                                  17/26 
  Running scriptlet: libgcc-8.5.0-15.el8.i686                                                                                                                                                                                  17/26 
  Cleanup          : libtasn1-4.13-3.el8.i686                                                                                                                                                                                  18/26 
  Running scriptlet: libtasn1-4.13-3.el8.i686                                                                                                                                                                                  18/26 
  Cleanup          : expat-2.2.5-10.el8.i686                                                                                                                                                                                   19/26 
  Cleanup          : libstdc++-8.5.0-15.el8.x86_64                                                                                                                                                                             20/26 
  Running scriptlet: libstdc++-8.5.0-15.el8.x86_64                                                                                                                                                                             20/26 
  Cleanup          : sqlite-3.26.0-16.el8_6.x86_64                                                                                                                                                                             21/26 
  Cleanup          : sqlite-libs-3.26.0-16.el8_6.x86_64                                                                                                                                                                        22/26 
  Cleanup          : zlib-1.2.11-20.el8.x86_64                                                                                                                                                                                 23/26 
  Cleanup          : libgcc-8.5.0-15.el8.x86_64                                                                                                                                                                                24/26 
  Running scriptlet: libgcc-8.5.0-15.el8.x86_64                                                                                                                                                                                24/26 
  Cleanup          : libtasn1-4.13-3.el8.x86_64                                                                                                                                                                                25/26 
  Running scriptlet: libtasn1-4.13-3.el8.x86_64                                                                                                                                                                                25/26 
  Cleanup          : expat-2.2.5-10.el8.x86_64                                                                                                                                                                                 26/26 
  Running scriptlet: expat-2.2.5-10.el8.x86_64                                                                                                                                                                                 26/26 
  Verifying        : expat-2.2.5-10.el8_7.1.i686                                                                                                                                                                                1/26 
  Verifying        : expat-2.2.5-10.el8.i686                                                                                                                                                                                    2/26 
  Verifying        : expat-2.2.5-10.el8_7.1.x86_64                                                                                                                                                                              3/26 
  Verifying        : expat-2.2.5-10.el8.x86_64                                                                                                                                                                                  4/26 
  Verifying        : libgcc-8.5.0-16.el8_7.x86_64                                                                                                                                                                               5/26 
  Verifying        : libgcc-8.5.0-15.el8.x86_64                                                                                                                                                                                 6/26 
  Verifying        : libgcc-8.5.0-16.el8_7.i686                                                                                                                                                                                 7/26 
  Verifying        : libgcc-8.5.0-15.el8.i686                                                                                                                                                                                   8/26 
  Verifying        : libstdc++-8.5.0-16.el8_7.i686                                                                                                                                                                              9/26 
  Verifying        : libstdc++-8.5.0-15.el8.i686                                                                                                                                                                               10/26 
  Verifying        : libstdc++-8.5.0-16.el8_7.x86_64                                                                                                                                                                           11/26 
  Verifying        : libstdc++-8.5.0-15.el8.x86_64                                                                                                                                                                             12/26 
  Verifying        : libtasn1-4.13-4.el8_7.i686                                                                                                                                                                                13/26 
  Verifying        : libtasn1-4.13-3.el8.i686                                                                                                                                                                                  14/26 
  Verifying        : libtasn1-4.13-4.el8_7.x86_64                                                                                                                                                                              15/26 
  Verifying        : libtasn1-4.13-3.el8.x86_64                                                                                                                                                                                16/26 
  Verifying        : sqlite-3.26.0-17.el8_7.x86_64                                                                                                                                                                             17/26 
  Verifying        : sqlite-3.26.0-16.el8_6.x86_64                                                                                                                                                                             18/26 
  Verifying        : sqlite-libs-3.26.0-17.el8_7.i686                                                                                                                                                                          19/26 
  Verifying        : sqlite-libs-3.26.0-16.el8_6.i686                                                                                                                                                                          20/26 
  Verifying        : sqlite-libs-3.26.0-17.el8_7.x86_64                                                                                                                                                                        21/26 
  Verifying        : sqlite-libs-3.26.0-16.el8_6.x86_64                                                                                                                                                                        22/26 
  Verifying        : zlib-1.2.11-21.el8_7.x86_64                                                                                                                                                                               23/26 
  Verifying        : zlib-1.2.11-20.el8.x86_64                                                                                                                                                                                 24/26 
  Verifying        : zlib-1.2.11-21.el8_7.i686                                                                                                                                                                                 25/26 
  Verifying        : zlib-1.2.11-20.el8.i686                                                                                                                                                                                   26/26 
Installed products updated.
Uploading Tracer Profile

Upgraded:
  expat-2.2.5-10.el8_7.1.i686   expat-2.2.5-10.el8_7.1.x86_64  libgcc-8.5.0-16.el8_7.i686        libgcc-8.5.0-16.el8_7.x86_64        libstdc++-8.5.0-16.el8_7.i686  libstdc++-8.5.0-16.el8_7.x86_64  libtasn1-4.13-4.el8_7.i686 
  libtasn1-4.13-4.el8_7.x86_64  sqlite-3.26.0-17.el8_7.x86_64  sqlite-libs-3.26.0-17.el8_7.i686  sqlite-libs-3.26.0-17.el8_7.x86_64  zlib-1.2.11-21.el8_7.i686      zlib-1.2.11-21.el8_7.x86_64     

Complete!

You still haven’t posted what you updated exactly when it failed. The Job page for the host shows the detailed output and you can also toggle the command.

Not quite sure I understand.

  • In one case, I selected a single package in Katello, and it failed to upgrade.
  • In the other case, I selected all upgradeable packages in Katello, and the job failed with the same pattern.

From what you write it’s unclear what you did exactly. Nor is it clear, which command you have actually run.

Again: check the job for the exact command. Go to Monitor - Jobs, click on the link for one of the failed update jobs you have tried before. Click on the hostname to see the output of the task. Press the “Toggle command” button to view the executed command. This shows the exact shell command executed on the host via remote execution…

In Katello, select both versions of expat (32-bit and 64-bit) and klick “Upgrade”:
image

Job is failing:
image

Toggle command (job):
image

O.K. That’s makes it clear. This is a bug, I guess. The 64bit rpm is not upgradable to the 32bit rpm. Looks like an applicability issue @katello.

Although I don’t see any good reason why there should be 32bit rpms installed on a 64bit architecture…

1 Like

Thanks @gvde !

if yum can do it, Katello should be able to achieve the same.

To me, this looks incorrect:

Yes. That’s exactly why this is a bug. The x86_64 is not upgradable to the i686 rpm. The generated update command from your post before shows, that katello actually assumes the i686 is an upgrade for both architectures which is why it only sends the update command for the i686 which breaks, because you have to keep the installed i686 and x86_64 in sync.

1 Like

Do you know how and where to formally file the bug request?
Not sure how to go on…

Issue tracker is at Issues - Foreman

1 Like

Filed Bug #36100: Package upgradable versions are not set correctly based on architecture - Katello - Foreman.

1 Like