This looks like something that needs to be fixed in the script. Please file an issue on the openhabian repo. See How to file an Issue. The repo is at https://github.com/openhab/openhabian.
To do it by hand run
sudo apt-get -y --allow-downgrades -y install openhab2=2.5.0~M-1