Ubuntu 18.04 - ошибка E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Доступная цена


Ubuntu 18.04 - ошибка E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation

Ошибка вида:

# sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv 9DA31620334BD75D9DCB49F368818C72E52529D4
E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation

Решение - это доустановить пакет gnupg2:

# apt-get install gnupg2


Проверяем:

~# sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv 9DA31620334BD75D9DCB49F368818C72E52529D4
Executing: /tmp/apt-key-gpghome.9zSruIM4RA/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com --recv 
9DA31620334BD75D9DCB49F368818C72E52529D4
gpg: key 68818C72E52529D4: public key "MongoDB 4.0 Release Signing Key <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1