Bug 27246 - command-not-found won't provide package if command is "similar" to installed command
Summary: command-not-found won't provide package if command is "similar" to installed ...
Status: RESOLVED FIXED
Alias: None
Product: PackageKit
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-22 10:00 UTC by Edward Rudd
Modified: 2010-03-23 06:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Edward Rudd 2010-03-22 10:00:08 UTC
Description of problem:
I am trying to run "kompare" (the KDE compare/diff GUI) but
pk-command-not-found suggests I should run "compare" instead.

Version-Release number of selected component (if applicable):
PackageKit-0.5.5-1.fc12@x86_64

How reproducible:
with similar names, every time.
ie.
kompare vs compare
htop vs top

Steps to Reproduce:
1. open a shell and have PackageKit-command-not-found installed
2. run a "similar" but uninstalled known command to something installed (ie..
htop)

Actual results:
Command not found. Similar command is: 'top'

Expected results:
asking me to install htop

Discussion of bug filed with Fedora Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=554801
Comment 1 Richard Hughes 2010-03-23 06:43:01 UTC
commit 6c32d907318f81ba7e4b0e477ebe3de2d7f6c906
Author: Richard Hughes <richard@hughsie.com>
Date:   Tue Mar 23 13:41:23 2010 +0000

    CNF: add a boolean configure variable 'SimilarNameSearch' to allow skipping swizzle testing. Fixes #27246



Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.