检查了类似问题的答案。仍然不适合我。
当前条目/etc/apt/sources.list
:
1. deb http://http.kali.org/kali kali-rolling main non-free contrib
2. deb http://http.kali.org/kali kali-last-snapshot main non-free contrib
3. deb-src http://http.kali.org/kali kali-rolling main non-free contrib
4. deb http://httpredir.debian.org/debian jessie main
5. deb-src http://httpredir.debian.org/debian jessie main
进而 :
apt-get update
apt-get install snort
结果是:
root@kalibib:~# apt-get install snort
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package snort
答案1
我找到了我自己问题的答案(不在 stackexchange 上)。为了使 snort 工作,source.list 中应包含以下内容:
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security sana/updates main contrib non-free
deb http://old.kali.org/kali moto main non-free contrib
答案2
谢谢,经过几天的搜索,这终于对我有用了。
deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security sana/updates main contrib non-free
但似乎没有做任何事情,因为我收到了 404 错误。