这就是我每次做apt时都会遇到的错误--获取更新或任何与apt相关的内容。
这是错误
Err:2 https://apt.releases.hashicorp.com focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DA418C88A3219F7B我甚至去过:
/etc/apt/sources.list.d$ ls但没有发现任何与hashicorp有关的东西。我如何摆脱这个恼人的GPG键?
alessandro-strada-ubuntu-ppa-focal.list
alessandro-strada-ubuntu-ppa-focal.list.save
google-chrome.list
google-chrome.list.save
home:manuelschneid3r.list
home:manuelschneid3r.list.save
linuxgndu-ubuntu-sqlitebrowser-focal.list
linuxgndu-ubuntu-sqlitebrowser-focal.list.save
pgdg.list
pgdg.list.save
protonvpn-stable.list
protonvpn-stable.list.save
teams.list
teams.list.save
webupd8team-ubuntu-y-ppa-manager-focal.list
webupd8team-ubuntu-y-ppa-manager-focal.list.save$ grep -r hashicorp /etc/apt --include="*.list"
/etc/apt/sources.list:deb [arch=amd64] https://apt.releases.hashicorp.com focal main
/etc/apt/sources.list:# deb-src [arch=amd64] https://apt.releases.hashicorp.com focal main发布于 2021-10-26 16:57:10
您有两个可能的解决方案:
sudo apt-get update。https://askubuntu.com/questions/1371754
复制相似问题