pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: Justin Ossevoort <justin@quarantainenet.nl>
To: pgsql-pkg-debian@postgresql.org
Subject: Re: Problems upgrading postgresql-9.4 under Debian Jessie
Date: Tue, 11 Jul 2017 20:38:41 +0200
Message-ID: <20170711183841.u4uh5ogemsw2rnmg@msg.df7cb.de> (raw)
In-Reply-To: <20170710142125.5tbderithauaiklb@msg.df7cb.de>
References: <a11f802e-f4ca-91ac-122c-49be2bf6a1ed@quarantainenet.nl>
	<20170710142125.5tbderithauaiklb@msg.df7cb.de>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-pkg-debian>

Re: To Justin Ossevoort 2017-07-10 <20170710142125.5tbderithauaiklb@msg.df7cb.de>
> Re: Justin Ossevoort 2017-07-10 <a11f802e-f4ca-91ac-122c-49be2bf6a1ed@quarantainenet.nl>
> > This line effectively checks if we're running upstart (no, we're using
> > systemd) or if there is an executable in /etc/init.d. Adding a 'set -x' to
> > the script shows us it checks:
> > 
> >   testexec /etc/init.d/postgresql@9.4-*
> > 
> > Which doesn't exist and this the program exists with code 102, causing the
> > prerm scrip to fail in turn.
> 
> Oh, ok. I tested several combinations of OS and with/without systemd,
> but apparently missed jessie+systemd. Will investigate and publish a
> fix.

Luckily the fix was pretty easy, namely using deb-systemd-invoke
instead of invoke-rc.d. New packages are available via the
*-pgdg-testing suites, it would be nice if you could give them a try.

I'll do some more testing tomorrow and then put them live.

https://anonscm.debian.org/cgit/pkg-postgresql/postgresql-common.git/commit/?id=1a2173a00f7296534d50...

Thanks again for the report and the analysis,
Christoph


-- 
Sent via pgsql-pkg-debian mailing list (pgsql-pkg-debian@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-debian



view thread (5+ messages)  latest in thread

Message-ID: <20170711183841.u4uh5ogemsw2rnmg@msg.df7cb.de>
Permalink:  ../20170711183841.u4uh5ogemsw2rnmg@msg.df7cb.de/
Also on:    postgresql.org/message-id/20170711183841.u4uh5ogemsw2rnmg@msg.df7cb.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-pkg-debian@postgresql.org
  Cc: myon@debian.org, justin@quarantainenet.nl
  Subject: Re: Problems upgrading postgresql-9.4 under Debian Jessie
  In-Reply-To: <20170711183841.u4uh5ogemsw2rnmg@msg.df7cb.de>
  References: <a11f802e-f4ca-91ac-122c-49be2bf6a1ed@quarantainenet.nl> <20170710142125.5tbderithauaiklb@msg.df7cb.de> <20170711183841.u4uh5ogemsw2rnmg@msg.df7cb.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox