incorrect yum history DB location described in "Configuring basic system settings" documentation for RHEL8

Latest response

In Section 2.4 "Working with transaction history" , within "Configuring Basic System Settings" guide for RHEL8, the location of yum history DB is described as /var/lib/yum/history.

However on the installed system it is located at /var/lib/dnf/.
They're even no directory : /var/lib/yum.

Below is the output from my VM running rhel8
[root@rhel8-server1 lib]# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.0 (Ootpa)

[root@rhel8-server1 lib]# ls -l /var/lib/yum
ls: cannot access '/var/lib/yum': No such file or directory

[root@rhel8-server1 lib]# ls -l /var/lib/dnf
total 5400
-rw-r--r--. 1 root root 466944 Jul 24 14:02 history.sqlite
-rw-r--r--. 1 root root 32768 Jul 24 14:02 history.sqlite-shm
-rw-r--r--. 1 root root 5026432 Jul 24 14:01 history.sqlite-wa

Responses

Hi Prabhat,

The best way to get it corrected, is to open a support case for the product Customer Portal.

The discussion forum is mostly used by customers, and a few Red Hatters.

Regards,

Jan Gerrit

/var/lib/yum is no longer available, it has been replaced with /var/lib/dnf. It is advised to access the history database via yum history commands as the database format is considered a private API. If yum history is insufficient for any reason, a RFE with a use case should be made through opening a support case.

The path should be removed from the documentation, because we want to discourage users from using such private APIs.