Aircrack-ng installation problem

822 views
Skip to first unread message

Amitt Bhardwj

unread,
Feb 13, 2014, 8:28:08 AM2/13/14
to lugg...@googlegroups.com
I am using Elementary Os.When I run sudo apt-get install aircrack-ng command in terminal, it shows the following output: 

Reading package lists... Done
Building dependency tree       
Reading state information... Done
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

W: Duplicate sources.list entry http://dl.google.com/linux/chrome/deb/ stable/main amd64 Packages (/var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://dl.google.com/linux/chrome/deb/ stable/main i386 Packages (/var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
E: Package 'aircrack-ng' has no installation candidate.

How do I install it?



amitoj singh

unread,
Feb 13, 2014, 2:24:19 PM2/13/14
to lugg...@googlegroups.com
First of all update your system using
sudo apt-get update
then try this
http://rogueaii.blogspot.in/2012/12/aircrack-ng-full-installation.html

--
"Never repeat yourself"
Amitoj singh
slideshare.com/amitoj95
github.com/amitojsingh
amitojsworld.wordpress.com

Amitt Bhardwj

unread,
Feb 13, 2014, 11:09:18 PM2/13/14
to lugg...@googlegroups.com
When i run make sqlite=true unstable=true command as mentioned on the link, following output came and compilation failed

make -C src all
make[1]: Entering directory `/home/amitt/aircrack-ng-1.1/src'
make -C osdep
make[2]: Entering directory `/home/amitt/aircrack-ng-1.1/src/osdep'
Building for Linux
make[3]: Entering directory `/home/amitt/aircrack-ng-1.1/src/osdep'
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -I/usr/local/include -DHAVE_SQLITE -fPIC -I..    -c -o linux.o linux.c
linux.c: In function ‘is_ndiswrapper’:
linux.c:165:17: error: variable ‘unused’ set but not used [-Werror=unused-but-set-variable]
linux.c: In function ‘linux_set_rate’:
linux.c:334:22: error: variable ‘unused’ set but not used [-Werror=unused-but-set-variable]
linux.c: In function ‘linux_set_channel’:
linux.c:807:22: error: variable ‘unused’ set but not used [-Werror=unused-but-set-variable]
linux.c: In function ‘linux_set_freq’:
linux.c:896:22: error: variable ‘unused’ set but not used [-Werror=unused-but-set-variable]
linux.c: In function ‘set_monitor’:
linux.c:1022:22: error: variable ‘unused’ set but not used [-Werror=unused-but-set-variable]
linux.c: In function ‘do_linux_open’:
linux.c:1366:12: error: variable ‘unused_str’ set but not used [-Werror=unused-but-set-variable]
linux.c:1352:15: error: variable ‘unused’ set but not used [-Werror=unused-but-set-variable]
linux.c: In function ‘get_battery_state’:
linux.c:1982:35: error: variable ‘current’ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make[3]: *** [linux.o] Error 1
make[3]: Leaving directory `/home/amitt/aircrack-ng-1.1/src/osdep'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/amitt/aircrack-ng-1.1/src/osdep'
make[1]: *** [osd] Error 2
make[1]: Leaving directory `/home/amitt/aircrack-ng-1.1/src'
make: *** [all] Error 2




--
Whether you think you can or you cannot you are absolutely right.
---
You received this message because you are subscribed to the Google Groups "Linux User Group , Ludhiana" group.
To unsubscribe from this group and stop receiving emails from it, send an email to luggndec+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/luggndec.
To view this discussion on the web, visit https://groups.google.com/d/msgid/luggndec/CAKiq3ekQPvnOn2dbxEodgc6MnHfV56sxTiTkfC8TQb25FFLt3g%40mail.gmail.com.



--

I'm not a psychopath, I'm a highly functioning sociopath.

Reply all
Reply to author
Forward
0 new messages