From: Kefu Chai Date: Wed, 27 May 2020 12:10:44 +0000 (+0800) Subject: bootstrap: s/python-pip/python3-pip/ for python3 on debian derivatives X-Git-Tag: 1.1.0~98^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1496%2Fhead;p=teuthology.git bootstrap: s/python-pip/python3-pip/ for python3 on debian derivatives python-pip was removed in debian/bullseye and ubuntu/focal, so let's replace it with python3-pip. and more importantly, for python3 support we should install python3-pip instead. Fixes: https://tracker.ceph.com/issues/45384 Signed-off-by: Kefu Chai --- diff --git a/bootstrap b/bootstrap index 2c7ff27f1..d1c3dadcb 100755 --- a/bootstrap +++ b/bootstrap @@ -23,7 +23,7 @@ Linux) if [[ "$PYTHON" =~ "python2" ]]; then deps=(qemu-utils python-dev libssl-dev python-pip python-virtualenv libev-dev libvirt-dev libmysqlclient-dev libffi-dev libyaml-dev) else - deps=(qemu-utils python3-dev libssl-dev python-pip python3-virtualenv libev-dev libvirt-dev libmysqlclient-dev libffi-dev libyaml-dev) + deps=(qemu-utils python3-dev libssl-dev python3-pip python3-virtualenv libev-dev libvirt-dev libmysqlclient-dev libffi-dev libyaml-dev) fi for package in ${deps[@]}; do if [ "$(dpkg --status -- $package|sed -n 's/^Status: //p')" != "install ok installed" ]; then