Rebaseall

Sometimes, after updating or installing packages, you'll start to get strange errors related to "fork" or .dll loading. These errors are usually solved by rebasing your packages.

Requiring full rebase
To rebase, you need to trigger the autorebase package: $ /usr/bin/rebase-trigger full The output will be "Note: _autorebase will do a full rebase the next time setup is run." For more info on autorebase, read "/usr/share/doc/Cygwin/_autorebase.README"

Stop Running Services
Before running setup, x86 or x86_64 depending on your installation, you'll need to make sure no cygwin-based services or programs are running (including X11, SSH, etc). To see all running programs: $ ps -a To see the list of all installed services $ cygrunsrv -L To query the status and stop the cygwin services $ cygrunsrv -Q

$ cygrunsrv -E as last close your terminal.

Rebase Everything
Now that no Cygwin services are running, you can rebase your packages. Run setup-x86.exe or setup-x86_64.exe depending on your system, like a normal updated. Also if no package are updated the post install phase will include a full rebase.