[Bug 681495] Re: Suggests installing a package that is already installed

Dan Watkins daniel.watkins at canonical.com
Wed Apr 29 20:54:26 UTC 2020


This now happens with misspellings:

  $ locales

  Command 'locales' not found, did you mean:

    command 'locale' from deb libc-bin (2.31-0ubuntu9)

  Try: sudo apt install <deb name>

  $ dpkg -l libc-bin
  <snip header>
  ii  libc-bin       2.31-0ubuntu9 amd64        GNU C Library: Binaries

This is particularly unfortunate because it could lead to some users
unintentionally marking packages as manually installed.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to command-not-found in Ubuntu.
https://bugs.launchpad.net/bugs/681495

Title:
  Suggests installing a package that is already installed

Status in command-not-found package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: command-not-found

  $ dpkg -l unity
  ...
  ii  unity          3.1.4-0ubuntu4 Unity Interface for Ubuntu Netbook Edition

  $ unity
  The program 'unity' is currently not installed.  You can install it by typing:
  sudo apt-get install unity

  Ideally command-not-found should not prompt the user to install a
  package that is already installed, regardless of whether the database
  is out-of-date.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/681495/+subscriptions



More information about the foundations-bugs mailing list