Results 1 to 7 of 7

Thread: error: unable to fetch 404 install tor

  1. #1
    Join Date
    2022-Jul
    Posts
    3

    error: unable to fetch 404 install tor

    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?

  2. #2
    Join Date
    2022-Jul
    Posts
    3
    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.

  3. #3
    Join Date
    2021-May
    Location
    UK
    Posts
    507
    search for an available version

    apt search package-name

  4. #4
    Join Date
    2022-Jul
    Posts
    4
    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

  5. #5
    Join Date
    2022-Oct
    Posts
    2
    Quote Originally Posted by weller View Post
    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

  6. #6
    Join Date
    2021-May
    Location
    UK
    Posts
    507
    In Kali, settings, kali tweaks, change repo to cloudflare CDN and try again

  7. #7
    Join Date
    2022-Oct
    Posts
    2
    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.


Similar Threads

  1. Apt-get upgrade: unable to fetch some archives
    By Luko in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-09-06, 07:02
  2. Replies: 0
    Last Post: 2017-07-04, 23:57
  3. Unable to fetch some archives
    By ohm in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2016-03-05, 02:24
  4. Replies: 3
    Last Post: 2015-12-08, 04:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •