Update postgres installer for permission and deb dep