Re: f15beta wierdness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2011-04-29 at 11:28 -0400, Neal Becker wrote:
> mkinitrd --help
> Usage:
>   pk-command-not-found [OPTION...]
> 
> PackageKit Command Not Found
> 
> Help Options:
>   -h, --help       Show help options

That is PackageKit implementing the bash command_not_found_handle.  For
details, take a look at ...

        # rpm -qf /etc/profile.d/PackageKit.sh 
        PackageKit-command-not-found-0.6.13-1.fc15.x86_64

Using the bash command_not_found_handle, PackageKit attempts to find a
package that provides that missing command.  In your case, PackageKit.sh
is calling ...

        /usr/libexec/pk-command-not-found mkinitrd --help

The --help you provided on the initial command-line, is interpreted by
pk-command-not-found ... so you see ...

        /usr/libexec/pk-command-not-found --help
        Usage:
          pk-command-not-found [OPTION...]
        
        PackageKit Command Not Found
        
        Help Options:
          -h, --help       Show help options

Unless this is intended, I think it's worth a bug report against
PackageKit-command-not-found so it strips off any options, and only uses
the $1 provided (not the entire arg string $@).

Thanks,
James

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux