On 07/27/2018 08:17 AM, vardenis pavardenis wrote:
Hello.
I am trying install postgresql 10.4 on Ubuntu 14.05 server (x64).
On Ubuntu i installed only ssh service for remote access.
I am trying install it via Apt Repository
(https://www.postgresql.org/download/linux/ubuntu/
<https://www.postgresql.org/download/linux/ubuntu/>).
I did:
sudo sh -c 'echo "debhttp://apt.postgresql.org/pub/repos/apt/
<http://apt.postgresql.org/pub/repos/apt/> $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
sudo apt-get install wget ca-certificates
wget --quiet -O -https://www.postgresql.org/media/keys/ACCC4CF8.asc
<https://www.postgresql.org/media/keys/ACCC4CF8.asc> | sudo apt-key add -
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install postgresql-10
and get some errors:
Package postgresql-10 is not configured yet.
dpkg: error processing package postgresql (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.19-0ubuntu6.14) ...
No apport report written because the error message indicates its a
followup error from a previous failure.
Errors were encountered while processing:
postgresql-10
postgresql
E: Sub-process /usr/bin/dpkg returned an error code (1)
thanks for any reponse.
Best guess, cross contamination with the Ubuntu package(s) for Postgres.
What does:
dpkg -l | grep postgres
show?
--
Adrian Klaver
adrian.klaver@xxxxxxxxxxx