Skip to content

Instantly share code, notes, and snippets.

@ekho
Created March 21, 2016 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ekho/0eb667b7bb5e9fdd322a to your computer and use it in GitHub Desktop.
Save ekho/0eb667b7bb5e9fdd322a to your computer and use it in GitHub Desktop.
# apt-get install postgrespro-9.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
postgrespro-client-9.5 postgrespro-contrib-9.5
Suggested packages:
oidentd ident-server locales-all postgrespro-doc-9.5 libdbd-pg-perl
The following NEW packages will be installed:
postgrespro-9.5 postgrespro-client-9.5 postgrespro-contrib-9.5
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/7,120 kB of archives.
After this operation, 33.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package postgrespro-client-9.5.
(Reading database ... 183025 files and directories currently installed.)
Preparing to unpack .../postgrespro-client-9.5_9.5.1.2-1.trusty.pro_amd64.deb ...
Unpacking postgrespro-client-9.5 (9.5.1.2-1.trusty.pro) ...
Selecting previously unselected package postgrespro-9.5.
Preparing to unpack .../postgrespro-9.5_9.5.1.2-1.trusty.pro_amd64.deb ...
Unpacking postgrespro-9.5 (9.5.1.2-1.trusty.pro) ...
Selecting previously unselected package postgrespro-contrib-9.5.
Preparing to unpack .../postgrespro-contrib-9.5_9.5.1.2-1.trusty.pro_amd64.deb ...
Unpacking postgrespro-contrib-9.5 (9.5.1.2-1.trusty.pro) ...
Processing triggers for postgresql-common (172.pgdg14.04+1) ...
Building PostgreSQL dictionaries from installed myspell/hunspell packages...
Removing obsolete dictionary files:
Setting up postgrespro-client-9.5 (9.5.1.2-1.trusty.pro) ...
Setting up postgrespro-9.5 (9.5.1.2-1.trusty.pro) ...
Creating new cluster 9.5/main ...
config /etc/postgresql/9.5/main
data /var/lib/postgresql/9.5/main
locale en_US.UTF-8
socket /var/run/postgresql
port 5434
/usr/share/postgresql-common/maintscripts-functions: line 95: db_stop: command not found
dpkg: error processing package postgrespro-9.5 (--configure):
subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of postgrespro-contrib-9.5:
postgrespro-contrib-9.5 depends on postgrespro-9.5 (= 9.5.1.2-1.trusty.pro); however:
Package postgrespro-9.5 is not configured yet.
dpkg: error processing package postgrespro-contrib-9.5 (--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:
postgrespro-9.5
postgrespro-contrib-9.5
E: Sub-process /usr/bin/dpkg returned an error code (1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment