From: mkogan Date: Mon, 30 Jan 2023 17:20:32 +0000 (+0200) Subject: on ubuntu 20.04 the `python3-distro-info` package causes error X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=75f5a77dc667c6b0fc8964c85f2ee3344076783b;p=ragweed.git 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 --- diff --git a/bootstrap b/bootstrap index 68d42f3..a70fea2 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