Postgresql: Error running c:\\...getlocales.exe : child killed: unknown signal

4.6k views Asked by At

I tried installing PostgreSQL v14.2, 14.1, 11.1 from EnterpriseDB, but I keep getting the following error after the splash screen

Here's the error popup:

error image

Here's the error message:

There has been an error. Error running c:\people\my sys\AppData\Local\Temp\postgresql_installer_13452d4258\getlocales.exe : child killed: unknown signal

Any help as to what I can do to fix this and install PostgreSQL.

Ps: I have tried installing several VC++ packages, disabled anti-virus still no way out??

3

There are 3 answers

0
Bennett Bishop On

I got this error after adding "--install_runtimes 0" to my commandline install (as recommended by answers to related questions

Doing a normal, non-commandline install worked properly and then let all future commandline installs work too.

0
TheGabiRod On

In my case installing postgres 13 in windows 7 64 bits...

If you go and run locales.exe you will see another error message that "api-ms-win-crt-runtime-11-1-0.dll" is missing.

This dll is added by installing the windows update KB2999226, windows update service must be running or you will get other error.

After this it will install correctly.

0
AMDIvailo On

You have to install MSVC Redistributable