Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 21st February 2010, 10:44 AM
Amir Sela Offline
Registered User
 
Join Date: Feb 2010
Posts: 1
linuxfedorafirefox
bash hangs on "command not found" and pk-command-not-found

Just wanted to post in case others stumble onto this little annoyance.
If you get a "command not found" error from bash while updating your system, bash will "hang" while pk-command-not-found is trying to query for a similar command (pk-command-not-found is a handler command ran by bash on FC12 when you try to run a command that does not exist). You can either simply accept this behaviour and wait until yum-based stuff have all exited, or you can instruct PackageKit to not perform this check at all. Even when everything is Working Properly(TM), it still might take a bit of time for the bash to return to prompt after such a query. As such, disabling this may be something you want to do anyways. Change the SoftwareSourceSearch parameter in /etc/PackageKit/CommandNotFound.conf to false:
Code:
# sed -i 's/SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf
Hope this helps!

-Amir Sela
Reply With Quote
Reply

Tags
bash, command not found, hangs, pkcommandnotfound

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash hangs when command not found yungbloodreborn Using Fedora 2 10th December 2009 08:22 AM
bash: ‫‪yum: command not found" what is this? computer_guy Using Fedora 5 14th July 2009 03:37 PM
terminal command problem "chkconfig: command not found" Omni-Tom Using Fedora 3 19th July 2008 03:29 AM
"shutdown -h now" command not found?? darkchild Using Fedora 4 27th April 2007 08:25 AM
How to use fdisk?? I get "command not found" message StephenT Using Fedora 5 23rd May 2006 08:00 PM


Current GMT-time: 08:07 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat