Package: ibus Version: 1.5.19-4 If a user has installed a local python3 (e.g. Anaconda) ibus-setup may fail to run because of a missing library:
Traceback (most recent call last): File "/usr/share/ibus/setup/main.py", line 31, in <module> from gi.repository import GLib ImportError: No module named 'gi' The fix for this error is found in the Debian Python policy ( https://www.debian.org/doc/packaging-manuals/python-policy/ch-python.html#s-interpreter_loc), which requires the Debian Python interpreter to be specified in scripts. The ibus-setup script should explicitly execute the system python3 rather than the first python3 found in $PATH, by changing: exec python3 /usr/share/ibus/setup/main.py $@ to: exec /usr/bin/python3 /usr/share/ibus/setup/main.py $@