Macbernie
Macbernie

Reputation: 1323

Update libpq5 (>= 9.4~beta3) on Debian Wheezy

I want to upgrade my postgresql version, native 9.1 from debian wheezy to last 9.4 version.

I put the line

deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main

into

/etc/apt/sources.list.d/pgdg.list

then

apt-get update
apt-get upgrade

But when I try to apt-get install postgresql-9.4, I got the following error:

postgresql-9.4 : Depends: postgresql-client-9.4 but it is not going to be installed

So I try to install postgresql-client-9.4 and I got the following error:

postgresql-client-9.4 : Depends: libpq5 (>= 9.4~beta3) but 9.3.5-1.pgdg70+1 is to be installed

And I really don't know how to upgrade libpq5...

Thanks for help

Upvotes: 1

Views: 1441

Answers (1)

Vincas Dargis
Vincas Dargis

Reputation: 555

You have to append 9.4 to repository line. From http://www.postgresql.org/about/news/1524 :

If you are using one of the release distributions of Debian or Ubuntu, add this to your /etc/apt/sources.list.d/pgdg.list to have 9.4 available:

deb http://apt.postgresql.org/pub/repos/apt/ codename-pgdg main 9.4

Upvotes: 1

Related Questions