Bug 1379051

Summary: [RFE] dnf history userinstalled - change output format
Product: [Fedora] Fedora Reporter: srakitnican <samuel.rakitnican>
Component: dnfAssignee: rpm-software-management
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jsilhan, mluscon, packaging-team-maint, pnemade, rpm-software-management, vmukhame
Target Milestone: ---   
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: 2016-09-26 11:12:48 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 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 ***