无法安装aircrack-ng

每当我尝试在终端中安装aircrack-ng ,我都会收到以下错误:

 Package aircrack-ng is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: iw E: Package 'aircrack-ng' has no installation candidate" 

我是Ubuntu的新手,所以不知道该怎么做。

消息说,它已从ubuntu存储库中删除。 您可以通过执行以下步骤来安装它

 sudo apt-get install build-essential sudo apt-get install libssl-dev wget http://download.aircrack-ng.org/aircrack-ng-1.1.tar.gz tar -zxvf aircrack-ng-1.1.tar.gz cd aircrack-ng-1.1 

在aircrack-ng-1.1目录中有一个名为common.mak的文件,使用您喜欢的编辑器打开文件并向下滚动,直到看到以下行:

 CFLAGS ?= -g -W -Wall -Werror -O3 

删除-Werror变量,以使该行现在如下所示。 保存并退出。

 CFLAGS ?= -g -W -Wall -O3 

在终端中运行makesudo make install以启动和运行aircrack-ng 。“

对于build-essential请更新管理器>设置> ubuntu软件,看看是否检查了top main。

在此处输入图像描述

我在PPA中有精确的 。 我是为另一个问题做的。 如果您需要添加PPA的说明,他们就在这里 。

  • PPA是否可以安全地添加到我的系统中,需要注意哪些“危险信号”?

看起来它不再存在于存储库中了。 我知道aircrack-ng在Ubuntu 10.10存储库中,所以你可能想尝试使用Ubuntu 10.10而不是当前版本(12.04)。 但您也可以使用其他方式在12.04中安装它。 然后,您将使用.deb文件安装aircrack-ng 。 您只需双击此文件,它将在Ubuntu软件中心中打开。 要获取32位Ubuntu安装(i386)的.deb文件,请单击此处 。 如果您使用的是64位Ubuntu安装(amd64),请单击此处 。

Debian软件包可在此处获得: http : //ubuntu2.cica.es/ubuntu/ubuntu/pool/universe/a/aircrack-ng/

您需要下载相应的包架构

 wget http://ubuntu2.cica.es/ubuntu/ubuntu/pool/universe/a/aircrack-ng/aircrack-ng_1.1-6_amd64.deb dpkg -i aircrack-ng_1.1-6_amd64.deb 

这是帮助命令

 root@chillax:/usr/local/src# aircrack-ng --help Aircrack-ng 1.1 - (C) 2006, 2007, 2008, 2009 Thomas d'Otreppe Original work: Christophe Devine http://www.aircrack-ng.org usage: aircrack-ng [options] <.cap / .ivs file(s)> Common options: -a  : force attack mode (1/WEP, 2/WPA-PSK) -e  : target selection: network identifier -b  : target selection: access point's MAC -p  : # of CPU to use (default: all CPUs) -q : enable quiet mode (no status output) -C  : merge the given APs to a virtual one -l  : write key to file Static WEP cracking options: -c : search alpha-numeric characters only -t : search binary coded decimal chr only -h : search the numeric key for Fritz!BOX -d  : use masking of the key (A1:XX:CF:YY) -m  : MAC address to filter usable packets -n  : WEP key length : 64/128/152/256/512 -i  : WEP key index (1 to 4), default: any -f  : bruteforce fudge factor, default: 2 -k  : disable one attack method (1 to 17) -x or -x0 : disable bruteforce for last keybytes -x1 : last keybyte bruteforcing (default) -x2 : enable last 2 keybytes bruteforcing -X : disable bruteforce multithreading -y : experimental single bruteforce mode -K : use only old KoreK attacks (pre-PTW) -s : show the key in ASCII while cracking -M  : specify maximum number of IVs to use -D : WEP decloak, skips broken keystreams -P  : PTW debug: 1: disable Klein, 2: PTW -1 : run only 1 try to crack key with PTW WEP and WPA-PSK cracking options: -w  : path to wordlist(s) filename(s) -r  : path to airolib-ng database (Cannot be used with -w) --help : Displays this usage screen 

请参阅此处了解更多信息: http : //www.aircrack-ng.org/doku.php?id = downloads