Torbrowser-launcher 在尝试更新自身时因出现 404 错误而无法启动

Torbrowser-launcher 在尝试更新自身时因出现 404 错误而无法启动

我使用torbrowser-launcher(15.10 上的 Wily/universe amd64 存储库中的软件包版本 0.2.0-2),它运行Tor 浏览器 5.0.4

从今天起,更新至5.5a4-硬化变得可用,torbrowser-launcher不再启动浏览器,但尝试自行更新。但由于下载错误:404 未找到正如您在下面的两个屏幕截图中看到的。如果我Yes在系统要求切换到默认镜像时单击,则不会发生任何变化。仍然是相同的错误。下次尝试时,系统仍会抱怨非默认镜像。

在此处输入图片描述
在此处输入图片描述

当我torbrowser-launcher在终端中运行时,我得到了这个:

Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.2.0
https://github.com/micahflee/torbrowser-launcher
Updating over Tor
Checked for update within 24 hours, skipping
TBB is out of date, attempting to upgrade to 5.5a4-hardened
Downloading https://dist.torproject.org/torbrowser/5.5a4-hardened/sha256sums.txt
Traceback (most recent call last):
  File "/usr/bin/torbrowser-launcher", line 30, in <module>
    torbrowser_launcher.main()
  File "/usr/lib/python2.7/dist-packages/torbrowser_launcher/__init__.py", line 69, in main
    app = Launcher(common, url_list)
  File "/usr/lib/python2.7/dist-packages/torbrowser_launcher/launcher.py", line 130, in __init__
    self.build_ui()
  File "/usr/lib/python2.7/dist-packages/torbrowser_launcher/launcher.py", line 284, in build_ui
    self.start(None)
  File "/usr/lib/python2.7/dist-packages/torbrowser_launcher/launcher.py", line 293, in start
    self.run_task()
  File "/usr/lib/python2.7/dist-packages/torbrowser_launcher/launcher.py", line 318, in run_task
    self.download('signature', self.common.paths['sha256_url'], self.common.paths['sha256_file'])
  File "/usr/lib/python2.7/dist-packages/torbrowser_launcher/launcher.py", line 454, in download
    agent = SOCKS5Agent(reactor, VerifyTorProjectCert(self.common.paths['torproject_pem']), proxyEndpoint=torEndpoint)
  File "/usr/lib/python2.7/dist-packages/txsocksx/http.py", line 58, in __init__
    super(_SOCKSAgent, self).__init__(*a, **kw)
  File "/usr/lib/python2.7/dist-packages/txsocksx/http.py", line 37, in __init__
    'contextFactory must implement IPolicyForHTTPS')
NotImplementedError: contextFactory must implement IPolicyForHTTPS

如果我从终端打开 Tor 浏览器设置torbrowser-launcher --settings,选择不同的镜像并“在下次启动时搜索更新”,然后单击Launch TorBrowser,我会得到以下对话框和终端输出(第一次回答Start,第二次回答Exit):

在此处输入图片描述

$ torbrowser-launcher --settings
Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.2.0
https://github.com/micahflee/torbrowser-launcher
$ Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.2.0
https://github.com/micahflee/torbrowser-launcher
Updating over Tor
Checking for update
Downloading https://www.torproject.org/projects/torbrowser/RecommendedTBBVersions
Checking to see if update is needed
TBB is out of date, attempting to upgrade to 5.5a4-hardened
Downloading https://www.oignon.net/dist/torbrowser/5.5a4-hardened/sha256sums.txt
Download error: [<twisted.python.failure.Failure <class 'service_identity.exceptions.VerificationError'>>] <class 'twisted.web._newclient.ResponseNeverReceived'>
Downloading https://www.oignon.net/dist/torbrowser/5.5a4-hardened/sha256sums.txt.asc
Download error: [<twisted.python.failure.Failure <class 'service_identity.exceptions.VerificationError'>>] <class 'twisted.web._newclient.ResponseNeverReceived'>
Downloading https://www.oignon.net/dist/torbrowser/5.5a4-hardened/tor-browser-linux64-5.5a4-hardened_en-US.tar.xz
Download error: [<twisted.python.failure.Failure <class 'service_identity.exceptions.VerificationError'>>] <class 'twisted.web._newclient.ResponseNeverReceived'>
Verifying signature
Starting download over again
Downloading https://www.oignon.net/dist/torbrowser/5.5a4-hardened/tor-browser-linux64-5.5a4-hardened_en-US.tar.xz
Download error: [<twisted.python.failure.Failure <class 'service_identity.exceptions.VerificationError'>>] <class 'twisted.web._newclient.ResponseNeverReceived'>

这是否只是服务器端的一个临时问题?或者我可以/必须做些什么来解决这个问题?我希望我的 Tor 浏览器可以恢复正常运行。

答案1

首先,我甚至不知道 Tor 是在官方仓库中,谢谢。其次,我从来没有遇到过使用 Tor 浏览器的问题WEB UPD8 ppa

清除torbrowser-launcher并通过 ppa 安装:

sudo add-apt-repository ppa:webupd8team/tor-browser
sudo apt-get update
sudo apt-get install tor-browser

相关内容