Tor ubuntu ошибка загрузки 404

I’m trying to install Tor browser from this article over here.
I’m using methon no. 2: Install Tor browser launcher using APT (Alternate Method).

I’m using Ubuntu 22.04 LTS, so I’ve made sure the Universe repository is enabled.
sudo add-apt-repository universe && sudo apt update

After that, I’ve installed the Tor browser launcher like this:
sudo apt install torbrowser-launcher
It was all fine. No hurdles on the way.

I understand that this is not the browser itself. Tor browser launcher is just the installer. So, I’ve run the launcher using the following command:
torbrowser-launcher
and while this command was executed, an Error 404 was displayed. The second file was not there to be downloaded.

my_login@huawei-matebook-d16:~$ torbrowser-launcher
Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.3.3
https://github.com/micahflee/torbrowser-launcher
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
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: 12.0.2
Downloading https://dist.torproject.org/torbrowser/12.0.2/tor-browser-linux64-12.0.2_en-US.tar.xz.asc
Download Error: 404

This file simply doesn’t exist under the specified url address.
https://dist.torproject.org/torbrowser/12.0.2/tor-browser-linux64-12.0.2_en-US.tar.xz.asc

I went to this site: https://dist.torproject.org/torbrowser/12.0.2/ and there is no such file there: https://dist.torproject.org/torbrowser/12.0.2/tor-browser-linux64-12.0.2_en-US.tar.xz.asc.
There is only this file:https://dist.torproject.org/torbrowser/12.0.2/tor-browser-linux64-12.0.2_ALL.tar.xz.asc.

What should I do now?
Is the installer broken?
I’m reluctant to use flatpack. I already have this snaps I have to deal with and apt installer. I don’t want to install software using third way of doing this. I want to use a working apt installer method.

I it possible to edit this url path somewhere, to point Tor launcher to existing tor-browser-linux64-12.0.2_ALL.tar.xz.asc file?

I’m on Ubuntu 22.04, latest update. Installed the torbrowser-launcher from the official repo.

Doing this changes should make the torbrowser-launcher works as expected. But before you do, you must remove this directories ~/.cache/torbrowser, ~/.local/share/torbrowser, ~/.config/torbrowser as they save information for the launcher and the fix won’t work using those.

Be aware that if you have a working Tor Browser installation, you will lose your settings and working installations. Using this fix for the torbrowser-launcher doesn’t take into account existing installations, but gives an idea on why the launcher fails to download the current version.

First change this line on /usr/lib/python3/dist-packages/torbrowser_launcher/common.py on line 171, you will need root access to make changes to this file:

if hasattr(self, 'settings') and self.settings['force_en-US']:
    language = 'en-US'
else:
    #language = self.language
    language = "ALL"

Commented out the variable language and set it again with the value "ALL", that way the launcher will look for the correct signatures and tarballs files in the mirror.

Also made a change in line 277 of the same file, this time when setting up the variables to the install location, the launcher will refer to the language setting and set it as part of the directory installation, but the actual package downloaded by the launcher will refer to the directory as tor-browser and not by tor-browser_ALL as the launcher would expect it to do:

"tbb": {
    "changelog": tbb_local 
    + "/tbb/" 
    + self.architecture 
    + "/tor-browser" 
    + "/Browser/TorBrowser/Docs/ChangeLog.txt",
    #+ "/tor-browser_"
    #+ language
    "dir": tbb_local + "/tbb/" + self.architecture,
    "dir_tbb": tbb_local 
    + "/tbb/" 
    + self.architecture 
    + "/tor-browser",
    #+ "/tor-browser_"
    #+ language,
    "start": tbb_local 
    + "/tbb/" 
    + self.architecture 
    + "/tor-browser" 
    + "/start-tor-browser.desktop",
    #+ "/tor-browser_"
    #+ language
},

Here there are three entries that must be changed. All of them refers to /tor-browser_ + language as part of the installation directory. It must be changed to /tor-browser and attention on the second entry as it must end with ,.

This fix is terrible, it doesn’t remove the language setting at all, just fixes it in order to make it work with what is available in the mirror. I guess we need to wait for the devs to make this fix on the repo package, by that time those changes will be rewritten and hopefully still works.

Hope this helps.

Я использую torbrowser-launcher (версия пакета 0.2.0-2 из репозитория Wily/universe amd64 15.10), которая запускает Tor Browser 5.0.4.

С сегодняшнего дня, после обновления до 5.5a4-закаленной стало доступно, torbrowser-launcher больше не запускает браузер, но пытается обновить себя. Однако это не удается из-за ошибки загрузки: 404 Not Found, как вы можете видеть на двух скриншотах ниже. Если я нажимаю » Да", когда он просит переключиться на зеркало по умолчанию, это ничего не меняет. Все та же ошибка. И при следующей попытке он все равно будет жаловаться на зеркало не по умолчанию.

Когда я бегу 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", я получаю следующее диалоговое окно и вывод терминала (первый ответ » Пуск", второй ответ » Выход"):

$ 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 Browser вернулся и работал.

Probably related to issue #206

I’ve written a question on AskUbuntu.com about this:

I use torbrowser-launcher (package version 0.2.0-2 from the Wily/universe amd64 repository on Ubuntu 15.10) which runs Tor Browser 5.0.4.

Since today, after the update to 5.5a4-hardened became available, torbrowser-launcher does not start the browser any more but tries to update itself. This however fails due to a Download error: 404 Not Found as you can see in the two screenshots below. If I click Yes when it asks to switch to the default mirror, that doesn’t change anything. Still the same error. And on the next try, it will still complain about a non-default mirror.

enter image description here
enter image description here

When I run torbrowser-launcher in a terminal, I get this:

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

If I open the Tor Browser Settings from terminal torbrowser-launcher --settings, select a different mirror and to «search for updates on next launch», then click on Launch TorBrowser, I get the following dialogue and terminal output (first answering Start, second time answering Exit):

enter image description here

$ 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'>

What is wrong here and how can it be fixed?

Asked
7 years, 6 months ago

Viewed
946 times

I just downloaded Tor Browser via apt-get install tor-browser and when I run it, it starts a little update window saying the tarball will be downloaded, but then it says: «Download Error: 404 not found.»
I’m running a fresh stable Debian 8.

Jobiwan's user avatar

Jobiwan

3,7352 gold badges17 silver badges31 bronze badges

asked Nov 26, 2015 at 2:24

Malavo's user avatar

1

You must log in to answer this question.

Browse other questions tagged

.

Понравилась статья? Поделить с друзьями:
  • Tor browser ошибка при установлении защищенного соединения
  • Tor browser ошибка при запуске приложения 0xc000007b
  • Tor browser ошибка загрузки 404
  • Tm5 ошибка во 2 тесте
  • Tls код оповещения о неустранимой ошибке 70