MongoDB 4 - An error occurred during the signature verification - The repository is not updated and the previous index files will be used

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Версия от 07:18, 11 июня 2024; Admin iph (обсуждение | вклад)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к:навигация, поиск

MongoDB 4 - An error occurred during the signature verification - The repository is not updated and the previous index files will be used

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

 # 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:  https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release: The following signatures were invalid: EXPKEYSIG 656408E390CFB1F5 MongoDB 4.4   Release Signing Key <[email protected]> 
W: Failed to fetch https://repo.mongodb.org/apt/ubuntu/dists/focal/mongodb-org/4.4/Release.gpg  The following signatures were invalid: EXPKEYSIG  656408E390CFB1F5 MongoDB 4.4 Release Signing Key <[email protected]>
W: Some index files failed to download. They have been ignored, or old ones used instead.


Решение - обновить Ключ Подписи - Signing Key:

# wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
OK
# apt update