Tor 浏览器安装损坏了吗?

Tor 浏览器安装损坏了吗?

在 Ubuntu 20.04 上运行 Tor 浏览器将得到以下输出:

$ torbrowser-launcher 
Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.3.2
https://github.com/micahflee/torbrowser-launcher
Downloading Tor Browser for the first time.
Downloading https://aus1.torproject.org/torbrowser/update_3/release/Linux_x86_64-gcc3/x/en-US
Latest version: 10.0
Downloading https://dist.torproject.org/torbrowser/10.0/tor-browser-linux64-10.0_en-US.tar.xz.asc
Downloading https://dist.torproject.org/torbrowser/10.0/tor-browser-linux64-10.0_en-US.tar.xz
Verifying Signature
Refreshing local keyring...
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/torbrowser_launcher/launcher.py", line 589, in verify
    c.verify(signature=sig, signed_data=signed)
  File "/usr/lib/python3/dist-packages/gpg/core.py", line 541, in verify
    raise errors.BadSignatures(results[1], results=results)
gpg.errors.BadSignatures: 110775B5D101FB36BC6C911BEB774491D9FF06E2: Key expired

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/torbrowser_launcher/launcher.py", line 600, in run
    verify()
  File "/usr/lib/python3/dist-packages/torbrowser_launcher/launcher.py", line 594, in verify
    raise Exception
Exception

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/torbrowser_launcher/launcher.py", line 603, in run
    self.common.refresh_keyring()
  File "/usr/lib/python3/dist-packages/torbrowser_launcher/common.py", line 196, in refresh_keyring
    p = subprocess.Popen(['/usr/bin/gpg2', '--status-fd', '2',
  File "/usr/lib/python3.8/subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/gpg2'

我该如何解决?

答案1

更新:截至 2020 年 10 月 12 日,大约 UTC 时间 09:00,的版本0.3.2-9ubuntu1已发布到 focal-updates 存储库,通过执行 应该可以在 Focal 中获取修复版本sudo apt update && sudo apt install torbrowser-launcher

这是 Focal 中 Tor 浏览器启动器包的一个已知问题(当前存在的几个问题之一)。此错误以及其他三个错误在提议的存储库中有一个待修复程序,将解决此问题和其他问题:

由于上面列表中的第二个错误,您遇到的有关没有可用的 gpg2 的问题已在建议的存储库中得到修复。现在必须通过稳定版本更新验证,然后才能将修复发布到 -updates 存储库以供一般使用。

当 0.3.2-9ubuntu1 从 focal-proposed 发布到 20.04 的 focal-updates 存储库时,所有上述错误都将得到修复

相关内容