Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z7gZz-0002sm-Rh for pgsql-pkg-debian@arkaria.postgresql.org; Wed, 24 Jun 2015 09:02:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Z7gZy-0005r6-U1 for pgsql-pkg-debian@arkaria.postgresql.org; Wed, 24 Jun 2015 09:02:46 +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) (envelope-from ) id 1Z7gZr-0005hb-E4 for pgsql-pkg-debian@postgresql.org; Wed, 24 Jun 2015 09:02:39 +0000 Received: from [2001:6f8:10ee::1] (helo=feynman.df7cb.de) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Z7gZn-0002W8-Dw for pgsql-pkg-debian@postgresql.org; Wed, 24 Jun 2015 09:02:38 +0000 Received: from msg.df7cb.de (benz.df7cb.de [IPv6:2001:6f8:10ee:e:134::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 3mGdls1yZSz3Dyv; Wed, 24 Jun 2015 11:02:33 +0200 (CEST) Date: Wed, 24 Jun 2015 11:02:32 +0200 From: Christoph Berg To: James Laska Cc: pgsql-pkg-debian@postgresql.org, Martin Pitt Subject: Re: Missing virtual provides on postgresql-9.4 deb Message-ID: <20150624090232.GA5492@msg.df7cb.de> Mail-Followup-To: Christoph Berg , James Laska , pgsql-pkg-debian@postgresql.org, Martin Pitt References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="EVF5PPMfhYS0aIcm" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2001:6f8:10ee::1 (deferred) X-Pg-Spam-Score: -1.1 (-) 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 --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Re: James Laska 2015-06-24 > While installing postgresql-9.4, I noticed that the deb does not offer a > `Provides: postgresql`. I believe the convention for the comparable rpm > builds is to offer a virtual provides so that any packages requiring the > `postgresql` server capability continue to function after installing > postgresql-9.4, but removing the Ubuntu-packaged `postgresql` package. >=20 > It seems this convention was followed for the postgresql-client-9.4 as it > offers the following virtual Provides: >=20 > Provides: postgresql-client > > >=20 > Any reason not to add the following virtual provides to the `control` file > for the postgresql-9.4 deb package? >=20 > Provides: postgresql Hi, the problem here is that "postgresql" is a real package as well. If something "Depends: postgresql" to get the 'current' server version as defined by that package, that shouldn't be satisfied by some other postgresql-x.y package. Now you could argue that the same holds for the client package, though the client packages are much more interchangeable, while the server really only works with the same version that wrote the data in PGDATA. Also, that would break upgrades where we rely on postgresql.deb pulling in the new version. I'm not saying we can't change this, though there's some reason behind the way it currently is. Martin, do you remember if that "Provides:" mismatch between server and client was intended, or did we just forget that? Should we rather remove it from the client packages as well? Christoph --=20 cb@df7cb.de | http://www.df7cb.de/ --EVF5PPMfhYS0aIcm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJVinIoAAoJEExaa6sS0qeuQ8YP/R4qsm56ao49NbTmmsUQ8wgc eAUIOeeVlIBVIKRQTpKJ/Qj0ANBO83iEHBueF/+8Nwhqd+EWwyGmsyumFKnwekZe 1EELIyOyKR2iuQ3OaZHPSfX2xwa7j7N3aIjW9rFsXjZAJ74jv5p2Rx1Cjnw8UIw7 SQfpVfCwZl1gcI4oq8YN/9c+pnylCfOMurI75bHlFcjf0GTmxAtaPNcvs2t8N2ps E+xnP//S2Kl3QfmbJ7M3PyqRBU0a5yESRfS8Y8G2wc+au9Yy5QFt5slQ7+WZ+8QF az9DSnzArwmAiJPYXvIFhDhEBLZdgRe7nV+8x8c35cDWLfc4zb/VeBWTBzOIVqlg ufPWGZbhzmP1opt1MbG9O9t9gsDTW9KDf1iVaF0RZyWHX+bLI9Vztdyd4UhdqHCG +VuK+aWw7W6mFE2JH8Xa/JEwh1QuGiKFDtIpCm72xuohbqMR1UcRkMF1YPhTRN9N /PiqR1bXLjTWoLfic1lKqumLsVogWhuMzTuRhIFOzcp3vqqgfCnk344zy/7y7HEN BhyGe9/f0S+YUcovAR765GFhdnn5capwixylnOFWJLCgsNhU8phJbCZzoCbuptoZ Y3zW+LfwLPyIf4zvd31cNjibN2K8iTFH9Gzrxx1xS5nXzPk0BAa6O1JSULFG8dgm ZEHid4n7TDv6/zEDYIqu =KsZL -----END PGP SIGNATURE----- --EVF5PPMfhYS0aIcm--