aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/dnf.py2
-rw-r--r--sos/plugins/yum.py7
2 files changed, 8 insertions, 1 deletions
diff --git a/sos/plugins/dnf.py b/sos/plugins/dnf.py
index e5426706..8fb8fc6d 100644
--- a/sos/plugins/dnf.py
+++ b/sos/plugins/dnf.py
@@ -50,6 +50,8 @@ class DNFPlugin(Plugin, RedHatPlugin):
"dnf --version",
"dnf list installed *dnf*",
"dnf list extras",
+ "package-cleanup --dupes",
+ "package-cleanup --problems"
])
if self.get_option("history"):
diff --git a/sos/plugins/yum.py b/sos/plugins/yum.py
index c8124204..b6df7c80 100644
--- a/sos/plugins/yum.py
+++ b/sos/plugins/yum.py
@@ -75,7 +75,12 @@ class Yum(Plugin, RedHatPlugin):
"/etc/pki/consumer/cert.pem",
"/etc/pki/entitlement/*.pem"
])
- self.add_cmd_output("yum history")
+
+ self.add_cmd_output([
+ "yum history",
+ "package-cleanup --dupes",
+ "package-cleanup --problems"
+ ])
# packages installed/erased/updated per transaction
if self.get_option("yum-history-info"):