Merge "RO, NBI, LCM and osmclient: Update pip to latest version"
authormadavi <jm00553988@techmahindra.com>
Tue, 10 Sep 2019 09:32:34 +0000 (11:32 +0200)
committerGerrit Code Review <root@osm.etsi.org>
Tue, 10 Sep 2019 09:32:34 +0000 (11:32 +0200)
1  2 
installers/full_install_osm.sh

@@@ -544,8 -544,8 +544,8 @@@ function install_osmclient()
      sudo add-apt-repository -y "deb [arch=amd64] $CLIENT_REPOSITORY_BASE/$CLIENT_RELEASE $CLIENT_REPOSITORY osmclient"
      sudo apt-get update
      sudo apt-get install -y python-pip
-     sudo -H LC_ALL=C pip install pip==9.0.3
-     sudo -H LC_ALL=C pip install python-magic
+     sudo -H LC_ALL=C pip install -U pip
+     sudo -H LC_ALL=C python -m pip install python-magic
      sudo apt-get install -y python-osmclient
      #sed 's,OSM_SOL005=[^$]*,OSM_SOL005=True,' -i ${HOME}/.bashrc
      #echo 'export OSM_HOSTNAME=localhost' >> ${HOME}/.bashrc
@@@ -630,7 -630,7 +630,7 @@@ function install_docker_compose() 
  
  function install_juju() {
      echo "Installing juju"
 -    sudo snap install juju --classic
 +    sudo snap install juju --classic --channel=2.5/stable
      [ -z "$INSTALL_NOLXD" ] && sudo dpkg-reconfigure -p medium lxd
      echo "Finished installation of juju"
      return 0