更新时出现GPG错误-Metasploit-如何修复



更新时出现GPG错误-Metasploit

# curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall &&   chmod 755 msfinstall &&   ./msfinstall
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100  5495  100  5495    0     0  67839      0 --:--:-- --:--:-- --:--:-- 67839
Switching to root user to update the package
Adding metasploit-framework to your repository list..gpg: can't connect to the agent: IPC connect call failed
Updating package cache..W: GPG error: http://downloads.metasploit.com/data/releases/metasploit-framework/apt lucid InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY CDFB5FA52007B954
E: The repository 'http://downloads.metasploit.com/data/releases/metasploit-framework/apt lucid InRelease' is not signed.
OK
Checking for and installing update..
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package metasploit-framework

如果你在运行WSL2.0的Ubuntu上看到了这种情况(或者即使你没有看到(,请删除gpg包,转而安装gnupg1包。

sudo apt remove gpg
sudo apt-get update -y
sudo apt-get install -y gnupg1 

在上查看更多详细信息

gpg:can';t连接到代理:IPC连接调用失败

相关内容

  • 没有找到相关文章

最新更新