📌  相关文章
📜  如何在 apt 更新时修复过期的密钥 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:27.442000             🧑  作者: Mango

代码示例1
# run the following command:
sudo apt-key list | grep -A 1 expired

#           ~< KEY >~  copy the value after the `/`       
#pub   4096R/91FA4AD5 2016-12-14 [expired: 2018-12-14]  
#uid                  MongoDB 3.6 Release Signing Key  

#                                 change the  to what you see:   ~< KEY >~
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 91FA4AD5