Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9148109
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T11:11:06+00:00 2026-06-17T11:11:06+00:00

An ordinary command not found error says: bash: sadfasdf: command not found… However, if

  • 0

An ordinary command not found error says:

bash: sadfasdf: command not found...

However, if executing [] in bash, it gives two error messages instead of one:

bash: []: command not found...
Failed to search for file: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._pk_5ftransaction_5ferror.Code14: Invalid input passed to daemon: char '[' in text!

What does the second error message mean, and how does [] cause the error to happen?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T11:11:06+00:00Added an answer on June 17, 2026 at 11:11 am

    You seem to have the same problem described here on the PackageKit mailing list. If you’re using PackageKit, that’s likely your problem.

    More generally, you should check whatever seems to be running through the BASH command_not_found_handle function.

    From man bash :

    “If the search is unsuccessful, the shell searches for a defined shell function named
    command_not_found_handle. If that function exists, it is invoked with the original
    command and the original command’s arguments as its arguments, and the function’s
    exit status becomes the exit status of the shell.”

    Simply, it’s a function which is called whenever BASH can’t find the command you entered.

    Seems likely something is defining that function, and doesn’t like square brackets!

    grep around your /etc/profile and bash config files, it’ll be there somewhere 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Why ordinary algorithm template is designed so that it accepts two iterators instead of
What are some clever (not ordinary) ways of implementing data structures in C, and
In ordinary class methods I can supply content for the help command in MATLAB.
In what cases should I use those objects instead of an ordinary loop (if
In an ordinary document list in SharePoint 2010 there are two buttons for adding
Ordinary table functions like $this->table->generate() produces this: <table border=0 cellpadding=4 cellspacing=0> <tr> <td>one</td><td>two</td><td>three</td> </tr>
The help for Java in Eclipse (ordinary Java development, not Android), is set to
This is a basic question but unfortunately I could not find the relevant command
An ordinary object, I can use o.__repr__() to see something like '<__main__.A object at
Say I have an ordinary table in my db like so ---------------------------- | id

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.