[Bug 1129642] Re: lsb package incompatible with Python 2.7

Steve Langasek steve.langasek at canonical.com
Wed May 15 08:42:29 UTC 2013


*** This bug is a duplicate of bug 798192 ***
    https://bugs.launchpad.net/bugs/798192

** This bug has been marked a duplicate of bug 798192
   install_initd fails

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lsb in Ubuntu.
https://bugs.launchpad.net/bugs/1129642

Title:
  lsb package incompatible with Python 2.7

Status in “lsb” package in Ubuntu:
  New

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/1129642/+subscriptions




More information about the foundations-bugs mailing list