Bug 1227053
| Summary: | '--exclude' option empties whole transaction | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Enrico Scholz <rh-bugzilla> | ||||||||
| Component: | dnf | Assignee: | Michael Mráka <mmraka> | ||||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | low | ||||||||||
| Version: | 23 | CC: | ignatenko, jsilhan, jzeleny, mluscon, mmraka, packaging-team-maint, pnemade, rh-bugzilla, tim.lauridsen, vmukhame | ||||||||
| Target Milestone: | --- | Keywords: | Reopened, Triaged | ||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2016-07-29 14:55:49 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: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Enrico Scholz
2015-06-01 20:28:46 UTC
Can you share the exacts outputs (+ output of command without exclude option set) and attach the debugdata of dnf [1], please? [1] https://github.com/rpm-software-management/dnf/wiki/Bug-Reporting#dependency-resolution-problem This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. still with dnf-1.1.9-2.fc23.noarch Created attachment 1181763 [details]
dnf upgrade --exclude XXXXXX -d10
Created attachment 1181765 [details]
dnf upgrade -d10
Created attachment 1181768 [details]
dnf upgrade --exclude XXXXXX --debugsolver
There must be something in your configuration which triggers this bug because I can't reproduce it on fresh system: # dnf upgrade ... Transaction Summary ========================================================================================================== Install 3 Packages Upgrade 65 Packages Remove 3 Packages Total download size: 88 M Is this ok [y/N]: # dnf upgrade --exclude XXX ... Transaction Summary ========================================================================================================== Install 3 Packages Upgrade 65 Packages Remove 3 Packages Total download size: 88 M Is this ok [y/N]: # rpm -q dnf dnf-1.1.9-2.fc23.noarch Could you attach your repo configuration? (e.g. output of dnf config-manager --dump \*) it seems to be triggered by adding something like | include=file:///etc/yum.repos.d/EXCLUDES-base to a repository section (e.g. to [fedora] in /etc/yum.repos.d/fedora.repo). Three notes here: - include means something different in dnf v1; you want to use includeconf=file:///etc/yum.repos.d/EXCLUDES-base - even then there're bugs in include/exclude which has been fixed in dnf v2 (bug 1055910, bug 1219867) - and even then there was a bug in including config files, fixed now in https://github.com/rpm-software-management/dnf/pull/546 Merged as part of DNF 2.0 release. |