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 ?