Ошибка обновления apt-get не удается установить mongoDB

Кажется, мне тоже не повезло! я пытаюсь установить базу данных mongo, но сталкиваюсь с проблемой при обновлении репозитория apt-get, как показано ниже

Reading package lists... Done   
E: The repository 'http://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/3.0 Release' does not have a Release file.
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.
W: GPG error: http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BC711F9BA15703C6
E: The repository 'http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 Release' 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.
W: GPG error: http://cz.archive.ubuntu.com/ubuntu precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5

я подозреваю, что что-то не так с /etc/apt/sources.list.d Может кто-нибудь помочь мне, как Могу ли я решить эту проблему и установить монго БД.

Большое спасибо, Сурья Киран.

1
задан 25 July 2019 в 20:50

1 ответ

Попробуйте этот код, чтобы решить вашу проблему. У меня это работает:

sudo rm -rf /var/lib/apt/lists/*
sudo apt-get update
0
ответ дан 31 December 2019 в 14:34

Другие вопросы по тегам:

Похожие вопросы: