在 Fedora 上运行 dnf 更新会返回 MongoDB 冲突

在 Fedora 上运行 dnf 更新会返回 MongoDB 冲突

我希望得到一些建议来解决以下与我的 Fedora 工作站上安装的 MongoDB 的冲突。我已将 MongoDB 添加为自定义存储库,并在运行时在终端中获得以下输出sudo dnf update

Fedora 35 - x86_64 - Updates                                                                         69 kB/s |  19 kB     00:00    
Fedora Modular 35 - x86_64 - Updates                                                                 46 kB/s |  21 kB     00:00    
RPM Fusion for Fedora 35 - Free tainted                                                              23 kB/s | 3.6 kB     00:00    
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.12-1.el8.x86_64
 Problem 2: package mongodb-org-tools-4.4.12-1.el8.x86_64 requires mongodb-org-database-tools-extra = 4.4.12, 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.12-1.el8.x86_64
 Problem 3: package mongodb-org-4.4.12-1.el8.x86_64 requires mongodb-org-tools = 4.4.12, but none of the providers can be installed
  - package mongodb-org-tools-4.4.12-1.el8.x86_64 requires mongodb-org-database-tools-extra = 4.4.12, 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.12-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.10-1.el8.x86_64 requires mongodb-org-tools = 4.4.10, but none of the providers can be installed
  - package mongodb-org-4.4.11-1.el8.x86_64 requires mongodb-org-tools = 4.4.11, but none of the providers can be installed
  - package mongodb-org-4.4.12-1.el8.x86_64 requires mongodb-org-tools = 4.4.12, 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
  - package mongodb-org-4.4.6-1.el8.x86_64 requires mongodb-org-tools = 4.4.6, but none of the providers can be installed
  - package mongodb-org-4.4.7-1.el8.x86_64 requires mongodb-org-tools = 4.4.7, but none of the providers can be installed
  - package mongodb-org-4.4.8-1.el8.x86_64 requires mongodb-org-tools = 4.4.8, but none of the providers can be installed
  - package mongodb-org-4.4.9-1.el8.x86_64 requires mongodb-org-tools = 4.4.9, but none of the providers can be installed
  - cannot install both mongodb-org-mongos-4.4.12-1.el8.x86_64 and mongodb-org-mongos-4.4.4-1.el8.x86_64
  - cannot install both mongodb-org-mongos-4.4.4-1.el8.x86_64 and mongodb-org-mongos-4.4.12-1.el8.x86_64
  - package mongodb-org-tools-4.4.10-1.el8.x86_64 requires mongodb-org-database-tools-extra = 4.4.10, but none of the providers can be installed
  - package mongodb-org-tools-4.4.11-1.el8.x86_64 requires mongodb-org-database-tools-extra = 4.4.11, but none of the providers can be installed
  - package mongodb-org-tools-4.4.12-1.el8.x86_64 requires mongodb-org-database-tools-extra = 4.4.12, 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
  - package mongodb-org-tools-4.4.6-1.el8.x86_64 requires mongodb-org-database-tools-extra = 4.4.6, but none of the providers can be installed
  - package mongodb-org-tools-4.4.7-1.el8.x86_64 requires mongodb-org-database-tools-extra = 4.4.7, but none of the providers can be installed
  - package mongodb-org-tools-4.4.8-1.el8.x86_64 requires mongodb-org-database-tools-extra = 4.4.8, but none of the providers can be installed
  - package mongodb-org-tools-4.4.9-1.el8.x86_64 requires mongodb-org-database-tools-extra = 4.4.9, 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.10-1.el8.x86_64
  - nothing provides /usr/libexec/platform-python needed by mongodb-org-database-tools-extra-4.4.11-1.el8.x86_64
  - nothing provides /usr/libexec/platform-python needed by mongodb-org-database-tools-extra-4.4.12-1.el8.x86_64
  - nothing provides /usr/libexec/platform-python needed by mongodb-org-database-tools-extra-4.4.5-1.el8.x86_64
  - nothing provides /usr/libexec/platform-python needed by mongodb-org-database-tools-extra-4.4.6-1.el8.x86_64
  - nothing provides /usr/libexec/platform-python needed by mongodb-org-database-tools-extra-4.4.7-1.el8.x86_64
  - nothing provides /usr/libexec/platform-python needed by mongodb-org-database-tools-extra-4.4.8-1.el8.x86_64
  - nothing provides /usr/libexec/platform-python needed by mongodb-org-database-tools-extra-4.4.9-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.12-1.el8                 Mongodb                  17 M
