public inbox for [email protected]  
help / color / mirror / Atom feed
From: Bruce Momjian <[email protected]>
To: Christoph Berg <[email protected]>
To: Stefan Kaltenbrunner <[email protected]>
To: Josh Berkus <[email protected]>
To: Martin Pitt <[email protected]>
To: Magnus Hagander <[email protected]>
To: PostgreSQL WWW <[email protected]>
To: PostgreSQL in Debian <[email protected]>
To: Tom Lane <[email protected]>
Subject: Re: Re: [pgsql-www] We should not transition to apt.postgresql.org until we have a PPA
Date: Sat, 16 Feb 2013 10:33:09 -0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgsql-pkg-debian>

On Sat, Feb 16, 2013 at 09:44:22AM +0100, Christoph Berg wrote:
> Re: Bruce Momjian 2013-02-16 <[email protected]>
> > 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?

> > 	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.

Yes, that is much better.

> > 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

Oh, yes, my bad.  You are right about it being tricky.  I was unclear if
were wanting to append or replace.  If they run this twice, it would be
good if they don't get two copies of the text in that file.  Maybe:

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

> 	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

Yes, evil.  I think people can copy/paste OK.

> 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?

It was a joke, meaning we shouldn't require special knowledge for people
to get this installed, which this does require currently.

-- 
  Bruce Momjian  <[email protected]>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

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


-- 
Sent via pgsql-pkg-debian mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-debian



view thread (87+ messages)  latest in thread

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
  Subject: Re: Re: [pgsql-www] We should not transition to apt.postgresql.org until we have a PPA
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox