X

Ubuntu: An error occurred during the signature verification. The repository is not updated and the previous index files will be used.

Сегодня решил обновить десктопную Ubuntu и заметил что при попытке обновления репозиториев, появилась ошибка: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. Ошибка появилась из-за того, что изменился GPG ключ репозитория Skype..

Полный текст ошибки выглядит так

$ sudo apt-get update
...
Err:7 https://repo.skype.com/deb stable InRelease                                                               
  The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <se-um@microsoft.com>
...
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.skype.com/deb stable InRelease: The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <se-um@microsoft.com>
W: Failed to fetch https://repo.skype.com/deb/dists/stable/InRelease  The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <se-um@microsoft.com>
W: Some index files failed to download. They have been ignored, or old ones used instead.

Исправить проблему довольно просто, качаем и устанавливаем новый ключ

$ curl https://repo.skype.com/data/SKYPE-GPG-KEY | sudo apt-key add -
OK

После этого, обновление прошло без ошибок.

Тэги: skypeubuntu