Re: terminal hangs looking for missing commands

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

 



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    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-      Always remember you're unique, just like everyone else.       -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux