A
A
anathem2013-01-10 00:01:47
PostgreSQL
anathem, 2013-01-10 00:01:47

Can't install PostgreSQL 9.1 on Ubuntu 11.04

Can't install PostgreSQL 9.1/9.2 on Ubuntu 11.04 on VPS. I used to install it without problems, now, apparently, I’m stupid somewhere :( I do the
following (and everything seemed to work before):
sudo apt-get install libpq-dev sudo add-apt-repository ppa:pitti/postgresql sudo apt-get update

Then I try: sudo apt-get install postgresql-9.1
We get:
The following packages have unmet dependencies: postgresql-9.1 : Depends: postgresql-client-9.1 but it is not going to be installed Depends: postgresql-common (>= 115~) but it is not going to be installed E: Broken packages

Install: sudo apt-get install postgresql-client -9.1 Dependency

again...

postgresql-client-9.1 : Depends: postgresql-client-common (>= 115~) but it is not going to be installed

When I put sudo apt-get install postgresql-client-common puts version 114. And then swears that the wrong version...

How to install a newer version of postgresql-client-common and why does it automatically catch the old one?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
avalak, 2013-01-10
@anathem

11.04 is no longer supported (end of support October 28, 2012).
And postgresql-common was removed from this ppa. The latest available version is 114. It all fits.

N
nochkin, 2013-01-10
@nochkin

As an option - collect from sources. Of the shortcomings - it will be necessary to monitor new versions and update in the same way.

A
afiskon, 2013-12-18
@afiskon

Here, if still relevant: eax.me/postgresql-install

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question