U
U
Uber Noob2016-06-17 09:04:26
linux
Uber Noob, 2016-06-17 09:04:26

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

2 answer(s)
L
landergate, 2016-06-17
@ubernoob

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

Further:
sudo apt-get update
sudo apt-get install postgresql-9.4 postgresql-client-9.4

Source: https://www.postgresql.org/download/linux/debian/

C
chupasaurus, 2016-06-17
@chupasaurus

It's time to move to 8/jessie already.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question