如何修复 apt 错误:NO_PUBKEY 458CA832957F5868
问题:
运行 apt update 时,你看到以下错误消息:
apt_error_no_pubkey_tailscale.txt
Err:27 https://pkgs.tailscale.com/stable/ubuntu jammy InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 458CA832957F5868解决方案
此错误是由于 Tailscale 仓库使用过时的(截至 2022 年 4 月)apt-key 导入密钥方法而发生的。
你可以通过再次安装 tailscale 仓库来导入密钥(这些命令列在官方 tailscale 安装页面上):
install_tailscale_keyring.sh
curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/jammy.noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg >/dev/null
curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/jammy.tailscale-keyring.list | sudo tee /etc/apt/sources.list.d/tailscale.list然后运行
apt_update.sh
apt update再次。
Check out similar posts by category:
Linux
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow