Search code examples
bashinstallationcygwin

Cygwin Installation: Package: bash; bash.sh exit code 1


I am facing a problem while installing Cygwin for Windows 7, 64-bit. The exact message I am getting is

Postinstall script errors: These do not necessarily mean that affected apckages will fail to function properly, but please check /var/log/setup.log.full and report any problems." and "Package: bash; bash.sh exit code 1"

How do I fix this?


Solution

  • The /dev directory is missing and cygwin fakes it, which makes it read-only. The following code:

    cd /etc/postinstall/
    ./000-cygwin-post-install.sh.done
    ./bash.sh
    

    ... solved that error for me.