wrong app name "docker"
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| command-not-found (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
This is a minor name bug. If I want to start the command "docker" in bash and docker.io is not installed, It recommends to install docker: "sudo apt-get install docker" - This is not the right package name. The docker command is associated with the "docker.io" package. So It has to recommend "sudo apt-get install docker.io".
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: apt 1.0.1ubuntu2.14
ProcVersionSign
Uname: Linux 3.16.0-76-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3.21
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Sep 12 20:22:18 2016
InstallationDate: Installed on 2016-01-21 (235 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)
| affects: | apt (Ubuntu) → command-not-found (Ubuntu) |

Thanks for taking your time to report this issue and help making Ubuntu better.
When attempting to run docker without having it installed on Ubuntu 16.04, I get the following message:
$ docker
Programmet «docker» er ikke installert. Du kan installere det ved å skrive følgende:
sudo apt install docker.io
It now recommends to install the correct package, so I believe this can be marked Fix Released. If you need a fix for the bug in previous versions of Ubuntu, please perform as much as possible of the SRU Procedure [1] to bring the need to a developer's attention. Though as you mention, this is a minor issue.
[1]: https:/ /wiki.ubuntu. com/StableRelea seUpdates# Procedure