Problems installing PostgresQL on Debian 2.12 Testing
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
You have a difficult problem. According to the book, such an error should be filed as a 'grave' bug report. OTOH, I think if there really was such a bug in a package of the stature of POSTGRESQL, it's unlikely that you are the 1st to discover it, and by now the developers should have been all over it.
I assume that you are getting the package from an official Debian repo, and that you haven't installed some peculiar program that owns a library which the Debian installer wants to overwrite.
Your problem seems to be in postgresql-common ... I think I would try apt-get install postgresql-common by itself, and see if you get a clearer error message.
Firstly thanks for helping me out, I need to get PostgreSQL up and running for a project I need to do to earn a pay rise so you'll understand I need to get this sorted!
I'm getting the packages from uk.debian.org which should be fairly reputable.
I don't think I have installed anything peculiar.
This is the error I'm getting when trying to install postgresql-common only:-
Unpacking postgresql-common (from .../postgresql-common_43_all.deb) ...
Setting up postgresql-common (43) ...
Creating generic self-signed certificate: /etc/postgresql-common/postgresql.crt
(replace with hand-crafted or authorized one if needed).
hostname: Unknown host
dpkg: error processing postgresql-common (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
I'm a relative Linux newcomer but my brother is quite experienced and this issue is perplexing him.
Somthing is wrong in your system, as opposed to POSTGRESQL. I've caught a lot of flak for making this suggestion before, but, is reinstalling Debian an option?
I know it's a pain, but it only takes a few hours, and at the rate you're going ...
After the base-config is done, your choices of which package groups to install include a database server ... That will install POSTGRESQL right on your brand new OS. I would say that's practically a guarantee to work.