The attached patch implemens solution three: $ ./command-not-found systemtap No command 'systemtap' found. But there is a package 'systemtap' that contains the binaries: stap
Now the problem with that is that it needs to read all of the database (because the database maps binary->package and provides no reverse mapping). Now it appears that this does not make a difference (at least on my relatively fast system): # echo 3 > /proc/sys/vm/drop_caches # time ./command-not-found systemtap No command 'systemtap' found. But there is a package 'systemtap' that contains the binaries: stap real 0m3.330s user 0m0.416s sys 0m0.156s # echo 3 > /proc/sys/vm/drop_caches # time command-not-found systemtap bash: command-not-found: command not found real 0m3.350s user 0m0.324s sys 0m0.160s ** Attachment added: "patch" http://launchpadlibrarian.net/30454711/c-n-f-package.diff -- add alias hook for word "systemtap" pointing to systemtap package https://bugs.launchpad.net/bugs/413591 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
