From 61505591c29493e5dc1ba19ccf9930600e4e43cb Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 27 May 2020 20:10:44 +0800 Subject: [PATCH] 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 --- bootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap b/bootstrap index 2c7ff27f10..d1c3dadcbb 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 -- 2.39.5