Re: Installation on Ubuntu 13.04

From: Christoph Berg <cb(at)df7cb(dot)de>
To: pgsql-pkg-debian(at)postgresql(dot)org
Subject: Re: Installation on Ubuntu 13.04
Date: 2013-05-07 01:27:32
Message-ID: 20130507012731.GB5150@msgid.df7cb.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian

Re: Martin Pitt 2013-05-03 <20130503165553(dot)GB2818(at)piware(dot)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(at)df7cb(dot)de | http://www.df7cb.de/

In response to

Responses

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Martin Pitt 2013-05-07 04:40:20 Re: Installation on Ubuntu 13.04
Previous Message Christoph Berg 2013-05-07 01:16:53 Re: wither source packages?