Updates for the apt.postgresql.org instructions
Updates for the apt.postgresql.org instructions
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):
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
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 integratewith your normal systems and patch management, and provide automaticupdates for all supported versions of PostgreSQL throughout the supportlifetime 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
Re: Updates for the apt.postgresql.org instructions
On Tue, Mar 5, 2013 at 3:36 PM, Christoph Berg wrote: > diff --git a/templates/pages/download/linux/debian.html b/templates/pages/download/linux/debian.html Any chance you can provide this as an attachment instead? To make sure line endings and friends aren't messed up.. -- Magnus HaganderMe: http://www.hagander.net/Work: http://www.redpill-linpro.com/
Re: Updates for the apt.postgresql.org instructions
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/
Re: Updates for the apt.postgresql.org instructions
On Wed, Mar 6, 2013 at 11:14 AM, Christoph Berg wrote: > 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. Applied with minor modifications, sorry about the delay. It'll take a while for it to show up, but it's on it's way. -- Magnus HaganderMe: http://www.hagander.net/Work: http://www.redpill-linpro.com/
Re: Updates for the apt.postgresql.org instructions
On Thu, Mar 7, 2013 at 09:44:06PM +0100, Magnus Hagander wrote: > On Wed, Mar 6, 2013 at 11:14 AM, Christoph Berg wrote: > > 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. > > Applied with minor modifications, sorry about the delay. It'll take a > while for it to show up, but it's on it's way. Nice. I like the drop-down Debian version list. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +