Re: what Linux to run - Mailing list pgsql-general

From Scott Marlowe
Subject Re: what Linux to run
Date
Msg-id CAOR=d=0tdpVOy5T+=aM=1=vza+QhN9_f3pG4weD=MQdG0HxkRw@mail.gmail.com
Whole thread Raw
In response to Re: what Linux to run  (Leif Biberg Kristensen <leif@solumslekt.org>)
List pgsql-general
On Sat, Mar 3, 2012 at 3:33 AM, Leif Biberg Kristensen
<leif@solumslekt.org> wrote:
>
> My current gripe is this: The «stable» version of Postgres on Debian is 8.4.
> In order to install 9.1, I added this line to /etc/apt/sources.list:
>
> deb http://ftp.debian.org/debian unstable main contrib non-free
>
> Then I did an apt-get update and
>
> apt-get install postgresql-9.1 postgresql-client-9.1
>
> Finally I commented out the added line of /etc/apt/sources.list.
>
> This seems a rather roundabout way, is there a better one?

We use something like this to put 8.4 on an older debian release.  I'm
guessing that substituting the right repo and version would work for
9.1

sudo apt-get -t lenny-backports install \
postgresql-8.4 \
postgresql-client-8.4 \
postgresql-client-common \
postgresql-common \
postgresql-contrib-8.4 \
postgresql-plpython-8.4 \
postgresql-8.4-slony1 \

Note the -t switch.

pgsql-general by date:

Previous
From: Leif Biberg Kristensen
Date:
Subject: Re: what Linux to run
Next
From: Scott Marlowe
Date:
Subject: Re: what Linux to run