RPM-GPG-KEY-AlmaLinux Fail to update

Symptoms

You are trying to perform a fresh install of cPanel or update an existing installation on an AlmaLinux 8 server, or CloudLinux server based on AlmaLinux 8. The installation or update fails, and the following is found in the logs:

[0000-00-00 00:00:00 +0000] W Public key for [package name] is not installed. Failing package is: [package name]
[0000-00-00 00:00:00 +0000] W GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
The installation process was unable to synchronize cPanel & WHM. Verify that your network can connect to httpupdate.cpanel.net and rerun the installer.

 

Description 

AlmaLinux has recently updated the GPG keys on their package distribution servers. This causes AlmaLinux server images created before the update to fail when attempting to download updates or install new packages with the old keys.

 

Workaround

The following command can be used to import the updated keys from AlmaLinux:

rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux

This command will import the updated keys, or if the server already trusts them, it will do nothing. Once complete, you should be able to update or install cPanel normally.

  • 0 Пользователи считают это полезным
Помог ли вам данный ответ?

Связанные статьи

Создание и установка SSL сертификата на Nginx

Для установки SSL сертификата на Nginx Вам необходимо:1. Скопировать файлы сертификата на...

Установка SSL сертификата на Apache 2

Для установки SSL сертификата на Apache вам следует:1. Скопировать файлы SSL сертификата на...

Настройка HTTPS в Apache

Веб-сервер Apache полностью поддерживает работу по HTTPS. Для того, чтобы активировать...

connect to 127.0.0.1[127.0.0.1]:10024: Connection refused

Бывает так что в почта на сервере не отправляеться и не принимает, в письмах оутлупа ошибка...

S.M.A.R.T. Мониторинг дисков под Adaptec AAC-Raid контроллером

Для мониторинга дисков под Adaptec AACRaid контролером можно использовать бесплатную утилиту...