Bug 800727

Summary: PackageKit-command-not-found not working in F17?
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: PackageKitAssignee: Richard Hughes <hughsient>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: elad, hughsient, jonathan, rvitale, sashker, smparrish
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-31 15:19:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jens Petersen 2012-03-07 05:07:41 UTC
Description of problem:
PackageKit-command-not-found doesn't seem to be doing anything
for me excepting slowing down "command not found errors".

Version-Release number of selected component (if applicable):
PackageKit-command-not-found-0.7.3-1.fc17

How reproducible:
every time

Steps to Reproduce:
1. install Fedora 17 Nightly Live
2. $ fedpkg
  
Actual results:
bash: fedpkg: command not found

Expected results:
PK to to offer to install fedpkg

Additional info:
I still feel it might be better not to install
PackageKit-command-not-found by default.

Comment 1 sashker 2012-05-08 12:14:52 UTC
To resolve this error - you need edit /etc/Package/CommandNotFound.conf and change MaxSearchTime parameter. In my case - I set this parameter to 15000, and PackageKit-command-not-found now works fine, but very slow. PackageKit-command-not-found is not use yum cache and searching all names from the network.

Comment 2 Elad Alfassa 2012-10-31 15:19:41 UTC

*** This bug has been marked as a duplicate of bug 643778 ***