wrong app name "docker"

Bug #1622709 reported by Stefan Helmert
8
This bug affects 1 person
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
ProcVersionSignature: Ubuntu 3.16.0-76.98~14.04.1-generic 3.16.7-ckt27
Uname: Linux 3.16.0-76-generic x86_64
NonfreeKernelModules: openafs nvidia
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)

Revision history for this message
Stefan Helmert (stefan-helmert) wrote :
affects: apt (Ubuntu) → command-not-found (Ubuntu)
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

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/StableReleaseUpdates#Procedure

Changed in command-not-found (Ubuntu):
status: New → Fix Released
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.