Bug 1428015
Summary: | dnf repoquery --duplicates --latest-limit -1 errors with "expected one argument" | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Vedran Miletić <vedran> |
Component: | dnf | Assignee: | rpm-software-management |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | medium | ||
Version: | 26 | CC: | jmracek, packaging-team-maint, rpm-software-management, vedran, vmukhame |
Target Milestone: | --- | Keywords: | Regression, 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: | 2017-05-04 10:06:47 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
Vedran Miletić
2017-03-01 17:27:58 UTC
what if you remove `-1` and replace it with `1`? We had to break some things in DNF 2.0... (In reply to Igor Gnatenko from comment #1) > what if you remove `-1` and replace it with `1`? > > We had to break some things in DNF 2.0... 1 works as expected, but that's the opposite of what I need. Igor, any update on this? I care about this feature enough that I might look into the issue myself, just let me know if this would help. The problem is that -1 is treated as a separate parameter, not as a value for --latest-limit. I looked into dnf/cli/option_parser.py for a few minutes and there is -4 and -6 which have a meaning, but it's not immediately obvious how -1 is handled. *** This bug has been marked as a duplicate of bug 1446641 *** |