invoke nested <<dnf repoquery>> as root

without this the nested dnf repoquery wanders off into the weeds while it re-downloads all the repo data
This commit is contained in:
Andrew Cagney 2021-04-25 15:24:10 +00:00
parent 1078612696
commit 4fe0a0ea9e

View file

@ -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: