Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1air0x-0000k6-Mr for pgsql-admin@arkaria.postgresql.org; Wed, 23 Mar 2016 22:12:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1air0u-0002vv-AL for pgsql-admin@arkaria.postgresql.org; Wed, 23 Mar 2016 22:12:28 +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 1aiqzE-0000zl-D3 for pgsql-admin@postgresql.org; Wed, 23 Mar 2016 22:10:44 +0000 Received: from [2001:558:fe21:29:69:252:207:39] (helo=resqmta-ch2-07v.sys.comcast.net) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1aiqz8-0003cN-KA for pgsql-admin@postgresql.org; Wed, 23 Mar 2016 22:10:43 +0000 Received: from resomta-ch2-04v.sys.comcast.net ([69.252.207.100]) by resqmta-ch2-07v.sys.comcast.net with comcast id Za921s00A2AWL2D01aA4UJ; Wed, 23 Mar 2016 22:10:04 +0000 Received: from jerry.enova.com ([12.187.116.132]) by resomta-ch2-04v.sys.comcast.net with comcast id Za9v1s00L2rU9cC01a9yof; Wed, 23 Mar 2016 22:10:02 +0000 Received: by jerry.enova.com (Postfix, from userid 1001) id E889B7401E5; Wed, 23 Mar 2016 17:09:54 -0500 (CDT) From: Jerry Sievers To: pgsql-admin@postgresql.org Subject: Pg-Logical output pkg; can't install 9.4 and 9.5 on same Wheezy box Date: Wed, 23 Mar 2016 17:09:54 -0500 Message-ID: <86y498yhfx.fsf@jerry.enova.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1458771004; bh=wGyZCGBk/9cWq5yT3f4F7zuWdK2oSRg1WsIyx4fX6VY=; h=Received:Received:Received:From:To:Subject:Date:Message-ID: MIME-Version:Content-Type; b=S93zhy/oeFHjjigELGSr9tRAwZbC1zYFiUTtRiLgupb55ZAUkfKYZ72RBmAdc4luQ UTWcZSP2z2wliYnV2FwwfirJ+yOXC4/bGxmKDs28Ncr0J/cF6MH6ysJ35cA23FYDiu Qydyz1iQ7ZefXoLx7qlovER2xvLSRHoMJh3zn0nX/fZWlm03Etc6u+dy3/tE+i/z68 mjTBuqrrMXAsviM9eHEDouevYzsH3MVL2+gQn9CthrBzLSVAarmBk9YJltoJOzBThM C7Od4YqgY/+LIQSUuPRqMV0kr3qf9cSmnr31eHgxmpfjBIJb169u/3jo5oIVlbAdMF iBjCiDyXpNozQ== X-Host-Lookup-Failed: Reverse DNS lookup failed for 2001:558:fe21:29:69:252:207:39 (failed) X-Pg-Spam-Score: -0.7 (/) 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 Anyone else as enthused as I am about Pg-Logical and tried installing both version on same host? Fails on the output plugin package due to header file conflict. I recall as might be expected that the reverse is true also. If you wipe 9.5 and then install 9.4 it works then you get borked trying to install the 9.5 version. I wonder if those headers should be packaged down into a version numbered directory? # uname -a Linux jerry 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux # # echo $#; echo $* 4 postgresql-9.4-pglogical postgresql-9.4-pglogical-output postgresql-9.5-pglogical postgresql-9.5-pglogical-output # dpkg -l | grep pglogical ii postgresql-9.5-pglogical 1.0.1-1wheezy amd64 PGLogical plugin for PostgreSQL 9.5 ii postgresql-9.5-pglogical-output 1.0.1-1wheezy amd64 PGLogical Output plugin for PostgreSQL 9.5 # apt-get install -y $1 Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: postgresql-9.4-pglogical-output The following NEW packages will be installed: postgresql-9.4-pglogical postgresql-9.4-pglogical-output 0 upgraded, 2 newly installed, 0 to remove and 308 not upgraded. Need to get 0 B/249 kB of archives. After this operation, 827 kB of additional disk space will be used. debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline (Reading database ... 173140 files and directories currently installed.) Unpacking postgresql-9.4-pglogical-output (from .../postgresql-9.4-pglogical-output_1.0.1-1wheezy_amd64.deb) ... dpkg: error processing /var/cache/apt/archives/postgresql-9.4-pglogical-output_1.0.1-1wheezy_amd64.deb (--unpack): trying to overwrite '/usr/include/postgresql/pglogical_output/compat.h', which is also in package postgresql-9.5-pglogical-output 1.0.1-1wheezy ^^^^^^^^^^^^^^^^ Selecting previously unselected package postgresql-9.4-pglogical. Unpacking postgresql-9.4-pglogical (from .../postgresql-9.4-pglogical_1.0.1-1wheezy_amd64.deb) ... Processing triggers for postgresql-common ... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline Building PostgreSQL dictionaries from installed myspell/hunspell packages... en_us Removing obsolete dictionary files: Errors were encountered while processing: /var/cache/apt/archives/postgresql-9.4-pglogical-output_1.0.1-1wheezy_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) # dpkg -L $4 /. /usr /usr/share /usr/share/postgresql /usr/share/postgresql/9.5 /usr/share/postgresql/9.5/extension /usr/share/postgresql/9.5/extension/pglogical_output--1.0.0.sql /usr/share/postgresql/9.5/extension/pglogical_output--1.0.1.sql /usr/share/postgresql/9.5/extension/pglogical_output--1.0.0--1.0.1.sql /usr/share/postgresql/9.5/extension/pglogical_output.control /usr/share/doc /usr/share/doc/postgresql-9.5-pglogical-output /usr/share/doc/postgresql-9.5-pglogical-output/copyright /usr/share/doc/postgresql-9.5-pglogical-output/changelog.Debian.gz /usr/share/doc/postgresql-9.5-pglogical-output/README.md.gz /usr/lib /usr/lib/postgresql /usr/lib/postgresql/9.5 /usr/lib/postgresql/9.5/lib /usr/lib/postgresql/9.5/lib/pglogical_output.so /usr/include /usr/include/postgresql /usr/include/postgresql/pglogical_output /usr/include/postgresql/pglogical_output/compat.h ^^^^^^^^^^^^^^^^^^ /usr/include/postgresql/pglogical_output/hooks.h -- Jerry Sievers Postgres DBA/Development Consulting e: postgres.consulting@comcast.net p: 312.241.7800 -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin