Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI – How to Get yum/dnf Info From sosreport 

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: 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!