Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UZWh4-0006Ad-Dk for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 07 May 2013 01:27:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UZWh3-00087L-QT for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 07 May 2013 01:27:49 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UZWh2-00087C-1c for pgsql-pkg-debian@postgresql.org; Tue, 07 May 2013 01:27:48 +0000 Received: from cl-2390.ham-01.de.sixxs.net ([2001:6f8:900:955::2] helo=feynman.df7cb.de) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UZWgv-0001l7-B1 for pgsql-pkg-debian@postgresql.org; Tue, 07 May 2013 01:27:47 +0000 Received: from msgid.df7cb.de (lehmann.df7cb.de [IPv6:2001:6f8:10ee:e:136::2]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 4995469630 for ; Tue, 7 May 2013 03:27:37 +0200 (CEST) Date: Mon, 6 May 2013 18:27:32 -0700 From: Christoph Berg To: pgsql-pkg-debian@postgresql.org Subject: Re: Installation on Ubuntu 13.04 Message-ID: <20130507012731.GB5150@msgid.df7cb.de> Mail-Followup-To: Christoph Berg , pgsql-pkg-debian@postgresql.org References: <20130503165553.GB2818@piware.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="MnLPg7ZWsaic7Fhd" Content-Disposition: inline In-Reply-To: <20130503165553.GB2818@piware.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) 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 --MnLPg7ZWsaic7Fhd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Re: Martin Pitt 2013-05-03 <20130503165553.GB2818@piware.de> > > Just wondering if it is possible to install 9.2 on Ubuntu 13.04? > > And then to specify postgresql-common > > sudo apt-get install postgresql-9.2 postgresql-common > > The following packages have unmet dependencies: > > postgresql-common : Breaks: logrotate (>=3D 3.8) but 3.8.3-3ubuntu2 is= to be > > installed >=20 > That's indeed the root of the problem. >=20 > However, postgresql-common in Ubuntu 13.04 itself is already at > version 140 and works just fine with -9.2. So I wonder why it's trying > to take p-common from pgdg instead of Ubuntu 13.04. Can you please > send the output of >=20 > apt-cache policy postgresql-common The pgdg repositories are (now) using the default priority, so apt will prefer the pgdg packages over the native ones. It just isn't smart enough to figure out that the raring package would have worked. Martin: What do you think about generating the logrotate config at install (configuration) time so we can drop the fixed logrotate depends/breaks? Using "ucf" for generated files in /etc/ is pretty easy to do, the open question would be how to detect that logrotate was just upgraded and that we need to re-generate the file. Maybe with a trigger on /usr/sbin/logrotate? Or is that too much magic? (Are we aware of other packages that have this problem?) Christoph --=20 cb@df7cb.de | http://www.df7cb.de/ --MnLPg7ZWsaic7Fhd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJRiFiDAAoJEExaa6sS0qeuvJQQAK0/10qfcSjfJf2ruS8Kwxtg SpagOIAoZU8iowmnuYtuwHdpTRDWUIIMyGlChxcuizngNP3MToTflcynAvGXb7RF QJJstLsCaHZGpCeeGStYeEa6Crnk00zbFJW3TdkRhZq9QS/prEqWoZpemRjmsDVd +nCq4C/13E8j7V06BKVn0OcsvUCNoT7EMYIzYPao939Pa2Vq5CZkbfPVuT201d09 8jt+ym83rJ6802pmZfz7k2MP3PWbtQBa7OnkwvNoNdYSJC7Et5FWJuHTO26CDQ2d 4jFHSgoKiVPcDDr2F6S/fuuezrgYAir+/RX7WrwU3lFjztuRayz018DJOx6oceZE VaR6QretVE6VZxIW+iJj97T84/m50XWfBWuuKbO8Ko0Dkfqm24RiJXQ+17LbGOHd kii3m2NWWPGqohFpevW002b9zzZ3/ZcgnP4OL3aA9xQ/OCUWcQANd7+P8lYp1qUE GiBz5PQOBtWqXAmVZg/SX5dqWRiX3eLTbngBGdU4w5bkZJODSLQAKvY6k7u+Uk0W d6lzgUAmnSEDqe062R9fAHfj5M5AgZ+nJLGHkGk4/ai0Zj5SBoy/JpSRPlXI0AJb Iq+VkCDtdqFAZVGyQ9CI7mVkQnav/twUv0c0smldHkSFTGaNIzy2DyMpu14BcIzA edPNrv+OrCyjq1VaGj/K =Cua0 -----END PGP SIGNATURE----- --MnLPg7ZWsaic7Fhd--