From 3a3d1c33f010bf2cf323dd4a4da910a51763c785 Mon Sep 17 00:00:00 2001 From: mkogan Date: Mon, 30 Jan 2023 19:20:32 +0200 Subject: [PATCH] on ubuntu 20.04 the `python3-distro-info` package causes error `Invalid version: '0.23ubuntu1' (package: distro-info)` during bootstrap executing the command: `./virtualenv/bin/python setup.py develop` ref: https://bugs.launchpad.net/ubuntu/+source/distro-info/+bug/1991606/comments/18 Fixes: https://tracker.ceph.com/issues/58549 Signed-off-by: mkogan --- bootstrap | 1 + 1 file changed, 1 insertion(+) diff --git a/bootstrap b/bootstrap index 5478ff5..e48ac96 100755 --- a/bootstrap +++ b/bootstrap @@ -13,6 +13,7 @@ if [ -f /etc/debian_version ]; then echo "$0: missing required DEB packages. Installing via sudo." 1>&2 sudo apt-get -y install $missing fi + sudo apt-get remove -y python3-distro-info fi if [ -f /etc/redhat-release ]; then for package in python3-pip python3-virtualenv python3-devel libevent-devel libxml2-devel libxslt-devel zlib-devel; do -- 2.39.5