Where is your Fix Release ? I don't see anything. I believe in my Xenial 16.04 I have just fixed the error messages I got for caffeine and caffeine-indicator:
For /usr/bin/caffeine at the beginning of file in the import section I did add an import gi followed by a require_version i.e. import gi gi.require_version('Gtk', '3.0') import pkg_resources from gi.repository import GObject, Gtk, GLib For /usr/bin/caffeine-indicator idem import gi gi.require_version('Gtk', '3.0') gi.require_version('AppIndicator3', '0.1') import pkg_resources from gi.repository import GLib, Gtk, GObject, AppIndicator3 Now when launched by a Terminal cmd. line there is no warnings / no errors. Still after moving from Trusty 14.04 I had to edit the Start-up Applications Command: >From /usr/bin/caffeine To /usr/bin/caffeine-indicator -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1538116 Title: Caffeine Indicator error on startup. ImportError: cannot import name '_gi' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/caffeine/+bug/1538116/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs