pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: Bruce Momjian <bruce@momjian.us>
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: Sat, 16 Feb 2013 09:44:22 +0100
Message-ID: <20130216084421.GA1223@msgid.df7cb.de> (raw)
In-Reply-To: <20130216013854.GD12029@momjian.us>
References: <20130214122643.GF30046@msgid.df7cb.de>
	<511D2E58.6010705@agliodbs.com>
	<511D4E61.5050808@kaltenbrunner.cc>
	<20130216013854.GD12029@momjian.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-www>

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.

> 	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
> 
> Shouldn't we highlight where that name goes?  I am running Squeeze and
> though I know "precise" is a code-name, I found out only by accident.  I
> particularly think users will not recognize codenames of Debian release
> newer than their own.  I suggest this wording:
> 
> 	Edit the file /etc/apt/sources.list.d/pgdg.list, and add a line for the
> 	repository, substituting the proper Debian release name:
> 
> 		http://apt.postgresql.org/pub/repos/apt/ <i>release-name</i>-pgdg main

The instructions on the wiki page make this more clear:

 Edit /etc/apt/sources.list.d/pgdg.list. The distributions are called
 codename-pgdg. In the example, replace squeeze with the actual
 distribution you are using:

 deb http://apt.postgresql.org/pub/repos/apt/ squeeze-pgdg main

and "squeeze" is in italics there. I'll look into merging the texts to
a common version.

> as in:
> 
> 	sudo cat > /etc/apt/preferences.d/pgdg.pref <<END
> 	Package: *
> 	Pin: release o=apt.postgresql.org
> 	Pin-Priority: 500 
> 	END

"Write this to disk as root" is suprisingly hard in shell. Your
example misses quoting, the best variant I know is

	sudo tee -a /etc/apt/preferences.d/pgdg.pref <<END

which isn't very nice to look at either (and prints back stuff on
stdout).

I'm starting to think that the best version would be to have people
wget a shell script and execute that, but that's 100% evil from a
security perspective. (We will include such a script in the
postgresql-common package so if you have a recent enough install from
your vendor, you can use that, but this will not make it into
Debian/Ubuntu until the second-next releases.)

> Folks, we shouldn't be requiring decoder rings here to install Postgres
> --- we have to do better.

I don't get this, Do you mean the pgdg-keyring package?

Christoph
-- 
cb@df7cb.de | http://www.df7cb.de/

Attachments:

  signature.asc (application/pgp-signature, 835B) download

view thread (87+ messages)  latest in thread

Message-ID: <20130216084421.GA1223@msgid.df7cb.de>
Permalink:  ../20130216084421.GA1223@msgid.df7cb.de/
Also on:    postgresql.org/message-id/20130216084421.GA1223@msgid.df7cb.de

 · 

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: myon@debian.org, bruce@momjian.us, 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: <20130216084421.GA1223@msgid.df7cb.de>
  References: <20130214122643.GF30046@msgid.df7cb.de> <511D2E58.6010705@agliodbs.com> <511D4E61.5050808@kaltenbrunner.cc> <20130216013854.GD12029@momjian.us> <20130216084421.GA1223@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