我无法安装 Brave 浏览器,而且似乎无法修复它。
W: GPG error: https://brave-browser-apt-release.s3.brave.com cosmic
InRelease: The following signatures were invalid: EXPKEYSIG 4FE13824E3FFC656 Brave Software <[email protected]>
E: The repository 'https://brave-browser-apt-release.s3.brave.com cosmic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
我尝试sudo apt-key list | grep expired
并得到:
pub rsa4096 2018-10-15 [SC] [expired: 2019-04-13]
uid [ expired] Brave Software <[email protected]>
我照做了sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 4FE13824E3FFC656
,得到了:
Executing: /tmp/apt-key-gpghome.1CQeA81kHh/gpg.1.sh --keyserver keys.gnupg.net --recv-keys 4FE13824E3FFC656
gpg: keyserver receive failed: No data
现在我陷入困境。有人能帮忙吗?
答案1
如果您使用的是 ubuntu 16.04 或更高版本,则可以使用 snap store 安装 brave。打开您的终端并输入sudo snap install brave
然后回车。
答案2
可以与sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4FE13824E3FFC656
答案3
您可以在 brave-key 服务器下添加 apt-key
sudo apt-key adv --keyserver brave-browser-apt-release.s3.brave.com --recv-keys <your missing public key>