Обсуждение: Installing postgres10 on Ubuntu 16

Поиск
Список
Период
Сортировка

Installing postgres10 on Ubuntu 16

От
Debraj Manna
Дата:
HI

I am trying to install postgres 10 on Ubuntu 16. The steps I have followed

wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -

sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -sc)-pgdg main" > /etc/apt/sources.list.d/PostgreSQL.list'

sudo apt-get update

sudo apt-get install postgresql-10

But after installation I am seeing libpq5 version that is installed is from postgres 11. 

dmanna@ubuntu:~$ sudo dpkg-query --status libpq5
Package: libpq5
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 742
Maintainer: Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org>
Architecture: amd64
Multi-Arch: same
Source: postgresql-11
Version: 11.2-1.pgdg16.04+1

Is this expected? Will this cause any issue with postgres 10 ?


Re: [MASSMAIL]Installing postgres10 on Ubuntu 16

От
gilberto.castillo@etecsa.cu
Дата:
Hi,

You should enter the Ubuntun repor and download this version.



El 2019-02-18 09:21, Debraj Manna escribió:
> HI
> 
> I am trying to install postgres 10 on Ubuntu 16. The steps I have
> followed
> 
> wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc |
> sudo apt-key add -
> 
> sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/
> $(lsb_release -sc)-pgdg main" >
> /etc/apt/sources.list.d/PostgreSQL.list'
> 
> sudo apt-get update
> 
> sudo apt-get install postgresql-10
> 
> But after installation I am seeing libpq5 version that is installed is
> from postgres 11.
> 
> dmanna@ubuntu:~$ sudo dpkg-query --status libpq5
> Package: libpq5
> Status: install ok installed
> Priority: optional
> Section: libs
> Installed-Size: 742
> Maintainer: Debian PostgreSQL Maintainers
> <team+postgresql@tracker.debian.org>
> 
> Architecture: amd64
> Multi-Arch: same
> Source: postgresql-11
> Version: 11.2-1.pgdg16.04+1
> 
> Is this expected? Will this cause any issue with postgres 10 ?


Re: [MASSMAIL]Installing postgres10 on Ubuntu 16

От
Debraj Manna
Дата:
Can you explain this a bit more? What is the ubuntu repo for postgres 10?

On Mon, Feb 18, 2019 at 7:58 PM <gilberto.castillo@etecsa.cu> wrote:
Hi,

You should enter the Ubuntun repor and download this version.



El 2019-02-18 09:21, Debraj Manna escribió:
> HI
>
> I am trying to install postgres 10 on Ubuntu 16. The steps I have
> followed
>
> wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc |
> sudo apt-key add -
>
> sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/
> $(lsb_release -sc)-pgdg main" >
> /etc/apt/sources.list.d/PostgreSQL.list'
>
> sudo apt-get update
>
> sudo apt-get install postgresql-10
>
> But after installation I am seeing libpq5 version that is installed is
> from postgres 11.
>
> dmanna@ubuntu:~$ sudo dpkg-query --status libpq5
> Package: libpq5
> Status: install ok installed
> Priority: optional
> Section: libs
> Installed-Size: 742
> Maintainer: Debian PostgreSQL Maintainers
> <team+postgresql@tracker.debian.org>
>
> Architecture: amd64
> Multi-Arch: same
> Source: postgresql-11
> Version: 11.2-1.pgdg16.04+1
>
> Is this expected? Will this cause any issue with postgres 10 ?

Re: [MASSMAIL]Installing postgres10 on Ubuntu 16

От
Ian Tan
Дата:
Hi,

May be this link can help you with what you are after:


The suggestion is to add to apt sources list :

The other option is to point to Bionic to get postgresql 10. There may be lots of dependencies so it may (or may not) be as straight forward as you think (I run into various kernel panics in the past for forcing dependencies that have not been tested for older kernels).

Anyway, Good luck !!

Regards,
Ian Tan

On Mon, 18 Feb 2019 at 14:36, Debraj Manna <subharaj.manna@gmail.com> wrote:
Can you explain this a bit more? What is the ubuntu repo for postgres 10?

On Mon, Feb 18, 2019 at 7:58 PM <gilberto.castillo@etecsa.cu> wrote:
Hi,

You should enter the Ubuntun repor and download this version.




El 2019-02-18 09:21, Debraj Manna escribió:
> HI
>
> I am trying to install postgres 10 on Ubuntu 16. The steps I have
> followed
>
> wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc |
> sudo apt-key add -
>
> sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/
> $(lsb_release -sc)-pgdg main" >
> /etc/apt/sources.list.d/PostgreSQL.list'
>
> sudo apt-get update
>
> sudo apt-get install postgresql-10
>
> But after installation I am seeing libpq5 version that is installed is
> from postgres 11.
>
> dmanna@ubuntu:~$ sudo dpkg-query --status libpq5
> Package: libpq5
> Status: install ok installed
> Priority: optional
> Section: libs
> Installed-Size: 742
> Maintainer: Debian PostgreSQL Maintainers
> <team+postgresql@tracker.debian.org>
>
> Architecture: amd64
> Multi-Arch: same
> Source: postgresql-11
> Version: 11.2-1.pgdg16.04+1
>
> Is this expected? Will this cause any issue with postgres 10 ?

Re: [MASSMAIL]Installing postgres10 on Ubuntu 16

От
Ian Tan
Дата:

Sorry I just realised you have done all that.

Regards,
Ian Tan

On Mon, 18 Feb 2019 at 14:49, Ian Tan <iantan1268@gmail.com> wrote:
Hi,

May be this link can help you with what you are after:


The suggestion is to add to apt sources list :

The other option is to point to Bionic to get postgresql 10. There may be lots of dependencies so it may (or may not) be as straight forward as you think (I run into various kernel panics in the past for forcing dependencies that have not been tested for older kernels).

Anyway, Good luck !!

Regards,
Ian Tan

On Mon, 18 Feb 2019 at 14:36, Debraj Manna <subharaj.manna@gmail.com> wrote:
Can you explain this a bit more? What is the ubuntu repo for postgres 10?

On Mon, Feb 18, 2019 at 7:58 PM <gilberto.castillo@etecsa.cu> wrote:
Hi,

You should enter the Ubuntun repor and download this version.




El 2019-02-18 09:21, Debraj Manna escribió:
> HI
>
> I am trying to install postgres 10 on Ubuntu 16. The steps I have
> followed
>
> wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc |
> sudo apt-key add -
>
> sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/
> $(lsb_release -sc)-pgdg main" >
> /etc/apt/sources.list.d/PostgreSQL.list'
>
> sudo apt-get update
>
> sudo apt-get install postgresql-10
>
> But after installation I am seeing libpq5 version that is installed is
> from postgres 11.
>
> dmanna@ubuntu:~$ sudo dpkg-query --status libpq5
> Package: libpq5
> Status: install ok installed
> Priority: optional
> Section: libs
> Installed-Size: 742
> Maintainer: Debian PostgreSQL Maintainers
> <team+postgresql@tracker.debian.org>
>
> Architecture: amd64
> Multi-Arch: same
> Source: postgresql-11
> Version: 11.2-1.pgdg16.04+1
>
> Is this expected? Will this cause any issue with postgres 10 ?