Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UDBMS-00082E-Kj for pgsql-www@arkaria.postgresql.org; Wed, 06 Mar 2013 10:14:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UDBMR-00081u-Sh for pgsql-www@arkaria.postgresql.org; Wed, 06 Mar 2013 10:14:11 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UDBMR-00081p-13 for pgsql-www@postgresql.org; Wed, 06 Mar 2013 10:14:11 +0000 Received: from cl-2390.ham-01.de.sixxs.net ([2001:6f8:900:955::2] helo=feynman.df7cb.de) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UDBMO-0000wB-ND for pgsql-www@postgresql.org; Wed, 06 Mar 2013 10:14:10 +0000 Received: from msgid.df7cb.de (benz.df7cb.de [IPv6:2001:6f8:10ee:e:134::2]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id BA40C6969A for ; Wed, 6 Mar 2013 11:14:05 +0100 (CET) Date: Wed, 6 Mar 2013 11:14:01 +0100 From: Christoph Berg To: PostgreSQL WWW Subject: Re: Updates for the apt.postgresql.org instructions Message-ID: <20130306101400.GB27001@msgid.df7cb.de> Mail-Followup-To: Christoph Berg , PostgreSQL WWW References: <20130305143657.GF11586@msgid.df7cb.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-www Precedence: bulk Sender: pgsql-www-owner@postgresql.org --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Re: Magnus Hagander 2013-03-05 > Any chance you can provide this as an attachment instead? To make sure > line endings and friends aren't messed up.. Here it is. Christoph -- cb@df7cb.de | http://www.df7cb.de/ --7JfCtLOvnd9MIVvH Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="apt.diff" diff --git a/templates/pages/download/linux/debian.html b/templates/pages/download/linux/debian.html index 96b75cf..cc064cb 100644 --- a/templates/pages/download/linux/debian.html +++ b/templates/pages/download/linux/debian.html @@ -41,6 +41,15 @@ version number as required):
  • pgadmin3 - pgAdmin III graphical administration utility
  • + +

    PostgreSQL Apt Repository

    If the version included in your version of Debian is not the one you want, @@ -52,24 +61,22 @@ updates for all supported versions of PostgreSQL throughout the support

    To use the apt repository, follow these steps:

      -
    • Import the repository signing key - wget -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | sudo apt-key add - -
    • -
    • 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/ squeeze-pgdg main -
    • -
    • Configure apt's package pinning to prefer the PGDG packages over the standard ones in /etc/apt/preferences.d/pgdg.pref - -Package: *
      -Pin: release o=apt.postgresql.org
      -Pin-Priority: 500 -
      +
    • Create the file /etc/apt/sources.list.d/pgdg.list, and add a line + for the repository +
      + +
      + deb http://apt.postgresql.org/pub/repos/apt/ YOUR_DEBIAN_VERSION_HERE-pgdg main
    • -
    • Update the package lists, and install the pgdg-keyring package to automatically get repository key updates +
    • Import the repository signing key, and update the package lists -sudo apt-get update
      -sudo apt-get install pgdg-keyring +wget --quiet -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | \
      +  sudo apt-key add -
      +sudo apt-get update
    diff --git a/templates/pages/download/linux/ubuntu.html b/templates/pages/download/linux/ubuntu.html index 664af81..a506d37 100644 --- a/templates/pages/download/linux/ubuntu.html +++ b/templates/pages/download/linux/ubuntu.html @@ -43,40 +43,42 @@ version number as required):
  • pgadmin3 - pgAdmin III graphical administration utility
  • + +

    PostgreSQL Apt Repository

    -If the version included in your version of Debian is not the one you want, +If the version included in your version of Ubuntu is not the one you want, you can use the PostgreSQL Apt Repository. This repository will integrate with your normal systems and patch management, and provide automatic updates for all supported versions of PostgreSQL throughout the support lifetime of PostgreSQL.

    -Not all Ubuntu releases are currently supported in the apt repository. For -an up to date list of supported releases, please see the apt page on -the wiki. -

    -

    To use the apt repository, follow these steps:

      -
    • Import the repository signing key - wget -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | sudo apt-key add - -
    • -
    • 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 -
    • -
    • Configure apt's package pinning to prefer the PGDG packages over the standard ones in /etc/apt/preferences.d/pgdg.pref - -Package: *
      -Pin: release o=apt.postgresql.org
      -Pin-Priority: 500 -
      +
    • Create the file /etc/apt/sources.list.d/pgdg.list, and add a line + for the repository +
      + +
      + deb http://apt.postgresql.org/pub/repos/apt/ YOUR_UBUNTU_VERSION_HERE-pgdg main
    • -
    • Update the package lists, and install the pgdg-keyring package to automatically get repository key updates +
    • Import the repository signing key, and update the package lists -sudo apt-get update
      -sudo apt-get install pgdg-keyring +wget --quiet -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | \
      +  sudo apt-key add -
      +sudo apt-get update
    --7JfCtLOvnd9MIVvH Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-www mailing list (pgsql-www@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-www --7JfCtLOvnd9MIVvH--