Answer the question
In order to leave comments, you need to log in
How to update postgresql package in debian?
apt-get install postgresql-9.4 postgresql-client-9.4
gives error
E: Couldn't find any package by regex 'postgresql-9.4'
apt-get install postgresql
works
but offers version 9.1 for installation
whether?
Answer the question
In order to leave comments, you need to log in
You need to connect the repository from PostgreSQL itself .
To do this, add to /etc/apt/sources.list.d/pgdg.list:
Import signed repository key:
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get update
sudo apt-get install postgresql-9.4 postgresql-client-9.4
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question