Homebrew / homebrew-command-not-found

🔍 Ubuntu’s command-not-found equivalent for Homebrew on macOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support duplicates

bfontaine opened this issue · comments

Some executables can be provided by two different formulae.

IIRC in Ubuntu when an executable is available in multiple packages it gives them all, something like:

$ idontexist
The program 'idontexist' is currently not installed. It can be provided by the following packages:
    package1
    package2
    packageN

The current implementation gives only the first package.

Just checked:

The program 'emacs' can be found in the following packages:
 * emacs24
 * emacs24-nox
 * e3
 * emacs23
 * emacs23-lucid
 * emacs23-nox
 * emacs24-lucid
 * jove
Try: apt-get install <selected package>