diff --git a/dnf/cli/cli.py b/dnf/cli/cli.py index d3844df344..49f7fe315e 100644 --- a/dnf/cli/cli.py +++ b/dnf/cli/cli.py @@ -312,6 +312,8 @@ def gpgsigcheck(self, pkgs): if error_messages: for msg in error_messages: logger.critical(msg) + logger.info("\nUse the `--enableplugin=expired-pgp-keys' " + "paremeter to resolve the problem.\n") raise dnf.exceptions.Error(_("GPG check FAILED")) def latest_changelogs(self, package):