/usr/bin/env: ‘bash\r’: No such file or directory. Now fixed with simple update `git pull --rebase`
See original GitHub issueWhen running ./setup.sh, I receive this message:
/usr/bin/env: ‘bash\r’: No such file or directory
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3 is already the newest version (3.8.2-0ubuntu2).
qemu-system is already the newest version (1:4.2-3ubuntu6.21).
qemu-utils is already the newest version (1:4.2-3ubuntu6.21).
python3-pip is already the newest version (20.0.2-5ubuntu1.6).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
/usr/bin/env: ‘python3\r’: No such file or directory
qemu-img: Could not open 'BaseSystem.dmg': Could not open 'BaseSystem.dmg': No such file or directory
/usr/bin/env: ‘bash\r’: No such file or directory
I’ve tried using dos2unix setup.sh, and sed $‘s/\r$//’ setup.sh before ./setup.sh, and still having issues. Any idea?
Issue Analytics
- State:
- Created a year ago
- Comments:12 (7 by maintainers)
Top Results From Across the Web
Getting error "/usr/bin/env: 'bash': No such file or directory ...
Describe the bug Yesterday I uninstalled node.js and installed nvm to update node to version 16.13.2, and today when I tried to push ......
Read more >How to fix "corrupted" interactive rebase? - Stack Overflow
git /rebase-apply/onto': No such file or directory. So I looked at the git documentation for rebasing and found another command: git rebase --quit....
Read more >git-rebase Documentation - Git
How to handle commits that are not empty to start and are not clean cherry-picks of any upstream commit, but which become empty...
Read more >Introduction to Git rebase and force-push - GitLab Docs
This guide helps you to get started with rebasing, force-pushing, and fixing merge conflicts locally. Before diving into this document, make sure you...
Read more >WSL /usr/bin/env: 'bash\r': No such file or directory ... - YouTube
WSL / usr/bin/env : 'bash\r': No such file or directory [PROBLEM SOLVED ]Restart your WSL using this command:wsl --shutdown❤ Thanks For ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
setup.sh
is not the problem. It’s thefetch-macOS-v2.py
file on line 1@ctthomas