勇敢更新错误

勇敢更新错误

尝试更新我的系统,但出现错误更新。我该如何解决?谢谢

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://brave-browser-apt-release.s3.brave.com xenial InRelease: The following signatures were invalid: KEYEXPIRED 1555193394  KEYEXPIRED 1555193433  KEYEXPIRED 1555193433  KEYEXPIRED 1555193394  KEYEXPIRED 1555193433  KEYEXPIRED 1555193394  KEYEXPIRED 1555193433
W: Failed to fetch https://brave-browser-apt-release.s3.brave.com/dists/xenial/InRelease  The following signatures were invalid: KEYEXPIRED 1555193394  KEYEXPIRED 1555193433  KEYEXPIRED 1555193433  KEYEXPIRED 1555193394  KEYEXPIRED 1555193433  KEYEXPIRED 1555193394  KEYEXPIRED 1555193433
W: Some index files failed to download. They have been ignored, or old ones used instead.

答案1

我用了

curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add -

source /etc/os-release

echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ $UBUNTU_CODENAME main" | sudo tee /etc/apt/sources.list.d/brave-browser-release-${UBUNTU_CODENAME}.list

sudo apt update

sudo apt install brave-keyring brave-browser

现在看来一切都好了……

来源

相关内容