❤️ AZDIGI has officially updated to a new blog system. However, some posts may have incorrect or mismatched images. Please click the Report article button at the bottom of the post so AZDIGI can update as quickly as possible. Thank you!
In some cases, a VPS/Server using the AlmaLinux 8 operating system when first created will encounter an error message “
Error: GPG check FAILED ” when updating software with commandyum update ordnf update as shown below.

The cause occurs when AlmaLinux changes the GPG key so the GPG key stored in the operating system being used does not match.
To fix this error, you can execute the command update packagealmalinux-release There is no need to check the GPG key as follows:
dnf upgrade almalinux-release --nogpgcheck -y
Or you can also update all packages installed on the server with the following command.
dnf update --nogpgcheck -y
This versionalmalinux-release will be updated and use the new GPG key.
Wishing you success!
You might also like
- Fix the "The repository no longer has a Release file" error on Ubuntu
- Fix the error: YumRepo Error All mirror URLs are not using ftp http[s] or file
- Fixing the error of not posting posts when scheduling on WordPress
- Fix the Login failed error when accessing Terminal on aaPanel
- Convert CentOS 8 to AlmaLinux
- Fix the Unknown collation: utf8mb4_0900_ai_ci error
About the author
Thạch Phạm
Đồng sáng lập và Giám đốc điều hành của AZDIGI. Có hơn 15 năm kinh nghiệm trong phổ biến kiến thức liên quan đến WordPress tại thachpham.com, phát triển website và phát triển hệ thống.