How To
Summary
A user encountered an issue while updating packages on a RHEL 9.3 VMware environment provisioned. Although a Red Hat Subscription was added to the environment, running dnf update resulted in a GPG key error specifically related to the Google Chrome repository. This document outlines the steps taken to resolve the issue.
Objective
Environment Details:
-
OS: RHEL 9.3
-
Problem Area: Package update failure (
dnf update) due to GPG key mismatch - User was able to resolved the issue using below document
Resolution Steps:
-
Identify the GPG key causing the error by running the following command:
rpm -q gpg-pubkey
Find the key that matches the one mentioned in the error (e.g. gpg-pubkey-d38b4796-570c8cd3). -
Remove the problematic Google GPG key:
rpm -e gpg-pubkey-d38b4796-570c8cd3 -
Re-import the correct Google public signing key:
rpm --import https://dl.google.com/linux/linux_signing_key.pub -
Run the following commands to update:
dnf check-update
dnf clean packages
dnf update
Done!
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
01 July 2025
UID
ibm17237397