Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dV03o-00068T-BL for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 11 Jul 2017 18:39:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dV03n-0003pr-17 for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 11 Jul 2017 18:38:59 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dV03h-0003i1-FK for pgsql-pkg-debian@postgresql.org; Tue, 11 Jul 2017 18:38:53 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dV03Y-0000sD-Q3 for pgsql-pkg-debian@postgresql.org; Tue, 11 Jul 2017 18:38:52 +0000 Received: from msg.df7cb.de (unknown [IPv6:2a02:908:1470:60c0:76e5:bff:fef3:7e00]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 3x6W7P3ndRz3G81; Tue, 11 Jul 2017 20:38:41 +0200 (CEST) Date: Tue, 11 Jul 2017 20:38:41 +0200 From: Christoph Berg To: Justin Ossevoort , pgsql-pkg-debian@postgresql.org Subject: Re: Problems upgrading postgresql-9.4 under Debian Jessie Message-ID: <20170711183841.u4uh5ogemsw2rnmg@msg.df7cb.de> Mail-Followup-To: Christoph Berg , Justin Ossevoort , pgsql-pkg-debian@postgresql.org References: <20170710142125.5tbderithauaiklb@msg.df7cb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170710142125.5tbderithauaiklb@msg.df7cb.de> User-Agent: NeoMutt/20170113 (1.7.2) X-Mailing-List: pgsql-pkg-debian List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Precedence: bulk Sender: pgsql-pkg-debian-owner@postgresql.org Re: To Justin Ossevoort 2017-07-10 <20170710142125.5tbderithauaiklb@msg.df7cb.de> > Re: Justin Ossevoort 2017-07-10 > > 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=1a2173a00f7296534d50257d917343117448b39c 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