F36: cannot install the best update candidate for package libdnf

,

I am getting this problems trying to update dnf5:

I installed dnf5 from _copr:copr.fedorainfracloud.org:rpmsoftwaremanagement:dnf5-unstable.repo.

Any idea?

$ sudo dnf up
[…]
 Problem 1: cannot install the best update candidate for package libdnf5-5.0.1-20221205005609.19.gae37954a.fc36.x86_64
  - nothing provides librepo(x86-64) >= 1.15.0 needed by libdnf5-5.0.2-20221215005901.9.g30702ace.fc36.x86_64
 Problem 2: package libdnf5-cli-5.0.2-20221215005901.9.g30702ace.fc36.x86_64 requires libdnf5(x86-64) = 5.0.2-20221215005901.9.g30702ace.fc36, but none of the providers can be installed
  - cannot install the best update candidate for package libdnf5-cli-5.0.1-20221205005609.19.gae37954a.fc36.x86_64
  - nothing provides librepo(x86-64) >= 1.15.0 needed by libdnf5-5.0.2-20221215005901.9.g30702ace.fc36.x86_64
 Problem 3: package dnf5-5.0.2-20221215005901.9.g30702ace.fc36.x86_64 requires libdnf5(x86-64) = 5.0.2-20221215005901.9.g30702ace.fc36, but none of the providers can be installed
  - cannot install the best update candidate for package dnf5-5.0.1-20221205005609.19.gae37954a.fc36.x86_64
  - nothing provides librepo(x86-64) >= 1.15.0 needed by libdnf5-5.0.2-20221215005901.9.g30702ace.fc36.x86_64
=================================================================================================================================================================================================================================
 Package                            Architecture                  Version                                                        Repository                                                                                 Size
=================================================================================================================================================================================================================================
Skipping packages with broken dependencies:
 dnf5                               x86_64                        5.0.2-20221215005901.9.g30702ace.fc36                          copr:copr.fedorainfracloud.org:rpmsoftwaremanagement:dnf5-unstable                        399 k
 libdnf5                            x86_64                        5.0.2-20221215005901.9.g30702ace.fc36                          copr:copr.fedorainfracloud.org:rpmsoftwaremanagement:dnf5-unstable                        743 k
 libdnf5-cli                        x86_64                        5.0.2-20221215005901.9.g30702ace.fc36                          copr:copr.fedorainfracloud.org:rpmsoftwaremanagement:dnf5-unstable                        109 k

Transaction Summary
=================================================================================================================================================================================================================================
Skip  3 Packages

This means you first need librepo in a version 1.15 or higher. That version has been build, librepo | Package Info | koji, and is currently sitting in testing, see https://bodhi.fedoraproject.org/updates/FEDORA-2022-a4cd218f9d.

sudo dnf update --enablerepo=updates-testing librepo

Or you can choose to download it from koji and rpm install it.

If you decide to work with pre-release software that declares itself “unstable”, you should be able fix such problems.

Thank you, that is very helpful indeed. :+1:

I can wait until it gets out of testing, I have no rush there. I was just experimenting with dnf5.

A bit harsh, maybe? ¯\_(ツ)_/¯ I am trying to learn…

1 Like

Not harsh. Simply a reminder that when a user chooses to push the boundaries and encounters unexpected issues they should not be surprised. They are after all pushing the boundaries and using unstable software.

I agree with trying to learn, but failure to anticipate problems with known unstable software seems rather short-sighted.