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

From Bruce Momjian
Subject Re: Re: [pgsql-www] We should not transition to apt.postgresql.org until we have a PPA
Date
Msg-id 20130216234034.GG12029@momjian.us
Whole thread Raw
In response to Re: Re: [pgsql-www] We should not transition to apt.postgresql.org until we have a PPA  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Re: [pgsql-www] We should not transition to apt.postgresql.org until we have a PPA  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Re: Re: [pgsql-www] We should not transition to apt.postgresql.org until we have a PPA  (Christoph Berg <myon@debian.org>)
List pgsql-pkg-debian
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.GD12029@momjian.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@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

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


pgsql-pkg-debian by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Re: [pgsql-www] We should not transition to apt.postgresql.org until we have a PPA
Next
From: Alvaro Herrera
Date:
Subject: Re: Re: [pgsql-www] We should not transition to apt.postgresql.org until we have a PPA