Bug 22258 - Add new option to urpmq to only list newest version of each package
Summary: Add new option to urpmq to only list newest version of each package
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2017-12-23 23:13 CET by Martin Whitaker
Modified: 2018-03-12 21:43 CET (History)
0 users

See Also:
Source RPM: urpmi-8.111-2.mga7.src.rpm
CVE:
Status comment:


Attachments
Patch to add --newest option to urpmq (1.55 KB, text/plain)
2017-12-23 23:13 CET, Martin Whitaker
Details

Description Martin Whitaker 2017-12-23 23:13:41 CET
Created attachment 9848 [details]
Patch to add --newest option to urpmq

When querying multiple packages, e.g. with the --source option, if there is more than one version of the package available, all the alternatives are returned (separated by '|'). I would like a '--newest' option which causes only the latest version of the package to be listed.

The attached patch implements this feature.
Comment 1 Martin Whitaker 2018-03-12 21:43:51 CET
I ended up using perl-URPMI directly, so no longer need this enhancement.

Resolution: (none) => WONTFIX
Status: NEW => RESOLVED


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