Fedora 33 update to 4.4.5 dependency problem

Tried using DNF to update from 4.4.4 to 4.4.5 from the repo.mongodb.org repository, but dependencies are not met.

sudo dnf update

 Problem 1: cannot install the best update candidate for package mongodb-org-database-tools-extra-4.4.4-1.el8.x86_64
  - nothing provides /usr/libexec/platform-python needed by mongodb-org-database-tools-extra-4.4.5-1.el8.x86_64
 Problem 2: package mongodb-org-tools-4.4.5-1.el8.x86_64 requires mongodb-org-database-tools-extra = 4.4.5, but none of the providers can be installed
  - cannot install the best update candidate for package mongodb-org-tools-4.4.4-1.el8.x86_64
  - nothing provides /usr/libexec/platform-python needed by mongodb-org-database-tools-extra-4.4.5-1.el8.x86_64
 Problem 3: package mongodb-org-4.4.5-1.el8.x86_64 requires mongodb-org-tools = 4.4.5, but none of the providers can be installed
  - package mongodb-org-tools-4.4.5-1.el8.x86_64 requires mongodb-org-database-tools-extra = 4.4.5, but none of the providers can be installed
  - cannot install the best update candidate for package mongodb-org-4.4.4-1.el8.x86_64
  - nothing provides /usr/libexec/platform-python needed by mongodb-org-database-tools-extra-4.4.5-1.el8.x86_64
 Problem 4: problem with installed package mongodb-org-4.4.4-1.el8.x86_64
  - package mongodb-org-4.4.4-1.el8.x86_64 requires mongodb-org-mongos = 4.4.4, but none of the providers can be installed
  - package mongodb-org-4.4.5-1.el8.x86_64 requires mongodb-org-tools = 4.4.5, but none of the providers can be installed
  - cannot install both mongodb-org-mongos-4.4.5-1.el8.x86_64 and mongodb-org-mongos-4.4.4-1.el8.x86_64
  - package mongodb-org-tools-4.4.5-1.el8.x86_64 requires mongodb-org-database-tools-extra = 4.4.5, but none of the providers can be installed
  - cannot install the best update candidate for package mongodb-org-mongos-4.4.4-1.el8.x86_64
  - nothing provides /usr/libexec/platform-python needed by mongodb-org-database-tools-extra-4.4.5-1.el8.x86_64
==============================================================================================================================================================================================================================================
 Package                                                                   Architecture                                    Version                                                 Repository                                            Size
==============================================================================================================================================================================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 mongodb-org-mongos                                                        x86_64                                          4.4.5-1.el8                                             mongodb-org                                           17 M
Skipping packages with broken dependencies:
 mongodb-org                                                               x86_64                                          4.4.5-1.el8                                             mongodb-org                                           11 k
 mongodb-org-database-tools-extra                                          x86_64                                          4.4.5-1.el8                                             mongodb-org                                           23 k
 mongodb-org-tools                                                         x86_64                                          4.4.5-1.el8                                             mongodb-org                                           11 k

Transaction Summary
==============================================================================================================================================================================================================================================
Skip  4 Packages

Nothing to do.
Complete!

Also tried removing packages and upgrading manually, but they are downgraded on the next update:

sudo rpm -e mongodb-org-database-tools-extra-4.4.4-1.el8.x86_64 mongodb-org-tools-4.4.4-1.el8.x86_64
...
sudo dnf update 
keybase                                                                                                                                                                                                        36 kB/s | 3.3 kB     00:00    
Dependencies resolved.
==============================================================================================================================================================================================================================================
 Package                                                         Architecture                                        Version                                                   Repository                                                Size
==============================================================================================================================================================================================================================================
Upgrading:
 mongodb-org-mongos                                              x86_64                                              4.4.5-1.el8                                               mongodb-org                                               17 M
 mongodb-org-server                                              x86_64                                              4.4.5-1.el8                                               mongodb-org                                               22 M
 mongodb-org-shell                                               x86_64                                              4.4.5-1.el8                                               mongodb-org                                               14 M

