From: Christoph Berg <cb@df7cb.de>
To: pgsql-pkg-debian@postgresql.org
Subject: Re: Installation on Ubuntu 13.04
Date: Mon, 6 May 2013 18:27:32 -0700
Message-ID: <20130507012731.GB5150@msgid.df7cb.de> (raw)
In-Reply-To: <20130503165553.GB2818@piware.de>
References: <CAG_j9uxFbtSsmPZRc2g9OY7yfyPKVKvbJWcrzmH5fY4OaApC6g@mail.gmail.com>
<20130503165553.GB2818@piware.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-pkg-debian>
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 (>= 3.8) but 3.8.3-3ubuntu2 is to be
> > installed
>
> That's indeed the root of the problem.
>
> 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
>
> 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
--
cb@df7cb.de | http://www.df7cb.de/Attachments:
signature.asc (application/pgp-signature, 835B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-pkg-debian@postgresql.org
Cc: cb@df7cb.de
Subject: Re: Installation on Ubuntu 13.04
In-Reply-To: <20130507012731.GB5150@msgid.df7cb.de>
References: <CAG_j9uxFbtSsmPZRc2g9OY7yfyPKVKvbJWcrzmH5fY4OaApC6g@mail.gmail.com> <20130503165553.GB2818@piware.de> <20130507012731.GB5150@msgid.df7cb.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox