From: Bruce Momjian <bruce@momjian.us>
To: Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>
Cc: Josh Berkus <josh@agliodbs.com>
Cc: Christoph Berg <myon@debian.org>
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: Re: [pgsql-www] We should not transition to apt.postgresql.org until we have a PPA
Date: Fri, 15 Feb 2013 20:38:54 -0500
Message-ID: <20130216013854.GD12029@momjian.us> (raw)
In-Reply-To: <511D4E61.5050808@kaltenbrunner.cc>
References: <20130214122643.GF30046@msgid.df7cb.de>
<511D2E58.6010705@agliodbs.com>
<511D4E61.5050808@kaltenbrunner.cc>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-pkg-debian>
On Thu, Feb 14, 2013 at 09:51:45PM +0100, Stefan Kaltenbrunner wrote:
> > (2) Problem with general process
> >
> > The instructions expressed on the page involve 6 steps, three of which
> > require editing text files with persnickety syntax, thus requiring an
> > intimate knowledge of Debian packaging, and mapping your numerical
> > release number to the "cute" release names, and rearranging lines of a
> > large complex system-generated file, and messing with repository keys.
>
>
> not sure what the "intimitate knowledge requirement" here is - pasting
> exactly the strings proposed is enough and there is not a single
> requirement on understanding debian packaging, though i have to admit
> that NOT understanding it is kinda a sign that you should not have root
> on the debian based box you are on and you are an admin for.
I don't think "codename" is really good wording here:
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
Also, we should tell users how to find their release name. I looked on
Debian and I can't even find out how to find the name, though I know it
is Squeeze.
I am using Ubuntu 12.04 on my laptop and I don't know the release name
of that, nor do I know how to find it.
Also, can't we change this to use a shell?
Package: *
Pin: release o=apt.postgresql.org
Pin-Priority: 500
as in:
sudo cat > /etc/apt/preferences.d/pgdg.pref <<END
Package: *
Pin: release o=apt.postgresql.org
Pin-Priority: 500
END
That avoids requiring them to start an editor as root, which we don't
even mention.
Folks, we shouldn't be requiring decoder rings here to install Postgres
--- we have to do better.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
--
Sent via pgsql-pkg-debian mailing list (pgsql-pkg-debian@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-debian
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: bruce@momjian.us, stefan@kaltenbrunner.cc, josh@agliodbs.com, myon@debian.org, mpitt@debian.org, magnus@hagander.net, pgsql-www@postgresql.org, tgl@sss.pgh.pa.us
Subject: Re: [pgsql-www] We should not transition to apt.postgresql.org until we have a PPA
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>
* 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