MySQL - The following signatures couldn't be verified because the public key is not available - NO PUBKEY - Ubuntu 20.04

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Версия от 17:18, 22 февраля 2024; Admin iph (обсуждение | вклад) (Новая страница: «=== MySQL - The following signatures couldn't be verified because the public key is not available - NO PUBKEY - Ubuntu 20.03 === Ошибка при обновл...»)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к:навигация, поиск

MySQL - The following signatures couldn't be verified because the public key is not available - NO PUBKEY - Ubuntu 20.03

Ошибка при обновлении базы пакетов:

# apt update
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repo.mysql.com/apt/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B7B3B788A8D3785C
W: Failed to fetch http://repo.mysql.com/apt/ubuntu/dists/focal/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B7B3B788A8D3785C
W: Some index files failed to download. They have been ignored, or old ones used instead.

Решение - это добавить ключи GPG для репозитория MySQL:

# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B7B3B788A8D3785C
# apt update
# apt upgrade -y