Skip to content

Commit

Permalink
Recommend a plugin to resolve expired GPG keys
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostyX committed Dec 2, 2024
1 parent 69d1f64 commit 6cf18a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dnf/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 6cf18a7

Please # to comment.