Fix issue with pip2 command and update pip3 for mongodb
This patch will fix following issue logs: 2019-09-02 15:11:13.121 | dib-run-parts Running /tmp/in_target.d/install.d/25-trove-mongo-dep 2019-09-02 15:11:13.124 | + pip2 install pymongo 2019-09-02 15:11:13.125 | /tmp/in_target.d/install.d/25-trove-mongo-dep: line 9: pip2: command not found And move on pip3. Change-Id: I7cf16820091a0f977b41e3222abb866a9ae66166
This commit is contained in:
parent
b43248be79
commit
38efc97251
integration/scripts/files/elements
ubuntu-mongodb/pre-install.d
ubuntu-trusty-mongodb/install.d
ubuntu-xenial-mongodb/install.d
@ -5,7 +5,7 @@ set -o xtrace
|
||||
|
||||
[ -n "${RELEASE}" ] || die "RELEASE must be set to either trusty or xenial"
|
||||
|
||||
apt-get --allow-unauthenticated -y install software-properties-common
|
||||
apt-get --allow-unauthenticated -y install software-properties-common python3-pip
|
||||
|
||||
get_key_robust EA312927
|
||||
|
||||
|
@ -6,4 +6,4 @@
|
||||
set -e
|
||||
set -o xtrace
|
||||
|
||||
pip2 install pymongo>=3.0.2,!=3.1
|
||||
pip3 install pymongo>=3.0.2,!=3.1
|
||||
|
@ -6,4 +6,4 @@
|
||||
set -e
|
||||
set -o xtrace
|
||||
|
||||
pip2 install pymongo>=3.0.2,!=3.1
|
||||
pip3 install pymongo>=3.0.2,!=3.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user