Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNF5 does not report repository name in libsolv errors. #1123

Closed
j-mracek opened this issue Jan 3, 2024 · 1 comment · Fixed by #1464
Closed

DNF5 does not report repository name in libsolv errors. #1123

j-mracek opened this issue Jan 3, 2024 · 1 comment · Fixed by #1464
Assignees
Labels
Priority: MEDIUM Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take
Milestone

Comments

@j-mracek
Copy link
Member

j-mracek commented Jan 3, 2024

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 #979 (comment)

@ppisar
Copy link
Contributor

ppisar commented Jan 3, 2024

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

@ppisar ppisar added Priority: MEDIUM Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take labels Jan 3, 2024
@jan-kolarik jan-kolarik added this to the Fedora 41 milestone Jan 30, 2024
@m-blaha m-blaha self-assigned this Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: MEDIUM Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants