ubuntu apt-get update 升级更新报错KEYE

2018-08-24  本文已影响0人  Lucus的随笔

升级时遇到报错
A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repo.mongodb.org precise/mongodb-org/3.4 Release: The following signatures were invalid: KEYEXPIRED 1515625755
使用命令
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6

成功更新

上一篇下一篇

猜你喜欢

热点阅读