Problem installing Tor service on kali linux 2021.3 in VMware

:slightly_smiling_face:Hi
I ran the tour service with the following command ==> apt-get install tor
but it does not work properly and the sites are still filtered, then uninstalled service
i cant go to this site without vpn and its need running at Installation time
:grinning:found this link Why and how I can enable Tor Package Repository in Debian? | Tor Project | Support
I did what was written inside the site but in the end, when I execute the following command, it gives an error apt update

I added the star * character in the error text myself because it is not possible to put more than 2 links in the post

:frowning_face:and this is the error

apt update
Ign:2 https://deb.torproject.org/torproject.org kali-rolling InRelease
Ign:3 https://deb.torproject.org/torproject.org InRelease
Ign:4 https://deb.torproject.org/torproject.org tor-experimental-0.4.6.x- InRelease
Get:1 http://ftp.halifax.rwth-aachen.de/kali kali-rolling InRelease [30.6 kB]
Err:5 https://deb.torproject.org/torproject.org kali-rolling Release
404 Not Found [IP: 95.216.163.36 443]
Err:6 https://deb.torproject.org/torproject.org Release
404 Not Found [IP: 95.216.163.36 443]
Err:7 https://deb.torproject.org/torproject.org tor-experimental-0.4.6.x- Release
404 Not Found [IP: 95.216.163.36 443]
Reading package lists... Done
E: The repository 'https://deb.torproject.org/torproject.org kali-rolling 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.
E: The repository 'https://deb.torproject.org/torproject.org 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.
E: The repository 'https://deb.torproject.org/torproject.org tor-experimental-0.4.6.x- 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.

and this command error : apt install tor deb.torproject.org-keyring

E: Unable to locate package deb.torproject.org-keyring
E: Couldn't find any package by glob 'deb.torproject.org-keyring'

:yellow_heart:I hope you can help me and thank you

Installing tor is not the same as running tor. apt-get install tor is to install.

Everything you need is in the error messages:

N: See apt-secure(8) manpage for repository creation and user configuration details.

N: Updating from such a repository can't be done securely, and is therefore disabled by default.

You need to read the man page, change configuration files to allow updating from the repository, and go again. But be sure you know what you are doing and why. Security default policies exist for a reason.

Not to be snarky, but if that isn't enough guidance to get you going, you need to work/learn/search/read/experiment, probably starting with a simpler distribution. The Kali distribution (which is NOT UbuntuMATE) is not really aimed at beginners (and it has its own separate support community). People here may not be your best source of information for an entirely different Linux distribution, which is only a cousin to the Ubuntu world.

I'm no expert in other distributions, but it looks like you are trying to install tor, from the Debian repository, using the distribution kali-rolling. Kali-rolling is not a Debian release, it is a separate distribution based on Debian. There may be no such repository available; at least I don't see it when I manually access deb.torproject.org, which you can do with any browser. Lastly, categorically, if this is all at the edge of your experience, stay away from experimental releases. They are not intended for your usage, but for development and testing.

Understanding those limits, people here are friendly and will try to help you out.

3 Likes

You may benefit from reading Kali Linux's own docs

1 Like

:slightly_smiling_face: :pray:Thanks for your guidance and I almost started working with Kali Linux