Skipping packages with broken dependencies:
 mongodb-org                                      x86_64                 4.4.10-1.el8                 Mongodb                  11 k
 mongodb-org                                      x86_64                 4.4.11-1.el8                 Mongodb                  11 k
 mongodb-org                                      x86_64                 4.4.12-1.el8                 Mongodb                  11 k
 mongodb-org                                      x86_64                 4.4.5-1.el8                  Mongodb                  11 k
 mongodb-org                                      x86_64                 4.4.6-1.el8                  Mongodb                  11 k
 mongodb-org                                      x86_64                 4.4.7-1.el8                  Mongodb                  11 k
 mongodb-org                                      x86_64                 4.4.8-1.el8                  Mongodb                  11 k
 mongodb-org                                      x86_64                 4.4.9-1.el8                  Mongodb                  11 k
 mongodb-org-database-tools-extra                 x86_64                 4.4.10-1.el8                 Mongodb                  23 k
 mongodb-org-database-tools-extra                 x86_64                 4.4.11-1.el8                 Mongodb                  23 k
 mongodb-org-database-tools-extra                 x86_64                 4.4.12-1.el8                 Mongodb                  23 k
 mongodb-org-database-tools-extra                 x86_64                 4.4.5-1.el8                  Mongodb                  23 k
 mongodb-org-database-tools-extra                 x86_64                 4.4.6-1.el8                  Mongodb                  23 k
 mongodb-org-database-tools-extra                 x86_64                 4.4.7-1.el8                  Mongodb                  23 k
 mongodb-org-database-tools-extra                 x86_64                 4.4.8-1.el8                  Mongodb                  23 k
 mongodb-org-database-tools-extra                 x86_64                 4.4.9-1.el8                  Mongodb                  23 k
 mongodb-org-tools                                x86_64                 4.4.10-1.el8                 Mongodb                  11 k
 mongodb-org-tools                                x86_64                 4.4.11-1.el8                 Mongodb                  11 k
 mongodb-org-tools                                x86_64                 4.4.12-1.el8                 Mongodb                  11 k
 mongodb-org-tools                                x86_64                 4.4.5-1.el8                  Mongodb                  11 k
 mongodb-org-tools                                x86_64                 4.4.6-1.el8                  Mongodb                  11 k
 mongodb-org-tools                                x86_64                 4.4.7-1.el8                  Mongodb                  11 k
 mongodb-org-tools                                x86_64                 4.4.8-1.el8                  Mongodb                  11 k
 mongodb-org-tools                                x86_64                 4.4.9-1.el8                  Mongodb                  11 k

Transaction Summary
====================================================================================================================================
Skip  25 Packages

我尝试过,因为输出表明运行sudo dnf update --best --allowerasing会卸载并重新安装 MongoDB。但是,它返回相同的冲突。我希望得到一些建议或建议解决方法。我正在使用此页面上发布的回购信息,https://developer.fedoraproject.org/tech/database/mongodb/about.html

答案1

该存储库似乎适用于 RHEL8,并且可能不再适用于 Fedora。我建议删除从第三方存储库获取的所有软件包并使用 Fedora 存储库中的软件包。

dnf remove mongodb-org*

…应该将它们全部删除。

相关内容