On 06/14/2017 09:52 AM, Matt Morgan wrote:
> On a newish computer with F25, I see this at the command line when I
> type in a command that's not installed:
> 
> [matt@envious ~]$ pv
> bash: pv: command not found...
> 
> and then it just sits there until I ctrl-c or similar. I assume what's
> happening is it's trying to check for what package provides that
> command, but failing.
> 
> Has anyone else seen this? What can I do about it?
> 
> Apologies if this is a common error--it's resistant at least to the
> search terms I can think of.

Yes, it can be VERY annoying--especially if you have a lot of RPMs
installed and RPM searches are slow.

That bash functionality is part of an RPM called

        PackageKit-command-not-found

When installed, it inserts a file, "/etc/profile.d/PackageKit.sh", that
login shells include when they read /etc/profile on startup. You can

        sudo dnf remove PackageKit-command-not-found

if you want to get rid of that, uhm, "functionality" (or simply delete
"/etc/profile.d/PackageKit.sh" or move it to some directory other than
/etc/profile.d).
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ri...@alldigital.com -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-      Always remember you're unique, just like everyone else.       -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to