Bug 1467293 - dnf repoquery --duplicated --latest-limit -1 // argument --latest-limit: expected one argument
Summary: dnf repoquery --duplicated --latest-limit -1 // argument --latest-limit: expe...
Keywords:
Status: CLOSED DUPLICATE of bug 1446641
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-03 10:25 UTC by srakitnican
Modified: 2017-08-04 11:38 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-08-04 11:38:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1446641 0 unspecified CLOSED dnf repoquery --duplicates --latest-limit -1 -q does not work 2021-02-22 00:41:40 UTC

Internal Links: 1446641

Description srakitnican 2017-07-03 10:25:12 UTC
Description of problem: "-1" in "--latest-limit -1" seems to be invalid argument with dnf 2.0, something that used to work with dnf 1.x for removing duplicate packages.


Version-Release number of selected component (if applicable):
$ rpm -q dnf
dnf-2.4.1-1.fc26.noarch
dnf-2.5.1-1.fc26.noarch


How reproducible: Always


Steps to Reproduce:
1. $ sudo dnf repoquery --duplicated --latest-limit -1

Actual results: Command line error: argument --latest-limit: expected one argument


Expected results:


Additional info: This system failed to upgrade most likely because libdb issue RHBZ#1465292 .

Comment 1 srakitnican 2017-07-03 10:29:14 UTC

*** This bug has been marked as a duplicate of bug 1446641 ***

Comment 2 srakitnican 2017-07-03 10:30:59 UTC
Thank you. Workarounds mentioned in other bug reports works.

Comment 3 Jaroslav Mracek 2017-08-04 11:38:32 UTC
I am sorry but the problem here was solved by providing a workaround including examples in documentation. The other solution cannot be provided with Python argparser.

*** This bug has been marked as a duplicate of bug 1446641 ***


Note You need to log in before you can comment on or make changes to this bug.