Public bug reported: Since 12.10, there is no Python2 library for accessing command-not-found functionality: if a program was using it, it will stop working after upgrade to Quantal. An example of such a project is Linaro Image Tools which relies on CommandNotFound to find packages missing commands are in.
Solution is either to port code to Python3 (very hard) or simply to keep providing a python2 package of command-not-found library. A test case is simple: python -c "import CommandNotFound" I'll be linking a branch (based on lp:ubuntu/quantal/command-not-found) that introduces python-command-not-found package with Python2 libraries: I am sure I've done many things wrong in it, and I'd be happy to get any comments on it. ** Affects: command-not-found (Ubuntu) Importance: Undecided Status: New ** Branch linked: lp:~danilo/ubuntu/quantal/command-not- found/python2-package ** Description changed: Since 12.10, there is no Python2 library for accessing command-not-found functionality: if a program was using it, it will stop working after upgrade to Quantal. An example of such a project is Linaro Image Tools which relies on CommandNotFound to find packages missing commands are in. Solution is either to port code to Python3 (very hard) or simply to keep providing a python2 package of command-not-found library. A test case is simple: - python -c "import CommandNotFound" + python -c "import CommandNotFound" - I'll be linking a branch that introduces python-command-not-found - package with Python2 libraries: I am sure I've done many things wrong in - it, and I'd be happy to get any comments on it. + I'll be linking a branch (based on lp:ubuntu/quantal/command-not-found) + that introduces python-command-not-found package with Python2 libraries: + I am sure I've done many things wrong in it, and I'd be happy to get any + comments on it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1123193 Title: No python2 support for CommandNotFound anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/1123193/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs