Description of problem: DNF has no replacement for "show-installed -f kickstart" Version-Release number of selected component (if applicable): all. How reproducible: 100% Steps to Reproduce: 1. run "show-installed -f kickstart -o /tmp/installed.txt" to produce a list of high level deps you could use with "dnf kickstart" 2. there is no dnf version of this tool. 3. Actual results: nothing. Expected results: a viable text file to use with 'dnf kickstart' or inside an anaconda kickstart file's %package list. Additional info:
`dnf repoquery --installed > /tmp/installed.txt` is not enough? Do you really need that file minimal?
please run rhel7 or something old enough that still has show-installed. The output is incredibly useful. on dnf based systems, this output is simply unavailable. it is NOT the same thing as 'rpm -qa' at all. 'dnf repoquery --installed' is the longer wait version of simply 'rpm -qa'. It does not show groups. It does not actually help create a useful and easy to read kickstart file. See for example, https://git.fedorahosted.org/cgit/spin-kickstarts.git/tree/fedora-workstation-packages.ks
Please provide exactly what do you expecting.
Easy. I'm expecting output exactly like the spins already use. For example: https://git.fedorahosted.org/cgit/spin-kickstarts.git/tree/fedora-cinnamon-packages.ks This does not simply run 'rpm -qa' or 'dnf repoquery -installed', it lists the smallest number of lines that a kickstart would use to reproduce the same installation.
Show exact output of both commands and provide what you are expecting. Not just link and few words.
Created attachment 1105212 [details] "rpm -qa" output for compare
Created attachment 1105213 [details] "show-installed" output for compare.
This attached output is from a simple bootup, and run both the commands in question. You can see that one file is very concise and easy to read, with only top-level deps listed. The other file is every single package installed, without regard to any dep-tree.
ok, makes sense, but i dont have time to implement it now.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
I am sorry but the issue is not active for a while therefore I am closing it.