From 9127c1a56bc1504ae77df25b0da7a6d0a5f0bfe8 Mon Sep 17 00:00:00 2001 From: Attila Fazekas Date: Thu, 5 Nov 2015 10:09:02 +0100 Subject: [PATCH] Do not remove python-pip package on Fedora-23 python on fedora 23 compiled with rewheel support, in this case the python-pip is a required package, and cannot be removed. [1] http://pkgs.fedoraproject.org/cgit/python.git/tree/python.spec?id=3b6fac0339bab69ca5fbf2881568f0565ab0e252#n174 Change-Id: I499b7bec97c4360b32d156079f2b7f3923e3888a --- tools/install_pip.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/install_pip.sh b/tools/install_pip.sh index 13c1786fb9..ab5efb2e77 100755 --- a/tools/install_pip.sh +++ b/tools/install_pip.sh @@ -110,7 +110,11 @@ get_versions # Do pip # Eradicate any and all system packages -uninstall_package python-pip + +# python in f23 depends on the python-pip package +if ! { is_fedora && [[ $DISTRO == "f23" ]]; }; then + uninstall_package python-pip +fi install_get_pip