OCI – How to Get yum/dnf Info From sosreport
in Linux
Applies to:
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Goal
This document outlines the steps required to generate an sosreport in order to get package history data.
Solution
All commands should be run as root or with sudo.
Oracle Linux 7:
1) Use the following command in OL7 :
$ sudo sosreport --batch --all-logs -k yum.yum-history-info
2) Once the sosreport has completed, "untar" the archive with:
$ sudo tar -xf sosreport-hostname.tar.xz
3) Change directory to the top line directory for the sosreport:
# cd sosreport-hostname
4) Check the command used to generate the sosreport, make sure that the correct command was used:
Tagged:
0