Bug 1519325
| Summary: | dnf fails to install a package by a "provides" name | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Omair Majid <omajid> |
| Component: | dnf | Assignee: | rpm-software-management |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 27 | CC: | carlwgeorge, dmach, jmracek, mhatina, packaging-team-maint, rpm-software-management, vmukhame |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-06-28 08:27:50 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Omair Majid
2017-11-30 15:29:42 UTC
If this is PEBKAC, could you please at least fix the confusing messages that I see here: """ * Maybe you meant: dotnet No match for argument: dotnet """ The problem here is that you have dotnet.src package in repository. DNF first search for solution by name, it found one, but src package is not install-able therefore it writes no match for argument. I created a patch that should solve the issue with hint (https://github.com/rpm-software-management/dnf/pull/993). In future we will enhance reports, but cannot now. Thanks for the quick response. Am I understanding it correctly that a package shouldn't have a `Provide:` matching the base backage name, then? And dnf will not install the package that `Provides: dotnet` as long as dotnet.src exists? Normally your problem cannot happen because src packages are placed in separate disabled repository. I would suggest that you can workaround it by: "dnf install dotnet -x dotnet.src" or change name of package "dotnet-sdk" to "dotnet". Or try to install directly "dotnet-sdk", or add "excludepkgs=dotnet" to "/etc/yum.repos.d/<repo_name>.repo" . There are many possibilities how to solve your problem. The issue is solved by dnf-3.0.1-1 that was released into rawhide. |