]> git.apps.os.sepia.ceph.com Git - ragweed.git/commitdiff
on ubuntu 20.04 the `python3-distro-info` package causes error 24/head
authormkogan <mkogan@mkPT3620.usersys.redhat.com>
Mon, 30 Jan 2023 17:20:32 +0000 (19:20 +0200)
committerMark Kogan <mkogan@redhat.com>
Mon, 30 Jan 2023 17:32:15 +0000 (19:32 +0200)
`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 <mkogan@ibm.com>
bootstrap

index 68d42f3e3480cf5a4dd81bafe89dce92fce0b64c..a70fea25d44ed8d62076679292cc46397ea7cc4a 100755 (executable)
--- 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