CentOS: Check package installation source
This adds `dnf list installed` command so that we can review from which repository a specific package is installed. Change-Id: I94b032aae6734282ebf7158e9a1ae61830fd667a
This commit is contained in:
parent
22166dd044
commit
9d4ed82fe6
@ -300,6 +300,7 @@ fi
|
||||
if [ `command -v rpm` ]; then
|
||||
rpm -qa |sort > $LOG_DIR/rpm-qa.txt
|
||||
sudo $YUM repolist -v > $LOG_DIR/repolist.txt
|
||||
sudo $YUM list installed > $LOG_DIR/installed-packages.txt
|
||||
sudo cp -r /etc/yum.repos.d $LOG_DIR/etc/yum.repos.d
|
||||
fi
|
||||
if [ `command -v dnf` ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user