dnf5 icon indicating copy to clipboard operation
dnf5 copied to clipboard

DNF5 does not report repository name in libsolv errors.

Open j-mracek opened this issue 1 year ago • 1 comments

The information about repository is important for debugging specially for systems when package might originate from different repositories or whether the package is installed.

$ sudo dnf5 upgrade  --best -x python3-hawkey-0.72.0-20240103005019.3.gf9dcbfa8.fc38
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem 1: package python3-hawkey-0.72.0-20240102004912.3.gf9dcbfa8.fc38.x86_64 requires libdnf(x86-64) = 0.72.0-20240102004912.3.gf9dcbfa8.fc38, but none of the providers can be installed
  - cannot install both libdnf-0.72.0-20240102004912.3.gf9dcbfa8.fc38.x86_64 and libdnf-0.72.0-20240103005019.3.gf9dcbfa8.fc38.x86_64
$ sudo dnf upgrade  --best -x python3-hawkey-0.72.0-20240103005019.3.gf9dcbfa8.fc38
Last metadata expiration check: 0:02:12 ago on Wed 03 Jan 2024 10:27:07 AM CET.
Error: 
 Problem 1: package python3-hawkey-0.72.0-20240102004912.3.gf9dcbfa8.fc38.x86_64 from copr:copr.fedorainfracloud.org:rpmsoftwaremanagement:dnf-nightly requires libdnf(x86-64) = 0.72.0-20240102004912.3.gf9dcbfa8.fc38, but none of the providers can be installed
  - cannot install both libdnf-0.72.0-20240103005019.3.gf9dcbfa8.fc38.x86_64 from copr:copr.fedorainfracloud.org:rpmsoftwaremanagement:dnf-nightly and libdnf-0.72.0-20240102004912.3.gf9dcbfa8.fc38.x86_64 from copr:copr.fedorainfracloud.org:rpmsoftwaremanagement:dnf-nightly

Originally posted by @j-mracek in https://github.com/rpm-software-management/dnf5/issues/979#issuecomment-1875077723

j-mracek avatar Jan 03 '24 09:01 j-mracek

I confirm this deficiency in dnf5-5.1.10-1.fc40.x86_64.

ppisar avatar Jan 03 '24 11:01 ppisar