Public bug reported: When the user installs a snap (like slack) but does not have /snap/bin in PATH the message is very confusing: ``` $ sudo snap install slack ... $ slack
Command 'slack' not found, but can be installed with: sudo apt install slack ``` The fix is that /snap/bin needs to be considered by c-n-f so that it can say: ``` command 'slack' is available in '/snap/bin/slack' The command could not be located because '/snap/bin' is not included in the PATH environment variable. slack: command not found ``` ** Affects: command-not-found (Ubuntu) Importance: Undecided Status: New ** Affects: command-not-found (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: command-not-found (Ubuntu Bionic) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1769088 Title: Incorrect message if /snap/bin is not in PATH To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/1769088/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs