Terminal

在 Kali 2016.2 VM 上安裝 Tor 時出錯

  • May 11, 2018

我正在嘗試在 Kali Linux 2016.2 上安裝 TOR,但我收到以下錯誤消息。

   apt-get install tor
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
 libssl1.0.0 tor-geoipdb torsocks
Suggested packages:
 mixmaster xul-ext-torbutton tor-arm polipo | privoxy apparmor-utils obfsproxy
The following NEW packages will be installed:
 libssl1.0.0 tor tor-geoipdb torsocks
0 upgraded, 4 newly installed, 0 to remove and 11 not upgraded.
Need to get 3,034 kB of archives.
After this operation, 10.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Err:1 http://http.kali.org/kali sana/main amd64 libssl1.0.0 amd64 1.0.1k-3
 404  Not Found
Err:2 http://http.kali.org/kali sana/main amd64 tor amd64 0.2.5.12-1
 404  Not Found
Err:3 http://http.kali.org/kali sana/main amd64 torsocks amd64 2.0.0-3
 404  Not Found
Err:4 http://http.kali.org/kali sana/main amd64 tor-geoipdb all 0.2.5.12-1
 404  Not Found
E: Failed to fetch http://http.kali.org/kali/pool/main/o/openssl/libssl1.0.0_1.0.1k-3_amd64.deb  404  Not Found

E: Failed to fetch http://http.kali.org/kali/pool/main/t/tor/tor_0.2.5.12-1_amd64.deb  404  Not Found

E: Failed to fetch http://http.kali.org/kali/pool/main/t/torsocks/torsocks_2.0.0-3_amd64.deb  404  Not Found

E: Failed to fetch http://http.kali.org/kali/pool/main/t/tor/tor-geoipdb_0.2.5.12-1_all.deb  404  Not Found

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
deb [arch=i386,amd64,armel,armhf] http://http.kali.org/kali kali-dev main contrib non-free
deb [arch=i386,amd64,armel,armhf] http://http.kali.org/kali kali-dev main/debian-installer
deb-src http://http.kali.org/kali kali-dev main contrib non-free

deb [arch=i386,amd64,armel,armhf] http://http.kali.org/kali kali main contrib non-free
deb [arch=i386,amd64,armel,armhf] http://http.kali.org/kali kali main/debian-installer
deb-src http://http.kali.org/kali kali main contrib non-free

deb [arch=i386,amd64,armel,armhf] http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free

用上面的行覆蓋我的 /etc/apt/sources.list 文件,然後使用,apt-get update然後apt-get upgrade解決問題。

最初我的 /etc/apt/sources.list 文件包含這兩行

deb http://http.kali.org/kali sana main non-free contrib deb http://security.kali.org/kali-security/ sana/updates main contrib non-free

我從這個論壇的一個答案中得到了解決方案

https://forums.kali.org/archive/index.php/t-142.html

引用自:https://unix.stackexchange.com/questions/309417