我尝试运行从 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
Your version of Tor Browser is out-of-date. Downloading the newest version.
Downloading https://aus1.torproject.org/torbrowser/update_3/release/Linux_x86_64-gcc3/x/en-US
$ echo $?
0
然后我尝试打开 Tor 浏览器设置,看看是否有什么我可以做的。我尝试“重新安装 Tor 浏览器”并得到这个输出:
$ torbrowser-launcher --settings
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'
/usr/bin/gpg2
我用解决了失踪问题sudo apt install gnupg2
。一些帖子建议运行gpg --homedir "$HOME/.local/share/torbrowser/gnupg_homedir/" --refresh-keys
来刷新密钥,但我仍然不断收到有关过期密钥的相同错误消息。看着Tor 浏览器文档我首先尝试并得到了相同的结果,然后。gpg --auto-key-locate nodefault,wkd --locate-keys [email protected]
gpg --homedir "$HOME/.local/share/torbrowser/gnupg_homedir/" --auto-key-locate nodefault,wkd --locate-keys [email protected]
此时,尝试通过torbrowser-launcher --settings
结果升级首先出现错误消息:
您安装的 Tor 浏览器版本低于应有的版本,这可能是攻击的迹象!
这似乎是一个已知问题然后安装程序就卡住了:
解决方法:运行~/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/start-tor-browser
直接启动新版Tor Browser 10。