Re: [pgsql-pkg-debian] Re: We should not transition to apt.postgresql.org until we have a PPA

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Christoph Berg <myon(at)debian(dot)org>, Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>, Josh Berkus <josh(at)agliodbs(dot)com>, Martin Pitt <mpitt(at)debian(dot)org>, Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>, PostgreSQL in Debian <pgsql-pkg-debian(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: [pgsql-pkg-debian] Re: We should not transition to apt.postgresql.org until we have a PPA
Date: 2013-02-16 23:40:34
Message-ID: 20130216234034.GG12029@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian pgsql-www

On Sat, Feb 16, 2013 at 10:33:09AM -0500, Bruce Momjian wrote:
> On Sat, Feb 16, 2013 at 09:44:22AM +0100, Christoph Berg wrote:
> > Re: Bruce Momjian 2013-02-16 <20130216013854(dot)GD12029(at)momjian(dot)us>
> > > I don't think "codename" is really good wording here:
> >
> > That's the official Debian/Ubuntu term, though we can certainly use
> > something else if it makes things easier for users.
>
> OK. How do people find their codename?

OK, I found the answer:

$ lsb_release --short --codename
squeeze

> > > Edit the file /etc/apt/sources.list.d/pgdg.list, and add a line for the
> > > repository, substituting the proper "codename" for your release deb
> > >
> > > http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main

I suggest we use:

http://apt.postgresql.org/pub/repos/apt/ `lsb_release --short --codename`-pgdg main

That way, it auto-detects the codename. This works on Debian and Ubuntu.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

In response to

Responses

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Alvaro Herrera 2013-02-17 05:40:28 Re: Re: [pgsql-www] We should not transition to apt.postgresql.org until we have a PPA
Previous Message Bruce Momjian 2013-02-16 15:33:09 Re: Re: [pgsql-www] We should not transition to apt.postgresql.org until we have a PPA

Browse pgsql-www by date

  From Date Subject
Next Message Alvaro Herrera 2013-02-17 05:40:28 Re: Re: [pgsql-www] We should not transition to apt.postgresql.org until we have a PPA
Previous Message Bruce Momjian 2013-02-16 15:33:09 Re: Re: [pgsql-www] We should not transition to apt.postgresql.org until we have a PPA