Bug 884615 - RFE: Provide list of packages installed on top of the system
RFE: Provide list of packages installed on top of the system
Product: Fedora
Classification: Fedora
Component: dnf (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Radek Holy
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-12-06 07:12 EST by Vít Ondruch
Modified: 2015-10-05 22:14 EDT (History)
3 users (show)

See Also:
Fixed In Version: dnf-0.4.9-1.fc20
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-12-13 21:45:04 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
screenshot (555.63 KB, image/png)
2013-12-05 00:10 EST, lnie
no flags Details

  None (edit)
Description Vít Ondruch 2012-12-06 07:12:13 EST
It would be nice if DNF could provide list of packages installed on top of the system. E.g.

1) I have fresh installed system,
2) I do "yum install ruby",
3) DNF would return 'ruby'.
4) If I uninstall Ruby, the list would be empty.

Note that the list does not contain any dependencies which might be installed to install Ruby.

This list of the packages would be useful to replicate the system settings on another computer. For me particularly, it would be helpfull during updates of Fedora. I like to do Fresh install of Fedora + N and it would help me to quickly install the same packages I am used to use on the old system.
Comment 1 Ales Kozumplik 2012-12-12 03:12:41 EST
Hi, I remember we talked about this, thanks for opening a bugzilla.
Comment 2 Vít Ondruch 2013-06-12 07:55:01 EDT
This blog post [1] caught my eyes. Unfortunately, it lists also packages installed by Anaconda, so it is not exactly what I am looking for.

[1] http://blog.christophersmart.com/2013/06/12/how-to-list-packages-you-have-explicitly-installed-using-yum/
Comment 3 Ales Kozumplik 2013-09-18 03:29:23 EDT
Assigning to Radek.

Radek, the information can be dug out from the history database which you're already working on.
Comment 4 Ales Kozumplik 2013-09-18 03:30:12 EDT
(also see bug 1009283)
Comment 5 Radek Holy 2013-11-27 08:19:53 EST
Added as new "history userinstalled" command by 358d7455f56ff9d3ae8be71124e5e86fecd472be on master.
Comment 6 Fedora Update System 2013-12-03 11:39:38 EST
dnf-0.4.9-1.fc20 has been submitted as an update for Fedora 20.
Comment 7 Fedora Update System 2013-12-03 13:20:21 EST
Package dnf-0.4.9-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-0.4.9-1.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Comment 8 lnie 2013-12-05 00:10:47 EST
Created attachment 833003 [details]
Comment 9 lnie 2013-12-05 00:15:30 EST
As you can seen from the screenshot,"dnf history userinstalled"dosen't work,
I do have xchat and libvirt installed.
Comment 10 Radek Holy 2013-12-06 07:07:21 EST
Hello, thank you for the testing. It seems that DNF is not able to find the installation reason of packages installed before the last installation. Would you please open a new bugzilla?
Comment 11 lnie 2013-12-08 23:06:38 EST
opened one,#bug1039415
Comment 12 Fedora Update System 2013-12-13 21:45:04 EST
dnf-0.4.9-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

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