whois contains mkpasswd but is not suggested when the command is typed and not installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I don't really care which package it is in, but you should probably make the package suggestions include it.
# mkpasswd
or
# /usr/lib/
No command 'mkpasswd' found, did you mean:
Command 'kpasswd' from package 'heimdal-clients' (universe)
Command 'kpasswd' from package 'krb5-user' (universe)
Command 'kpasswd' from package 'openafs-kpasswd' (universe)
Command 'tkpasswd' from package 'expect-dev' (main)
mkpasswd: command not found
Related to bug 284416 but I don't want to reopen that one. I am not suggesting splitting the package.
on openSUSE, the equivalent works fine:
# mkpasswd
If 'mkpasswd' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf mkpasswd
# cnf mkpasswd
The program 'mkpasswd' can be found in following packages:
* whois [ path: /usr/bin/mkpasswd, repository: zypp (openSUSE:
* whois [ path: /usr/bin/mkpasswd, repository: zypp (repo-oss) ]
Try installing with:
zypper install whois
Thank you for reporting this bug and helping to make Ubuntu better.
I presume that this needs to be fixed in command-not-found?