Public bug reported:

Binary package hint: command-not-found

On Jaunty:

bee...@crimson:~$ IFS=""
bee...@crimson:~$ set -x
bee...@crimson:~$ a-command-not-found
+ a-command-not-found
+ '[' -x /usr/lib/command-not-found ']'
+ /usr/bin/python /usr/lib/command-not-found -- a-command-not-found
+ return 127
-bash: a-command-not-found: command not found
bee...@crimson:~$ echo $BASH_VERSION
+ echo '3.2.48(1)-release'
3.2.48(1)-release

On Karmic:
19:58:06 pts/2 0 wesl...@eniac:~$ IFS="" ; set -x ; a-command-not-found
+ a-command-not-found
+ local cmd state rest
+ local -i pid ppid pgrp session tty_nr tpgid
+ test -n '' -o '!' -t 1
+ read pid cmd state ppid pgrp session tty_nr tpgid rest
bash: read: 4483 (bash) R 4387 4483 4170 34818 4483 4194368 176 0 0 0 0 0 0 0 
20 0 1 0 82923 5148672 330 4294967295 134512640 135280036 3213820224 3213818116 
6870050 0 0 0 1266695929 0 0 0 17 1 0 0 0 0 0: syntax error in expression 
(error token is "(bash) R 4387 4483 4170 34818 4483 4194368 176 0 0 0 0 0 0 0 
20 0 1 0 82923 5148672 330 4294967295 134512640 135280036 3213820224 3213818116 
6870050 0 0 0 1266695929 0 0 0 17 1 0 0 0 0 0")
19:58:17 pts/2 1 wesl...@eniac:~$ echo $BASH_VERSION
+ echo '3.2.48(1)-release'
3.2.48(1)-release

When IFS has a space character it works, but as soon as the space is
removed it breaks

command-not-found:
  Installed: 0.2.37ubuntu2
  Candidate: 0.2.37ubuntu2
  Version table:
 *** 0.2.37ubuntu2 0
        500 http://archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

In Jaunty the package has version 0.2.34 (
http://packages.ubuntu.com/jaunty/command-not-found )

** Affects: command-not-found (Ubuntu)
     Importance: Undecided
         Status: New

-- 
[karmic] Incorrect handling when IFS does not contain a space
https://bugs.launchpad.net/bugs/415030
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

Reply via email to