Bug 533663 - pk-command-not-found repeats "Command not found." after installation
Summary: pk-command-not-found repeats "Command not found." after installation
Keywords:
Status: CLOSED DUPLICATE of bug 533554
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-08 07:54 UTC by Jens Petersen
Modified: 2009-11-11 13:35 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-11-09 13:47:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jens Petersen 2009-11-08 07:54:33 UTC
Description of problem:
pk-command-not-found outputs "Command not found. ... [N/y]"
again after installing a missing command.

Version-Release number of selected component (if applicable):
PackageKit-command-not-found-0.5.4-0.1.20091029git.fc12.i686

How reproducible:
every time

Steps to Reproduce:
1. try to run uninstalled program (eg darcs)
2. say y to pk-command-not-found prompt
3. say y to confirm installation
4. wait for installation to complete

Actual results:
[jens@192-168-1-2 ~]$ darcs
Command not found. Install package 'darcs' to provide command 'darcs'? [N/y] 
 * Installing packages.. 
 * Getting information.. 
 * Waiting for authentication.. 
 * Running.. 
 * Resolving dependencies.. 
 * Downloading packages.. 
 * Testing changes.. 
 * Installing packages.. 
 * Scanning applications.. Command not found. [jens@192-168-1-2 ~]$ Install package 'darcs' to provide command 'darcs'? [N/y] 

Expected results:
[jens@192-168-1-2 ~]$ darcs
Command not found. Install package 'darcs' to provide command 'darcs'? [N/y] 
 * Installing packages.. 
 * Getting information.. 
 * Waiting for authentication.. 
 * Running.. 
 * Resolving dependencies.. 
 * Downloading packages.. 
 * Testing changes.. 
 * Installing packages.. 
 * Scanning applications..
[jens@192-168-1-2 ~]$ 

Additional info:
I wonder if this is possibly related to bug 533554.

Comment 1 Matthias Clasen 2009-11-09 13:35:43 UTC
This is fixed for me with PackageKit-0.5.4-0.2.20091029git.fc12

Comment 2 Michal Schmidt 2009-11-09 13:47:56 UTC
Richard said in https://bugzilla.redhat.com/show_bug.cgi?id=533554#c6 :
> I've found the bug, in that cnf tries to
> re-exec _itself_ after successful installation, when it should be trying to
> re-exec the program that it just installed.

Re-execing command-not-found explains the repeated "Command not found. ..." message. Closing as a duplicate.

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


Note You need to log in before you can comment on or make changes to this bug.