pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Smith <greg@2ndQuadrant.com>
To: Bruce Momjian <bruce@momjian.us>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Christoph Berg <myon@debian.org>
Cc: Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>
Cc: Josh Berkus <josh@agliodbs.com>
Cc: Martin Pitt <mpitt@debian.org>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: PostgreSQL WWW <pgsql-www@postgresql.org>
Cc: PostgreSQL in Debian <pgsql-pkg-debian@postgresql.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: [pgsql-pkg-debian] Re: We should not transition to apt.postgresql.org until we have a PPA
Date: Tue, 19 Feb 2013 10:07:24 -0500
Message-ID: <5123952C.1030408@2ndQuadrant.com> (raw)
In-Reply-To: <20130219120304.GB20153@momjian.us>
References: <20130214122643.GF30046@msgid.df7cb.de>
	<511D2E58.6010705@agliodbs.com>
	<511D4E61.5050808@kaltenbrunner.cc>
	<20130216013854.GD12029@momjian.us>
	<20130216084421.GA1223@msgid.df7cb.de>
	<20130216153309.GF12029@momjian.us>
	<20130216234034.GG12029@momjian.us>
	<20130217054028.GA6000@alvh.no-ip.org>
	<20130217121745.GH12029@momjian.us>
	<20130218020824.GA4691@alvh.no-ip.org>
	<20130219120304.GB20153@momjian.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-www>

On 2/19/13 7:03 AM, Bruce Momjian wrote:

> Adding to this complexity, I just realized that the Ubuntu code names
> are different from the Debian code names, even though Ubuntu is based on
> Debian.  Fortunately "lsb_release --short --codename" works on both.

I'm using to seeing the short option version of this as "lsb_release 
-cs" instead.  Being able to tell Debian from Ubuntu is one of the 
points of lsb_release.  Note that lsb_release works on RHEL/RPM systems, 
too, but good naming there doesn't go back as far.  RHEL6 is codename 
"Carbon",  but RHEL5 was "Final".

The amount of hysterics relative to forward progress in this discussion 
has been a bit high.  A few observations:

-The PPA mechanism is strongly associated with Ubuntu.  An official PPA 
published by postgresql.org would be useful as a replacement for 
ppa:pitti/postgresql

-There are ways to hack a PPA onto a Debian system.  But they're that, 
hacks, and you will never get many skilled Debian administrators to use 
one for defensible reasons.  The apt repo vs. PPA flame war is large, 
political, and best avoided; it can't be resolved here.  Using a PPA is 
easier if you're on Ubuntu, no question about that.  But that doesn't 
mean you will get Debian administrators to deal with them.

-You can build a repo installer package that simplifies some of the 
keyring and repo setup tasks.  For example, the Debian installer for 
Google Chrome has a postinst step that drops a file into 
/etc/apt/sources.list.d/google-chrome.list with the repo information and 
it pulls in the signing key.  *These are considered unwelcome things by 
some Debian users*!  Typical complaint: 
http://costela.net/2009/12/notes-on-the-google-chrome-debian-package/

There is some unresolvable distance between "the right way" of official 
Debian packages and "the easy way" of a PPA.  Everyone should recognize 
those are two slightly different markets, and you won't be able to 
satisfy both perfectly using one approach.  The yum repo eventually 
worked out how to provide a middle ground with an optional repo setup 
package.

The instructions at http://www.postgresql.org/download/linux/debian/ are 
a bit much right now, so some automation toward reducing them would be 
useful.  Just be aware that such automation will need to happen with a 
Debian packaging expert involved, or it's likely to cause as many 
problems as it tries to solve.  Some complexity is unavoidable if you 
want to also satisfy the needs of the serious Debian administrator well. 
  I think it's not terrible that the current documentation will *only* 
satisfy such admins right now, just given the demographics of who uses 
Debian.  It's not ideal from a long-term support perspective though.

-- 
Greg Smith   2ndQuadrant US    greg@2ndQuadrant.com   Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support www.2ndQuadrant.com


-- 
Sent via pgsql-www mailing list (pgsql-www@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-www



view thread (87+ messages)  latest in thread

Message-ID: <5123952C.1030408@2ndQuadrant.com>
Permalink:  ../5123952C.1030408@2ndQuadrant.com/
Also on:    postgresql.org/message-id/5123952C.1030408@2ndQuadrant.com

 · 

reply

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: greg@2ndQuadrant.com, bruce@momjian.us, alvherre@2ndquadrant.com, myon@debian.org, stefan@kaltenbrunner.cc, josh@agliodbs.com, mpitt@debian.org, magnus@hagander.net, pgsql-www@postgresql.org, tgl@sss.pgh.pa.us
  Subject: Re: [pgsql-pkg-debian] Re: We should not transition to apt.postgresql.org until we have a PPA
  In-Reply-To: <5123952C.1030408@2ndQuadrant.com>
  References: <20130214122643.GF30046@msgid.df7cb.de> <511D2E58.6010705@agliodbs.com> <511D4E61.5050808@kaltenbrunner.cc> <20130216013854.GD12029@momjian.us> <20130216084421.GA1223@msgid.df7cb.de> <20130216153309.GF12029@momjian.us> <20130216234034.GG12029@momjian.us> <20130217054028.GA6000@alvh.no-ip.org> <20130217121745.GH12029@momjian.us> <20130218020824.GA4691@alvh.no-ip.org> <20130219120304.GB20153@momjian.us> <5123952C.1030408@2ndQuadrant.com>

* 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