Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

170
Views
Installing postgresql on ubuntu

I get the below error when I'm trying to install Postgres Data Base by running that command on Ubuntu OS sudo apt-get install postgresql-9.4

dpkg: error processing package postgresql-9.4 (--configure): subprocess installed post-installation script returned error exit status 2 dpkg: dependency problems prevent configuration of postgresql-contrib-9.4: postgresql-contrib-9.4 depends on postgresql-9.4 (= 9.4.11-1.pgdg16.04+1); however: Package postgresql-9.4 is not configured yet. dpkg: error processing package postgresql-contrib-9.4 (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered while processing: postgresql-9.4 postgresql-contrib-9.4 E: Sub-process /usr/bin/dpkg returned an error code (1)

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

If you tried several solutions, you probably have some leftovers from that tries. To start from 'scratch' you have to uninstall everything and cleanup your system before trying anything:

sudo apt-get purge 'postgresql.*'

This will uninstall all packages and remove all config files. Note: this will also remove all database files from your system.

After that you have to check what repositories you have added to the system. Check /etc/apt/sources.list file and every other files in /etc/apt/sources.list.d/ directory.

Remove everything related to postgresql and 'pgdg'.

And finally, you can follow official postgresql manual here: https://wiki.postgresql.org/wiki/Apt

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!