I hit the same problem.
You can run the following command to fix the issue.
sed -i 's/ and s.find("-") == -1//' /usr/lib/byobu/include/select-session.py
I hit the same problem.
You can run the following command to fix the issue.
sed -i 's/ and s.find("-") == -1//' /usr/lib/ byobu/include/ select- session. py