Cygwin error: “-bash: fork: retry: Resource temporarily unavailable”

(assuming Cygwin is installed at C:\Cygwin): Open Task Manager and close any processes that look to be Cygwin related. Open C:\Cygwin\bin in Windows Explorer Verify that dash.exe, ash.exe, rebase.exe, and rebaseall exist in this folder If any of them are missing, re-run Cygwin setup and select the dash, ash, and rebase packages right-click your C:\Cygwin … Read more

Safely change home directory

EDIT: For recent versions of Cygwin (1.7.34 and beyond), see this newer question. Like sblundy’s answer, you can always edit by-hand. But if you want to do it the “official” way, use the cygwin-specific mkpasswd command. Below is a snippet from the official docs on mkpasswd : For example, this command: Example 3.11. Using an … Read more

How can I install MinGW-w64 and MSYS2?

Unfortunately, the MinGW-w64 installer you used sometimes has this issue. I myself am not sure about why this happens (I think it has something to do with Sourceforge URL redirection or whatever that the installer currently can’t handle properly enough). Anyways, if you’re already planning on using MSYS2, there’s no need for that installer. Download … Read more

How to install MinGW-w64 and MSYS2?

Unfortunately, the MinGW-w64 installer you used sometimes has this issue. I myself am not sure about why this happens (I think it has something to do with Sourceforge URL redirection or whatever that the installer currently can’t handle properly enough). Anyways, if you’re already planning on using MSYS2, there’s no need for that installer. Download … Read more

Cygwin package management

List all installed packages cygcheck –check-setup –dump-only without –dump-only the command will take few minutes to complete because it will TEST all packages. You should see an OK for each package if everything is fine 😉 List files belonging to a package For package bash do: cygcheck –list-package bash it works for installed packages only … Read more