[DRE-maint] Bug#859200: gitlab: Upgrading postgres and gitlab together fails

Benjamin Drung benjamin.drung at profitbricks.com
Fri Mar 31 14:05:20 UTC 2017


Package: gitlab
Version: 8.13.11+dfsg-8
Severity: grave
Justification: renders package unusable

Hi,

I ran an "apt upgrade" which wanted to install gitlab 8.13.11+dfsg-8 and
upgrade postgres. The upgrade of gitlab fails because postgres was not
running. So you probably have to pre-depend on postgres if you rely on
having postgres running while postinst is running.

Relevant apt output:

Preparing to unpack .../18-postgresql-contrib-9.6_9.6.2-2_amd64.deb ...
Unpacking postgresql-contrib-9.6 (9.6.2-2) over (9.6.2-1) ...
Preparing to unpack .../19-postgresql-9.6_9.6.2-2_amd64.deb ...
Unpacking postgresql-9.6 (9.6.2-2) over (9.6.2-1) ...
[...]
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
createdb: could not connect to database template1: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
dpkg: error processing package gitlab (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up postgresql-client-9.6 (9.6.2-2) ...
[...]
Errors were encountered while processing:
 gitlab
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
Benjamin Drung
System Developer
Debian & Ubuntu Developer

ProfitBricks GmbH
Greifswalder Str. 207
D - 10405 Berlin

Email: benjamin.drung at profitbricks.com
URL:  http://www.profitbricks.com

Sitz der Gesellschaft: Berlin.
Registergericht: Amtsgericht Charlottenburg, HRB 125506B.
Geschäftsführer: Andreas Gauger, Achim Weiss.



More information about the Pkg-ruby-extras-maintainers mailing list