PDA

View Full Version : error: unable to fetch 404 install tor



captain104
2022-07-07, 18:20
Hello,

I've installed kali 2022.2 today and all went well.
Then I wanted to install tor so I did a apt update and the a apt install tor.

Then the error messages came, see below.

I've tried updating the repo's and sources.list but nothing worked.
This is the uncommented line in the sources.list:
deb http://http.kali.org/kali kali-rolling main contrib non-free


Yes I did a sudo apt update afterwords.

What I noticed was the errors contains a tor version that is indeed not available (0.4.6....).
I'm no expert so I'm not sure if that info was helpful.

I also did a new install on a different machine today and same story.

Thank you for the help. I'm new and did my best to follow the guidelines.

┌──(kali㉿kali)-[~]
└─$ sudo apt update
[sudo] password for kali:
Hit:1 http://mirror.serverius.net/kali kali-rolling InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.

┌──(kali㉿kali)-[~]
└─$ sudo apt install tor
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
tor-geoipdb torsocks
Suggested packages:
mixmaster torbrowser-launcher apparmor-utils nyx obfs4proxy
The following NEW packages will be installed:
tor tor-geoipdb torsocks
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,497 kB of archives.
After this operation, 16.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://http.kali.org/kali kali-rolling/main amd64 tor amd64 0.4.6.10-1
404 Not Found [IP: 192.99.200.113 80]
Err:2 http://http.kali.org/kali kali-rolling/main amd64 tor-geoipdb all 0.4.6.10-1
404 Not Found [IP: 192.99.200.113 80]
Get:3 http://mirror.serverius.net/kali kali-rolling/main amd64 torsocks amd64 2.3.0-3 [76.6 kB]
Fetched 76.6 kB in 1s (101 kB/s)
E: Failed to fetch http://http.kali.org/kali/pool/main/t/tor/tor_0.4.6.10-1_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/t/tor/tor-geoipdb_0.4.6.10-1_all.deb 404 Not Found [IP: 192.99.200.113 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

captain104
2022-07-08, 20:43
Found the solution. Seemed to be something wrong with the mirrors.
here's the fix.

First use a vpn, this maybe won't work on the first try so try some different regions.

Then again, sudo apt update
Then, sudo apt-get upgrade

There shoud be a large package update coming in now.

Then try and install again.

Fred Sheehan
2022-07-08, 22:21
search for an available version

apt search package-name

weller
2022-07-13, 11:04
I just made a thread with a similar issue.. the mirror with this IP is broken
192.99.200.113

It does not contain all the files. I fixed my issue by looking at the kali.org mirrors and add one that worked to my sources.list
http://http.kali.org/README.mirrorlist

GeneConnor
2022-10-03, 14:29
I just made a thread with a similar issue.. the mirror with this IP is broken
192.99.200.113

It does not contain all the files. I fixed my issue by looking at the kali.org mirrors and add one that worked to my sources.list
http://http.kali.org/README.mirrorlist


Which mirror did you use? I tried all 4 US mirrors shown at http://http.kali.org/README.mirrorlist
and they all report "E: Unable to locate package kali-win-kex"

Thanks

Fred Sheehan
2022-10-07, 18:43
In Kali, settings, kali tweaks, change repo to cloudflare CDN and try again

GeneConnor
2022-10-10, 19:46
Thanks Fred. I ended up getting it to work by using http://ftp.free.fr/pub/kali

It was slower, but it did get everything. Then I ran sudo apt install -y kali-linux-large So now I have Win-Kex and a big Kali install running on WSL2.

Should my first post be marked as SOLVED? If so, you can do it or I can.