question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

-bash: /usr/bin/jsign: /bin/sh^M: bad interpreter: No such file or directory

See original GitHub issue

Great tool - thank you for all the hard work!

Not sure if this is platform specific, but installing jsign via sudo apt install ./jsign_4.0_all.deb and then trying to run via jsign results in -bash: /usr/bin/jsign: /bin/sh^M: bad interpreter: No such file or directory.

There’s an easy remedy: sed -i -e 's/\r$//' /usr/bin/jsign

Not sure if something is happening at the packaging stage or the way it’s installed.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ebourgcommented, Aug 20, 2021

The jsign_4.0_all.deb file is now fixed.

0reactions
rhartman93commented, Sep 19, 2022

I should have a chance in the next week or so to give this a shot, will report back

Read more comments on GitHub >

github_iconTop Results From Across the Web

bin/bash: bad interpreter: No such file or directory - Ask Ubuntu
I tried searching it and found many answers but all covers errors due to some difference between windows newline ^M and ubuntu newline......
Read more >
shell script: bad interpreter: No such file or directory when ...
It seems that is not necessary to add where bash is located, since it is on the system path. I found another solution...
Read more >
Ask Question - Unix Stack Exchange
-bash: ./conn.sh: /usr/bin/bash: bad interpreter: No such file or directory · 1. Please edit your question to include ls -l /usr/bin/bash . ·...
Read more >
Resolve Issue: Bin/Bash^M: Bad Interpreter: No Such File Or ...
The poor interpreter is another name for this error. You might believe this is a permissions constraint and try using the chmod +x...
Read more >
Resolve Bash Script Bad Interpreter No such File Or Directory ...
Learn how to resolve a Bash script bad interpreter : No such file or directory.The error generally appears as such. bash : ....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found