Sergei_Erjemin
@Sergei_Erjemin
Улыбайся, будь самураем...

Как прописать pgp-ключ репы mongodb для mirror.yandex.ru/mirrors?

Устанавливаю BigBlueButton 2.5 на Ubuntu 20.04 LTE.

Скрпит установки падает.

По причине, что не ставится монга.

Сначала думал, что не подписываются репы монги.

Но оказалось, что родные репы вообще больше не доступны (из нашей страны).
62d80a79af63e334229960.pngПопробовал подключить зеркала https://mirror.yandex.ru/mirrors/repo.mongodb.org/apt/ ... но к ним не срабатывает pgp-ключ (он вроде лежит тут: .../ubuntu/dists/focal/mongodb-org/4.4/Release.gpg, но подозреваю, что это не тот ключ, а где взять тот -- не понятно...

Тогда отключаю проверку в своем mongodb-org-4.4.list. Получается так:
deb [ arch=amd64  trusted=yes ] https://mirror.yandex.ru/mirrors/repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multivers

После этого sudo apt update начинает что-то обновлять, но валится:
All packages are up to date.
W: GPG error: http://mirror.yandex.ru/mirrors/repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release: The following signatures were invalid: BADSIG 656408E390CFB1F5 MongoDB 4.4 Release Signing Key <packaging@mongodb.com>
W: Skipping acquire of configured file 'multivers/binary-amd64/Packages' as repository 'http://mirror.yandex.ru/mirrors/repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease' doesn't have the component 'multivers' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multivers/i18n/Translation-ru' as repository 'http://mirror.yandex.ru/mirrors/repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease' doesn't have the component 'multivers' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multivers/i18n/Translation-en_US' as repository 'http://mirror.yandex.ru/mirrors/repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease' doesn't have the component 'multivers' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multivers/i18n/Translation-en' as repository 'http://mirror.yandex.ru/mirrors/repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease' doesn't have the component 'multivers' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multivers/dep11/Components-amd64.yml' as repository 'http://mirror.yandex.ru/mirrors/repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease' doesn't have the component 'multivers' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multivers/dep11/icons-48x48.tar' as repository 'http://mirror.yandex.ru/mirrors/repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease' doesn't have the component 'multivers' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multivers/dep11/icons-64x64.tar' as repository 'http://mirror.yandex.ru/mirrors/repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease' doesn't have the component 'multivers' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multivers/dep11/icons-64x64@2.tar' as repository 'http://mirror.yandex.ru/mirrors/repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease' doesn't have the component 'multivers' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multivers/cnf/Commands-amd64' as repository 'http://mirror.yandex.ru/mirrors/repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease' doesn't have the component 'multivers' (component misspelt in sources.list?)


Похоже, что trusted=yes не освобождает от наличия pgp-ключа, но где его взять для mirror.yandex.ru -- не понятно.

Что делать?

UPD1: C домашнего компа (в своей виртуалке и через VPN), с подключенными родными репами происходит другой сбой. Удалил все ключи от монги, установил заново. В apt-key list правильный ключ:
pub   rsa4096 2019-05-28 [SC] [expires: 2024-05-26]
      2069 1EEC 3521 6C63 CAF6  6CE1 6564 08E3 90CF B1F5
uid           [ unknown] MongoDB 4.4 Release Signing Key <packaging@mongodb.com>


В результате apt update выдает:
E: Failed to fetch https://repo.mongodb.org/apt/ubuntu/dists/focal/mongodb-org/4.4/InRelease  403  Forbidden [IP: 18.165.122.101 443]
E: The repository 'https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Т.е. хочет загрузить по ссылке файл InRelease:

https://repo.mongodb.org/apt/ubuntu/dists/focal/mo...

Но на самом деле в репозитории файл Release:

https://repo.mongodb.org/apt/ubuntu/dists/focal/mo...

И теперь совсем непонятно что делать... :((
  • Вопрос задан
  • 876 просмотров
Пригласить эксперта
Ответы на вопрос 2
@Drno
как вариант - через впн подключиться и установить стандартным способом

по ключу - не подскажу
Ответ написан
Lynn
@Lynn
nginx, js, css
Вы в урле apt пропустили
https://mirror.yandex.ru/mirrors/repo.mongodb.org/apt/ubuntu
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы