Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to install PostgreSQL 8.3 on Debian Lenny (kernel 2.6.26-2-686) using the package manager:

sudo apt-get install postgresql-8.3 postgresql-client-8.3 postgresql-contrib-8.3 postgresql-common

When deploying the package postgresql-common, the following warning is displayed:

supported_versions: WARNING: Unknown Debian release: 5.0.4

I wonder if this is related to the problem I describe below.

Next I try to launch the database server but it doesn't have any effect, neither any logs are generated.

sudo /etc/init.d/postgresql-8.3 start

Does anybody have a clue of what might be going on?

UPDATE: These are the contents of sources.list:

deb http://security.debian.org/lenny/updates main contrib
deb-src http://security.debian.org/lenny/updates main contrib
deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib 
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib
deb http://http.us.debian.org/debian stable main contrib non-free

WORKAROUND: Thanks to @lg for pointing out that this particular package is buggy. A possible workaround is to install PostgreSQL 8.4 from the Debian backports repository:

Added the following line to /etc/apt/sources.list:

deb http://www.backports.org/debian lenny-backports main contrib non-free

And executed:

apt-get install debian-backports-keyring
apt-get update
apt-get -t lenny-backports install postgresql-8.4

The server then starts up automatically.

share|improve this question

2 Answers 2

up vote 3 down vote accepted

I found this bug, it is solved from version 95, but you are installing the stable version(94).

share|improve this answer
    
Thanks a lot for the hint! I finally installed it from the backports. –  nuqqsa May 18 '10 at 13:24

Which repository are you using? I think you are installing a wrong version postgresql package.

share|improve this answer
    
@lg: thanks for the answer, just updated the question with the repository sources –  nuqqsa May 18 '10 at 12:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.