无法在 Ubuntu 19.10 中更新 Brave 浏览器

无法在 Ubuntu 19.10 中更新 Brave 浏览器

我尝试问这个较早,但我的问题仍然存在。

我在我的 19.10 Ubuntu 笔记本电脑上运行 Brave 版本 1.2.43 Chromium:79.0.3945.130(官方版本)(64 位)。

如果我运行,sudo apt-get update我会遇到以下失败:

Get:13 https://brave-browser-apt-release.s3.brave.com eoan InRelease [3,162 B]                           
Hit:14 http://ppa.launchpad.net/system76/pop/ubuntu eoan InRelease
Err:15 http://ppa.launchpad.net/ian-berke/ppa-drawers/ubuntu eoan Release
  404  Not Found [IP: 2001:67c:1560:8008::15 80]
Err:13 https://brave-browser-apt-release.s3.brave.com eoan InRelease
  The following signatures were invalid: EXPKEYSIG A8580BDC82D3DC6C Brave Software <[email protected]>
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/ian-berke/ppa-drawers/ubuntu eoan Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
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 eoan InRelease: The following signatures were invalid: EXPKEYSIG A8580BDC82D3DC6C Brave Software <[email protected]>

如果我点击关联,我没有看到eoan版本,但我确实看到了xenial2016 年 5 月 4 日发布的版本。我应该编辑哪个文件来告诉 Ubuntu 使用该版本?

中的一个参考上次尝试时,有人建议我安装 ppa-purge。我照做了,但没有什么效果。

我不知道如何解决我的具体问题。我想更新 Brave。很抱歉我不太了解,但我希望得到有关具体纠正措施的建议。

我试过移除完全勇敢:

sudo apt remove brave-browser
sudo apt purge brave-browser
rm -rf ~/.config/BraveSoftware
rm -rf ~/.cache/BraveSoftware

我以为这会解决问题。但是当我执行时仍然出现相同的错误sudo apt-get update

我发现 Ubuntu 19.10 将于下个月到期。答案是升级到 20.10 然后再试一次吗?

答案1

删除过时的存储库。

sudo add-apt-repository --remove ppa:ian-berke/ppa-drawers

获取最新的 Brave 浏览器的密钥。

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 -

更新索引存储库,尝试再次安装 brave。

sudo apt update
sudo apt install brave-browser

相关内容