Every time that I open a new Terminal window I get this error:

ERROR: Unknown switch ''. Accepted values: ia32, intel64

Why is this happening and how can I fix it?

  • Thank you very much. Yes, I put one wired line, which was suggested to solve another problem. Now I deleted it and it's gone. – TinyEpic Jan 22 '15 at 15:13
  • @g_p Could you please convert that to an answer so that schmucks like me who go around hunting for unanswered questions don't have to look at this one any more. ;-) (And I'll upvote if you drop me a note and it's a good one too!) – Fabby Jan 23 '15 at 18:32
  • @Fabby.Posted as answer. – g_p Jan 23 '15 at 18:51

The probable reason for this problem is you have some incorrect entries in your ~/.bashrc file. This file is read by the bash, whenever you start a new terminal.(See Bash Startup Files for more detail)

It may happen that you have entered some incorrect value in this file accidentally or you are executing any script through this file, which is throwing this error.

Search for such incorrect entries in your ~/.bashrc and remove it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.