Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btV0e-0003Xz-U1 for pgsql-pkg-yum@arkaria.postgresql.org; Mon, 10 Oct 2016 07:28:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1btV0e-00039y-AT for pgsql-pkg-yum@arkaria.postgresql.org; Mon, 10 Oct 2016 07:28:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1btV0d-00039r-Ui for pgsql-pkg-yum@postgresql.org; Mon, 10 Oct 2016 07:28:27 +0000 Received: from ns5.gunduz.org ([107.170.136.15] helo=ns1.gunduz.org) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1btV0a-00024l-GW for pgsql-pkg-yum@postgresql.org; Mon, 10 Oct 2016 07:28:27 +0000 Received: from asus-laptop-03-gunduz-org (unknown [88.248.122.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ns1.gunduz.org (Postfix) with ESMTPSA id 9992E3FCF5; Mon, 10 Oct 2016 07:28:21 +0000 (UTC) Message-ID: <1476084497.2867.17.camel@gunduz.org> Subject: Re: Providing libpq explicitly From: Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= To: Craig Ringer Cc: pgsql-pkg-yum , Talha Bin Rizwan Date: Mon, 10 Oct 2016 10:28:17 +0300 In-Reply-To: References: <1476081846.2867.10.camel@gunduz.org> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-hoZJchssGN8foI49V1U7" X-Mailer: Evolution 3.20.5 (3.20.5-1.fc24) Mime-Version: 1.0 X-Pg-Spam-Score: -2.2 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-pkg-yum Precedence: bulk Sender: pgsql-pkg-yum-owner@postgresql.org --=-hoZJchssGN8foI49V1U7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Craig, On Mon, 2016-10-10 at 15:20 +0800, Craig Ringer wrote: > I'd argue that such packages are simply incorrectly packaged. There's > no such thing as "libpq 9.1". Well, this actually "works". This means "libpq provided by PostgreSQL 9.1 RPMs", for example, and prevents users to be able to install PostgreSQL < 9= .0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Requires: libpq.so >=3D 9.0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Available= : postgresql-libs-8.4.20-6.el6.i686 (base) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0libpq.so =3D 8.4.20-6.el6 =C2=A0You could try using --skip-broken to work around the problem. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > They should be using rpm's automatic library dependencies to ensure > that dependency, and shouldn't declare an explicit dependency. Then, they would need to generate RPMs for each PostgreSQL version just for this piece, and it creates other problems. Regards, --=20 Devrim G=C3=9CND=C3=9CZ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Dan=C4=B1=C5=9Fman=C4=B1/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR --=-hoZJchssGN8foI49V1U7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJX+0MRAAoJENjDPf6Sz261yOAQALAo2eurYJpAEU5ap18YGxit HoJtBLmUlB/3ro8yYDMSZx3YgKu4i9+QY7ZvYW6OULeDsDllekiYpg12CDTY88e8 bp9vvjGPhzM72tjawUalzuwPlK2BmubMnKRiSHCFauAUWf0g36+FAIb/Puy1R5BI TosyPbs8xJnEBCuw6xPf/k+b2xD+r71TUrAJq//1vVjR7lVbvTk5LWtHh89p38X+ Uf2xT6InVyf9BDIAK+v+ddfPou51hHunhgqRqYs0mna1Xwq1BTKTSd2145IX68KW cuhCw3hYIVKFF+fS6ejU2JFh4FmJLcC5YNeiOGCKtVgdrHvdeYXEJgpMOunPo5/H 6iP7HbNpPkdopapA8P9HP9ckDur3r9AEt2S3OXFW5UMWhl6iTvKIe0jbI/4ihCLk FTc5cAcF4HPDT6GCPM3HHb0Ajkyz+y5aU8ZvyVuGml71uasDl7hJd3RV/wox78y1 GTyd+cz83Q9Z/VPkEacjguJiUSNf65re193tdbXrpvueE0mynhd7W4CygVf1Qucl N2EkszfOlqArC9SEKbTRkdkxP4IqtnMk9uY0d0Tfo2E1cF8wgrCO4E9uYe2i9Fry oAsbLmXJvRhYFBkV5MExxNesLDfNDGaINsOAjDRjmIGQjSavFsdWI9/wo8ARPYf3 RpF57DoZABV6HDtO/e8I =BQXK -----END PGP SIGNATURE----- --=-hoZJchssGN8foI49V1U7--