Bug 1379051 - [RFE] dnf history userinstalled - change output format
Summary: [RFE] dnf history userinstalled - change output format
Keywords:
Status: CLOSED DUPLICATE of bug 1370062
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-24 11:19 UTC by srakitnican
Modified: 2016-09-26 11:12 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-26 11:12:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description srakitnican 2016-09-24 11:19:59 UTC
dnf history userinstalled
       List  names  of all packages installed by a user. The output can
       be used as the %packages section in a kickstart file.

Not sure how kickstart file works but to use output as is with dnf would most likely not work as it lists packages with version numbers. The reason for this is simply because package with that version number will most likely not be available because of an update.

Couple of options:
I suggest using default output format of "%{name}.%{arch}" and/or add --qf style option to dnf history.

Comment 1 Igor Gnatenko 2016-09-26 11:12:48 UTC

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


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