JJ: centos/debian safe way to determine which python versions are available given a list of preferred versions