赞
踩
ubuntu18.04 apt-get update失败
W: GPG error: https://www.scootersoftware.com bcompare4 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EC34ED227AFAE3F2
E: The repository 'https://www.scootersoftware.com bcompare4 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.
报错显示是这个key非法,所以添加key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EC34ED227AFAE3F2
可能又报错,也可能成功
Executing: /tmp/apt-key-gpghome.kqQzk2dNQt/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys EC34ED227AFAE3F2
gpg: keyserver receive failed: No data
把刚才报错的那个网址前面的勾取消,再进行apt-get udate就可以了。
注:如果产生别的报错,可以再尝试去切换源试试
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。