Red Hat Bugzilla – Bug 1155918
let "history list" show all records
Last modified: 2015-02-20 03:32:04 EST
Description of problem:
"history list" lists just last ~20 records. Please allow to list all records.
Version-Release number of selected component (if applicable):
$ rpm -q dnf
Steps to Reproduce:
1. dnf history list
Lists just last ~20 records
List all records.
Although I don't mind how it will be achieved, it seems that DFN currently accepts "history list all" and even list all records, but the results may not be reliable and this command is not yet supported according to bug #1155878.
Thank you for the report. The use case is clear. We'll take a look.
For the record, the *yet unsupported* (but accepted) command "history list all" produces a different output than "history list" command, so it isn't just about adding the command to the documentation.
I would preffer printing all the results after execution of "dnf history list" and don't add new "all" option. "dnf list <spec_pattern>" prints ALL matched packages too.
Sounds good. One can use some pager if there will be more entries. I would be only worried about performance ...
Just to clarify what was my usecase which triggered this RFE. I was trying to find out when I installed one specific package and the "history list" was the obvious choice.
(In reply to Vít Ondruch from comment #3)
> Just to clarify what was my usecase which triggered this RFE. I was trying
> to find out when I installed one specific package and the "history list" was
> the obvious choice.
Maybe even the more obvious choice is "dnf history info <pkg>".
(In reply to Radek Holy from comment #4)
> Maybe even the more obvious choice is "dnf history info <pkg>".
Thanks for the tip, but for this case, you have to remember the package name, which I have forget already.
dnf-plugins-core-0.1.5-1.fc21,hawkey-0.5.3-2.fc21,dnf-0.6.4-1.fc21 has been submitted as an update for Fedora 21.
Package hawkey-0.5.3-2.fc21, dnf-plugins-core-0.1.5-1.fc21, dnf-0.6.4-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing hawkey-0.5.3-2.fc21 dnf-plugins-core-0.1.5-1.fc21 dnf-0.6.4-1.fc21'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
hawkey-0.5.3-2.fc21, dnf-plugins-core-0.1.5-1.fc21, dnf-0.6.4-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.