Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eDbsw-0004jj-AU for pgsql-admin@arkaria.postgresql.org; Sat, 11 Nov 2017 19:56:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eDbsv-0000Pk-Rd for pgsql-admin@arkaria.postgresql.org; Sat, 11 Nov 2017 19:56:09 +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 1eDbr1-0005Wm-Hx for pgsql-admin@postgresql.org; Sat, 11 Nov 2017 19:54:11 +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.89) (envelope-from ) id 1eDbqy-0002FR-D9 for pgsql-admin@postgresql.org; Sat, 11 Nov 2017 19:54:10 +0000 Received: from msg.df7cb.de (unknown [IPv6:2a02:908:1474:d80: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 3yZ6zd3cVMz3F3K; Sat, 11 Nov 2017 20:54:05 +0100 (CET) Date: Sat, 11 Nov 2017 20:54:05 +0100 From: Christoph Berg To: Debraj Manna Cc: pgsql-admin@postgresql.org Subject: Re: Postgres 10 installation failing on Ubuntu 14 Message-ID: <20171111195404.rp4f6mkx3v6k2ljv@msg.df7cb.de> Mail-Followup-To: Christoph Berg , Debraj Manna , pgsql-admin@postgresql.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Re: Debraj Manna 2017-11-11 > invoke-rc.d: unknown initscript, /etc/init.d/postgresql not found. > dpkg: error processing package postgresql-10 (--configure): > subprocess installed post-installation script returned error exit status 100 > Processing triggers for libc-bin (2.19-0ubuntu6.13) ... > Errors were encountered while processing: > postgresql-10 > E: Sub-process /usr/bin/dpkg returned an error code (1) > > > Can someone let me know what is going wrong or how can I install postgres > 10 on Ubuntu 14? Hi, you seem you have several modified postgresql-common configuration files on disk from a previous installation attempt: > The following packages will be upgraded: > libpq-dev libpq5 postgresql-client-common postgresql-common > > Setting up postgresql-common (188.pgdg14.04+1) ... > > Configuration file '/etc/logrotate.d/postgresql-common' > ==> File on system created by you or by a script. > ==> File also in package provided by package maintainer. > What would you like to do about it ? Your options are: > Y or I : install the package maintainer's version > N or O : keep your currently-installed version > D : show the differences between the versions > Z : start a shell to examine the situation > The default action is to keep your current version. > *** postgresql-common (Y/I/N/O/D/Z) [default=N] ? > Replacing config file /etc/postgresql-common/createcluster.conf with new version My guess would be that you have also a "modified" /etc/init.d/postgresql file in the sense that it got removed. Debian will respect that, and not reinstall that config file. To get out of the situation, do apt-get -o DPkg::Options::=--force-confmiss install --reinstall postgresql-common Christoph -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin