bashate does not depend on prerequisites
[icn.git] / env / cd_package_installer.sh
index e6641d6..71bae01 100755 (executable)
@@ -10,6 +10,7 @@ function install_essential_packages {
     export DEBIAN_FRONTEND=noninteractive
     apt-get update
     apt-get -y install \
+    ca-certificates \
     crudini \
     curl \
     dnsmasq \
@@ -17,14 +18,17 @@ function install_essential_packages {
     nmap \
     patch \
     psmisc \
-    python-pip \
-    python-requests \
-    python-setuptools \
+    python3-pip \
+    python3-requests \
+    python3-setuptools \
     vim \
     wget \
     git \
     software-properties-common
 
+    update-alternatives --install /usr/bin/python python /usr/bin/python3 1
+    update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1
+
     add-apt-repository -y ppa:longsleep/golang-backports
     apt-get update
     apt-get install -y golang-go