command-not-found advice for LLVM programs is wrong
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: llvm
I don't know if this is a problem with the llvm package or the llvm-2.7 package, but the command-not-found advice I was given for LLVM programs on Maverick is wrong.
I tried to use the program "opt" and it told me to install llvm-2.7. I installed llvm-2.7 and it didn't install the program "opt". I finally installed the package llvm, which installed the correct program. Oddly, this installed llvm-2.8 and symlinked to that, so llvm-2.7 wasn't even the correct version of the package to suggest.
The command-not-found should suggest to install the package "llvm", not "llvm-2.7".
$ opt
The program 'opt' is currently not installed. You can install it by typing:
sudo apt-get install llvm-2.7
$ sudo apt-get install llvm-2.7
<installed>
$ opt
The program 'opt' is currently not installed. You can install it by typing:
sudo apt-get install llvm-2.7
$ dpkg -L llvm-2.7
...
/usr/bin/opt-2.7
...
<hmm...>
$ sudo apt-get install llvm
<installed>
$ opt
<works>
affects: | llvm (Ubuntu) → command-not-found (Ubuntu) |