See [this unix.stackexchange question](https://unix.stackexchange.com/questions/146283/how-to-prevent-prompt-that-ask-to-restart-services-when-installing-libpq-dev) ```bash sudo DEBIAN_FRONTEND=noninteractive apt-get install -y libpq-dev ``` Though this doesn't appear to work. Next try is putting the `DEBIAN...` in root's `~/.bashrc`