The output of `yum history` command line is empty

Solution Verified - Updated -

Issue

  • yum history output command line is empty.
# yum history
Updating Subscription Management repositories.
ID     | Command line                                                | Date and time    | Action(s)      | Altered
------------------------------------------------------------------------------------------------------------------
    12 |                                                             | 2024-05-29 18:51 | Install        |    9   
    11 | install python3-libdnf                                      | 2024-05-29 18:46 | Upgrade        |    3   
    10 | install PackageKit                                          | 2024-05-29 18:43 | Install        |    5  
# yum history info 12
Updating Subscription Management repositories.
Transaction ID : 12
Begin time     : Wed 29 May 2024 06:51:26 PM IST
Begin rpmdb    : 715:f4121277343d065a36d0b2224f9c26d061ec50c2
End time       : Wed 29 May 2024 06:51:34 PM IST (8 seconds)
End rpmdb      : 724:85e42ea6e68ac90ad9e6730f3cafd9744a8747b9
User           : root <root>
Return-Code    : Success
Releasever     : 
Command Line   :                                                                  <======= empty
Comment        : 
Packages Altered:
    Install apr-1.6.3-12.el8.x86_64                                         @rhel-8-for-x86_64-appstream-rpms
    Install apr-util-bdb-1.6.1-9.el8.x86_64                                 @rhel-8-for-x86_64-appstream-rpms
    Install apr-util-openssl-1.6.1-9.el8.x86_64                             @rhel-8-for-x86_64-appstream-rpms
    Install httpd-2.4.37-62.module+el8.9.0+19699+7a7a2044.x86_64            @rhel-8-for-x86_64-appstream-rpms
    Install httpd-filesystem-2.4.37-62.module+el8.9.0+19699+7a7a2044.noarch @rhel-8-for-x86_64-appstream-rpms
    Install httpd-tools-2.4.37-62.module+el8.9.0+19699+7a7a2044.x86_64      @rhel-8-for-x86_64-appstream-rpms
    Install apr-util-1.6.1-9.el8.x86_64                                     @rhel-8-for-x86_64-appstream-rpms
    Install mod_http2-1.15.7-8.module+el8.9.0+21652+2dd1200b.5.x86_64       @rhel-8-for-x86_64-appstream-rpms
    Install mailcap-2.1.48-3.el8.noarch                                     @rhel-8-for-x86_64-baseos-rpms

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content