Public bug reported: The LSB utils use the old-style (Python 2.2) "raise" statement throughout the Python code for tools like initdutils. With Python 2.7, this causes them to error out. Example:
========= Stopping LogMeIn Hamachi VPN tunneling engine logmein-hamachi * Traceback (most recent call last): File "/usr/lib/lsb/remove_initd", line 3, in <module> import sys, re, os, initdutils File "/usr/lib/lsb/initdutils.py", line 18 raise ValueError, 'need a file or string' ^ SyntaxError: invalid syntax Unpacking replacement logmein-hamachi ... Setting up logmein-hamachi (2.1.0.86-1) ... Traceback (most recent call last): File "/usr/lib/lsb/install_initd", line 3, in <module> import sys, re, os, initdutils File "/usr/lib/lsb/initdutils.py", line 18 raise ValueError, 'need a file or string' ^ SyntaxError: invalid syntax Starting LogMeIn Hamachi VPN tunneling engine logmein-hamachi * Processing triggers for ureadahead ... ========== Please take two steps from here: 1. kick the bug upstream. 2. add a packaging requirement for lsb-core depending on Python 2.5 until they fix their code. ** Affects: lsb (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1129642 Title: lsb package incompatible with Python 2.7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/1129642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs