Public bug reported: Binary package hint: command-not-found
Ubuntu 8.04 command-not-found version: 0.2.17ubuntu1 Command-not-found errors with a syntax error when Python 2.4 is used as the Python interpreter, instead of 2.5 that ships by default. Example with Python 2.5 as interpreter: [EMAIL PROTECTED]:~$ dog The program 'dog' is currently not installed. You can install it by typing: sudo apt-get install dog -bash: dog: command not found -- Example with Python 2.4 as interpreter: [EMAIL PROTECTED]:~$ dog File "/usr/lib/command-not-found", line 40 finally: ^ SyntaxError: invalid syntax -- I'm switching python versions by using the following command as root: unlink /usr/bin/python && ln -s /usr/bin/python2.4 /usr/bin/python ** Affects: command-not-found (Ubuntu) Importance: Undecided Status: New -- Invalid Syntax Error with Python 2.4 https://bugs.launchpad.net/bugs/234540 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs