Bug 1278124
Summary: | RFE: Add new option to repoquery - user-installed | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Matthew Miller <mattdm> |
Component: | dnf | Assignee: | Jaroslav Rohel <jrohel> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | audrey, fedora, jmracek, jrohel, mluscon, packaging-team-maint, pnemade, vmukhame |
Target Milestone: | --- | Keywords: | FutureFeature, Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | dnf-2.4.1-1.fc26 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-05-14 20:19:35 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
Matthew Miller
2015-11-04 17:25:15 UTC
@Matthew Miller I was actually trying to figure out a way to do this when I followed you from the Stack Exchange thread to here, and I read your comment about how DNF actually tracks user-installed applications already. So I took a closer look at the dnf manpage, and I think I got it... Perhaps you were looking at the `list` subcommand? That's what I would have expected. Try `dnf history userinstalled` instead. It lists some extra things that I think were actually installed by anaconda, such as gnome-shell, but it's pretty much just what we were looking for. Perhaps `dnf list` could have an alias added for `dnf history userinstalled`? For some reason, `dnf history` requires sudo access, which seems weird, since `dnf list installed` doesn't require such privileges. Running `dnf history` when backing up data and config files, and then running `dnf install` on the "userinstalled" list doesn't seem too complicated. But for less technical users, some might appreciate it if generating and using this list of applications were integrated into GNOME Software, or some other gui app. The new option "user-installed" will be better for dnf repoquery due to better capability to formating output and so on. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. If this issue is still being considered, the feature already exists as `dnf history userinstalled`. The only problem is that the output also includes a few things, such as anaconda, which I did not actually install myself, except as part of the process of installing Fedora itself. If we were to change the command line, I think it would make more sense as a --user option to `dnf list installed`, or as the original post suggested, `dnf list marked`. Something along those lines. PR with new option https://github.com/rpm-software-management/dnf/pull/797 dnf-2.4.1-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-e0fa49ff81 dnf-2.4.1-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-e0fa49ff81 dnf-2.4.1-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report. |