Transaction Summary
==============================================================================================================================================================================================================================================
Upgrade  3 Packages
...
sudo dnf install -y mongodb-org
Last metadata expiration check: 0:00:19 ago on Tue 20 Apr 2021 10:27:49 AM EDT.
Dependencies resolved.

 Problem: package mongodb-org-4.4.5-1.el8.x86_64 requires mongodb-org-tools = 4.4.5, but none of the providers can be installed
  - package mongodb-org-tools-4.4.5-1.el8.x86_64 requires mongodb-org-database-tools-extra = 4.4.5, but none of the providers can be installed
  - cannot install the best candidate for the job
  - nothing provides /usr/libexec/platform-python needed by mongodb-org-database-tools-extra-4.4.5-1.el8.x86_64
==============================================================================================================================================================================================================================================
 Package                                                                   Architecture                                    Version                                                 Repository                                            Size
==============================================================================================================================================================================================================================================
Installing:
 mongodb-org                                                               x86_64                                          4.4.4-1.el8                                             mongodb-org                                           10 k
Installing dependencies:
 mongodb-org-database-tools-extra                                          x86_64                                          4.4.4-1.el8                                             mongodb-org                                           20 k
 mongodb-org-tools                                                         x86_64                                          4.4.4-1.el8                                             mongodb-org                                           10 k
Downgrading:
 mongodb-org-mongos                                                        x86_64                                          4.4.4-1.el8                                             mongodb-org                                           22 M
 mongodb-org-server                                                        x86_64                                          4.4.4-1.el8                                             mongodb-org                                           28 M
 mongodb-org-shell                                                         x86_64                                          4.4.4-1.el8                                             mongodb-org                                           18 M
Skipping packages with broken dependencies:
 mongodb-org                                                               x86_64                                          4.4.5-1.el8                                             mongodb-org                                           11 k
 mongodb-org-database-tools-extra                                          x86_64                                          4.4.5-1.el8                                             mongodb-org                                           23 k
 mongodb-org-tools                                                         x86_64                                          4.4.5-1.el8                                             mongodb-org                                           11 k

Transaction Summary
==============================================================================================================================================================================================================================================
Install    3 Packages
Downgrade  3 Packages
Skip       3 Packages

Hi !
For now, I think you should exclude this upgrade in your dnf.conf :

  • this upgrade requires /usr/libexec/platform-python which is a centos/epel thing.

exclude=mongodb-org,mongodb-org-server,mongodb-org-shell,mongodb-org-mongos,mongodb-org-tools,mongodb-org-database-tools-extra

I tried to exclude these packages but still no luck. Every time when I run “sudo dnf update -y” then I get below output.

Last metadata expiration check: 0:03:54 ago on Sunday 02 May 2021 07:41:00 AM.
Dependencies resolved.

Problem 1: cannot install the best update candidate for package mongodb-org-database-tools-extra-4.4.4-1.el8.x86_64

  • nothing provides /usr/libexec/platform-python needed by mongodb-org-database-tools-extra-4.4.5-1.el8.x86_64
    Problem 2: package mongodb-org-tools-4.4.5-1.el8.x86_64 requires mongodb-org-database-tools-extra = 4.4.5, but none of the providers can be installed
  • cannot install the best update candidate for package mongodb-org-tools-4.4.4-1.el8.x86_64
  • nothing provides /usr/libexec/platform-python needed by mongodb-org-database-tools-extra-4.4.5-1.el8.x86_64
    ==============================================================================================================================================================================================================================================
    Package Architecture Version Repository Size
    ==============================================================================================================================================================================================================================================
    Skipping packages with broken dependencies:
    mongodb-org-database-tools-extra x86_64 4.4.5-1.el8 mongodb-org-4.4 23 k
    mongodb-org-tools x86_64 4.4.5-1.el8 mongodb-org-4.4 11 k

Transaction Summary

Skip 2 Packages

Nothing to do.
Complete!

Downgrade your packages to 4.4.4-1.el8, then exclude the packages.
This is what I’m doing for now.
Now, keep in mind that it doesn’t solve anything, we’re just hidding from updates that we can’t get, for now.