1. 程式人生 > >Ubuntu16.04更新軟件源,執行apt-get update時出現“The following signatures couldn't be verified”錯誤

Ubuntu16.04更新軟件源,執行apt-get update時出現“The following signatures couldn't be verified”錯誤

apt-get bec code no_pubkey win sign lease 軟件 pan

Ubuntu16.04中科大軟件源:

deb http://mirrors.ustc.edu.cn/ubuntu/ trusty universe
deb-src http://mirrors.ustc.edu.cn/ubuntu/ trusty universe

Ubuntu16.04更新為中科大的軟件源後,執行apt-get update時出現以下錯誤:

W: GPG error: https://mirrors.ustc.edu.cn trusty InRelease: 
The following signatures couldn‘t be verified
because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8

解決方法:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7EA0A9C3F273FCD8

再次執行:

sudo apt-get update

Ubuntu16.04更新軟件源,執行apt-get update時出現“The following signatures couldn't be verified”錯誤