I tried installing Gerix Wifi Cracker. Everything is going great until the last step where I'm supposed to install it by typing:
sudo dpkg -i deb.debI then get the following error message:
dpkg: error processing archive deb.deb (--install): unable to open file '/var/lib/dpkg/ Is a directoryI've only been using linux for about a week and would appreciate any kind of help!
Edit: I followed the guide that was on here How to install Gerix-Wifi-Cracker?
12 Answers
- Open a terminal
Download your
debagain. eg:cd wgetDownload the package
sudo apt-get install dpkg-devCreate a temporary folder
mkdir ~/deb$$Make a copy of the
debfilecp gerix-wifi-cracker-ng-2.0-bt7.deb ~/deb$$And use this commands:
cd ~/deb$$ dpkg-deb -x gerix-wifi-cracker-ng-2.0-bt7.deb deb cd deb dpkg-deb -e ../gerix-wifi-cracker-ng-2.0-bt7.debCreate the file
nano ../svn.shAdd this code
#!/bin/bash # SVN Emergency Fix function rdirls() { for i in $1/* do if [ -d "$i" ] then echo $i rm -rf $i/.svn rdirls $i else echo "NOT " > /dev/null 2>&1 fi done } if [ -d "$1" ] then echo $1 rm -rf ./.svn rdirls $1 fiSave and close
Use this commands
chmod a+x ../svn.sh ../svn.sh . cd .. sudo dpkg-deb -b deb sudo dpkg -i deb.deb
To install software you need to use:
cd directory
sudo dpkg -i package_name.debMake sure you are in the proper directory as well
4