Skip to content

Commit

Permalink
Perform "apt-get update" before install packages
Browse files Browse the repository at this point in the history
Update the manifests from upstream kali repo in order to get the latest package package versions before performing intallation of packages required by OWTF.
This will address issues currently found when trying install of OWTF on a fresh Kali 2.0 VM downloaded from Offsec Website. Resolves owtf#540

Signed-off-by: Doug Morato <dm@corp.io>
  • Loading branch information
dougmorato committed Jan 25, 2016
1 parent 594fbd1 commit 49d646c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions install/kali/install.sh
Expand Up @@ -14,6 +14,8 @@ RootDir=$1
########### Pip is the foremost thing that must be installed along with some needed dependencies for python libraries

apt_wrapper_path="$RootDir/install/aptitude-wrapper.sh"
# Perform apt-get update before starting to install all packages, so we can get the latests manifests and packages versions
sudo apt-get update
sudo -E "$apt_wrapper_path" python-pip xvfb xserver-xephyr libxml2-dev libxslt-dev
export PYCURL_SSL_LIBRARY=gnutls # Needed for installation of pycurl using pip in kali

Expand Down

0 comments on commit 49d646c

Please sign in to comment.