From 1111bc3f02e0a1c0d6aa1e89f0a5541ecd24554c Mon Sep 17 00:00:00 2001 From: Peter Oliver Date: Thu, 27 Jun 2024 16:12:18 +0100 Subject: [PATCH] Suggest cleaning up old RPM keys after distribution upgrade --- modules/ROOT/pages/upgrading-fedora-offline.adoc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/ROOT/pages/upgrading-fedora-offline.adoc b/modules/ROOT/pages/upgrading-fedora-offline.adoc index 5cc060d..a62e86a 100644 --- a/modules/ROOT/pages/upgrading-fedora-offline.adoc +++ b/modules/ROOT/pages/upgrading-fedora-offline.adoc @@ -255,6 +255,17 @@ echo "Removed old kernels" exit 0 ---- +[[sect-clean-up-old-keys]] +=== Clean-up old keys trusted for RPM package signing + +Keys from older Fedora releases and third-party repositories will accumulate in the RPM database over time. You can remove keys no-longer referenced from `/etc/yum.repos.d/` with: + +[source,bash] +---- +sudo dnf install clean-rpm-gpg-pubkey +sudo clean-rpm-gpg-pubkey +---- + [[sect-clean-up-old-symlinks]] === Clean-up old symlinks