I tried to install onlyoffice as described in this site
I skipped the postgresql part. whatever. Now I am trying to delete it but I can't. I do so from the synaptic package manager. I get this error
E: onlyoffice-documentserver: installed onlyoffice-documentserver package post-removal script
in the details it says
(Reading database ... 357115 files and directories currently installed.)
Purging configuration files for onlyoffice-documentserver (6.2.0-123) ...
psql: could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
dpkg: error processing package onlyoffice-documentserver (--purge):
installed onlyoffice-documentserver package post-removal script subprocess returned error exit status 2
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to reco?
what else can I try to delete this package