Comment 0 for bug 1123193

Revision history for this message
Данило Шеган (danilo) wrote :

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 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.