I try to install postgresql 9.6 like this:
Code: Select all
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install postgresql-9.6
Code: Select all
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
postgresql-9.6 : Depends: libldap-2.4-2 (>= 2.4.7) but it is not installable
Depends: libssl1.1 (>= 1.1.0) but it is not installable
Recommends: postgresql-contrib-9.6 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.