From 4fe0a0ea9eb201188076b1e24e4dd3b6d679e9f9 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 25 Apr 2021 15:24:10 +0000 Subject: [PATCH] invoke nested <> as root without this the nested dnf repoquery wanders off into the weeds while it re-downloads all the repo data --- modules/ROOT/pages/dnf-system-upgrade.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/dnf-system-upgrade.adoc b/modules/ROOT/pages/dnf-system-upgrade.adoc index 0f43a30..fb1a4d1 100644 --- a/modules/ROOT/pages/dnf-system-upgrade.adoc +++ b/modules/ROOT/pages/dnf-system-upgrade.adoc @@ -155,7 +155,7 @@ If you see a package you do not need, or use, you can remove it with: [source,bash] ---- -sudo dnf remove $(dnf repoquery --extras --exclude=kernel,kernel-\*) +sudo dnf remove $(sudo dnf repoquery --extras --exclude=kernel,kernel-\*) ---- You can safely remove packages no longer in use with: