diff --git a/debian/tribler.postinst b/debian/tribler.postinst index 966f983f2ad..a7b7bb5c793 100644 --- a/debian/tribler.postinst +++ b/debian/tribler.postinst @@ -1,6 +1,8 @@ if which pip >/dev/null 2>&1; then + # 2019-08-26 wheel is necessary for other pip installs + pip install --upgrade wheel # Install pony orm with pip since it is not available in Debian repository - pip install --user pony>=0.7.9 + pip install --upgrade pony==0.7.9 # 2019-02-13; Add lz4 compression ; Remove this once this library is updated in Debian repo - pip install --user lz4 + pip install --upgrade lz4 fi diff --git a/debian/tribler.prerm b/debian/tribler.prerm index b69bea38d4d..d7094ce14cc 100644 --- a/debian/tribler.prerm +++ b/debian/tribler.prerm @@ -3,4 +3,6 @@ if which pip >/dev/null 2>&1; then pip uninstall -y pony # Remove lz4 from pip pip uninstall -y lz4 + # Remove wheel the last + pip uninstall -y wheel fi \ No newline at end of file