Heyya debusine folks,
debusine-server declares postgres as recommends. I installed as no
recommends (i'd like to have debusine use a remote postgres instance -- having
a local psql is not required here), and fully expected it to fail on startup,
but it wound up failing on postinst instead.
```
Setting up debusine-server (0.16.0) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
debconf: unable to initialize frontend: Teletype
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Noninteractive
dbconfig-common: writing config to /etc/dbconfig-common/debusine-server.conf
Creating config file /etc/dbconfig-common/debusine-server.conf with new version
Creating config file /etc/debusine/server/db_postgresql.py with new version
chown: invalid user: 'postgres'
unable to connect to postgresql server.
error encountered creating user:
runuser: user postgres does not exist or the user entry does not contain all the required fields
dbconfig-common: debusine-server configure: aborted.
dbconfig-common: flushing administrative password
dpkg: error processing package debusine-server (--configure):
old debusine-server package postinst maintainer script subprocess failed with exit status 1
Errors were encountered while processing:
debusine-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
```
Reproducer:
```
$ doas apt install -y --no-install-recommends debusine-server
```
It'd be great if this could be made a supported configuration
Thanks for making Debian better!
paultag