Need a unique gift idea?
A Pastebin account makes a great Christmas gift


a guest Mar 14th, 2018 91 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. sudo apt-get install python-pip python-dev libpq-dev postgresql
  3. postgresql-contrib
  4. Reading package lists... Done
  5. Building dependency tree      
  6. Reading state information... Done
  7. python-dev is already the newest version.
  8. python-pip is already the newest version.
  9. libpq-dev is already the newest version.
  10. The following extra packages will be installed:
  11.   postgresql-10
  12. Suggested packages:
  13.   postgresql-doc locales-all
  14. The following NEW packages will be installed:
  15.   postgresql postgresql-10 postgresql-contrib
  16. 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
  17. Need to get 0 B/4,910 kB of archives.
  18. After this operation, 22.2 MB of additional disk space will be used.
  19. Do you want to continue? [Y/n] y
  20. Selecting previously unselected package postgresql-10.
  21. (Reading database ... 272867 files and directories currently installed.)
  22. Preparing to unpack .../postgresql-10_10.3-1.pgdg14.04+1_amd64.deb ...
  23. Unpacking postgresql-10 (10.3-1.pgdg14.04+1) ...
  24. Selecting previously unselected package postgresql.
  25. Preparing to unpack .../postgresql_10+190.pgdg14.04+1_all.deb ...
  26. Unpacking postgresql (10+190.pgdg14.04+1) ...
  27. Selecting previously unselected package postgresql-contrib.
  28. Preparing to unpack .../postgresql-contrib_10+190.pgdg14.04+1_all.deb ...
  29. Unpacking postgresql-contrib (10+190.pgdg14.04+1) ...
  30. Processing triggers for postgresql-common (190.pgdg14.04+1) ...
  31. Building PostgreSQL dictionaries from installed myspell/hunspell packages...
  32.   en_us
  33. Removing obsolete dictionary files:
  34. Setting up postgresql-10 (10.3-1.pgdg14.04+1) ...
  35. Configuring already existing cluster (configuration: /etc/postgresql/10/main, data: /var/lib/postgresql/10/main, owner: 118:126)
  36. Error: move_conffile: required configuration file /var/lib/postgresql/10/main/postgresql.conf does not exist
  37. Error: could not create default cluster. Please create it manually with
  39.   pg_createcluster 10 main --start
  41. or a similar command (see 'man pg_createcluster').
  42. update-alternatives: using /usr/share/postgresql/10/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode
  43. invoke-rc.d: unknown initscript, /etc/init.d/postgresql not found.
  44. dpkg: error processing package postgresql-10 (--configure):
  45.  subprocess installed post-installation script returned error exit status 100
  46. dpkg: dependency problems prevent configuration of postgresql:
  47.  postgresql depends on postgresql-10; however:
  48.   Package postgresql-10 is not configured yet.
  50. dpkg: error processing package postgresql (--configure):
  51.  dependency problems - leaving unconfigured
  52. dpkg: dependency problems prevent configuration of postgresql-contrib:
  53.  postgresql-contrib depends on postgresql-contrib-10; however:
  54.   Package postgresql-contrib-10 is not installed.
  55.   Package postgresql-10 which provides postgresql-contrib-10 is not configured yet.
  57. dpkg: error processing package postgresql-contrib (--configure):
  58.  dependency problems - leaving unconfigured
  59. No apport report written because the error message indicates its a followup error from a previous failure.
  60.                           No apport report written because the error message indicates its a followup error from a previous failure.
  61.                                                     Errors were
  63. encountered while processing:
  64.  postgresql-10
  65.  postgresql
  66.  postgresql-contrib
  67. E: Sub-process /usr/bin/dpkg returned an error code (1)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand