Bug 2335257 - "dnf history userinstalled" not documented as removed in DNF5
Summary: "dnf history userinstalled" not documented as removed in DNF5
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf5
Version: 41
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Petr Pisar
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-01-02 13:31 UTC by Kamil Páral (Red Hat)
Modified: 2025-01-11 01:42 UTC (History)
10 users (show)

Fixed In Version: dnf5-5.2.8.1-4.fc42 dnf5-5.2.8.1-3.fc41
Clone Of:
Environment:
Last Closed: 2025-01-11 01:42:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github rpm-software-management dnf5 pull 1981 0 None open doc: "dnf history userinstalled" replaced with "dnf repoquery --userinstalled" 2025-01-03 15:35:13 UTC

Description Kamil Páral (Red Hat) 2025-01-02 13:31:28 UTC
Description of problem:
I often used "dnf history userinstalled" to see which leaf packages I deliberately installed. E.g. to back them up for a future OS reinstall, or to replicate them on my different machine, etc. However, "dnf history userinstalled" is no longer available in DNF5.

The "Changes between DNF and DNF5" doesn't list it, though:
https://dnf5.readthedocs.io/en/latest/changes_from_dnf4.7.html

Please include "dnf history userinstalled" in the document above, and ideally also document a command to achieve the same goal in DNF5.

Thank you.

Version-Release number of selected component (if applicable):
dnf5-5.2.8.1-2.fc41.x86_64

Comment 1 Petr Pisar 2025-01-03 15:15:19 UTC
For your information, the replacing command is already recommend in DNF4's manual:

              [...] Note the same results can  be  accomplished
              with dnf repoquery --userinstalled,

Comment 2 Petr Pisar 2025-01-03 15:22:08 UTC
I agree we should document in dnf5-changes-from-dnf4(7) manual that "dnf repoquery --userinstalled" should be used instead.

Comment 3 Petr Pisar 2025-01-06 12:51:15 UTC
Resolved upstream.

Comment 4 Fedora Update System 2025-01-09 12:46:52 UTC
FEDORA-2025-f3bc917e71 (dnf5-5.2.8.1-3.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-f3bc917e71

Comment 5 Fedora Update System 2025-01-10 03:12:07 UTC
FEDORA-2025-f3bc917e71 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-f3bc917e71`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-f3bc917e71

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2025-01-11 01:42:43 UTC
FEDORA-2025-f3bc917e71 (dnf5-5.2.8.1-3.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, 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.