When i tried to install postgresql-9.3 or higher it shows me the below errors
$ sudo apt-get install postgresql-9.3
- Reading package lists... Done
- Building dependency tree
- 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.3 : Depends: libc6 (>= 2.16) but 2.15-0ubuntu10.12 is to be installed
- E: Unable to correct problems, you have held broken packages.
Try to run the apt-get update before installing postgresql: