command-not-found does not suggest 'whois' package

Bug #1070194 reported by Matthew Saffer
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
command-not-found (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu Release:
Description: Ubuntu 12.04.1 LTS
Release: 12.04

Bug Description:
When I attempted to run the 'whois' command without installing the 'whois' package, I received the following output:

matt@ubuntu:~$ whois
No command 'whois' found, did you mean:
 Command 'rwhois' from package 'socks4-clients' (universe)
 Command 'jwhois' from package 'jwhois' (universe)
 Command 'cwhois' from package 'asused' (universe)
 Command 'gwhois' from package 'gwhois' (universe)
whois: command not found

Expected: Command 'whois' from package 'whois' (universe)

Actual: The 'whois' package is not mentioned.

Revision history for this message
Brandon Perry (bperry-volatile) wrote :

Hi, I have run into this as well. whois does not recommend the whois package when it is not installed.

bperry@w00den-pickle:~$ whois wut.tld
No command 'whois' found, did you mean:
 Command 'rwhois' from package 'socks4-clients' (universe)
 Command 'jwhois' from package 'jwhois' (universe)
 Command 'cwhois' from package 'asused' (universe)
 Command 'gwhois' from package 'gwhois' (universe)
whois: command not found
bperry@w00den-pickle:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"
bperry@w00den-pickle:~$

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in command-not-found (Ubuntu):
status: New → Confirmed
Revision history for this message
era (era) wrote :

Small correction: unlike the suggested packages, the plain whois package is in main, not in universe. This makes this bug even more puzzling.

precise$ whois launchpad.net
No command 'whois' found, did you mean:
 Command 'rwhois' from package 'socks4-clients' (universe)
 Command 'jwhois' from package 'jwhois' (universe)
 Command 'cwhois' from package 'asused' (universe)
 Command 'gwhois' from package 'gwhois' (universe)
whois: command not found

precise$ apt-cache policy whois
whois:
  Installed: (none)
  Candidate: 5.0.15ubuntu2
  Version table:
     5.0.15ubuntu2 0
        500 http://fi.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.