Skip to content

Instantly share code, notes, and snippets.

@AndreiPashkin
Created August 7, 2015 10:23
Show Gist options
  • Save AndreiPashkin/1aae3f86facd6ac39663 to your computer and use it in GitHub Desktop.
Save AndreiPashkin/1aae3f86facd6ac39663 to your computer and use it in GitHub Desktop.
$ sudo apt-get -y install postgresql-plpython-9.4
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libgeos-3.2.2
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
postgresql-9.4 postgresql-contrib-9.4
Suggested packages:
oidentd ident-server locales-all libdbd-pg-perl
The following NEW packages will be installed:
postgresql-plpython-9.4
The following packages will be upgraded:
postgresql-9.4 postgresql-contrib-9.4
2 upgraded, 1 newly installed, 0 to remove and 257 not upgraded.
Need to get 4,127 kB of archives.
After this operation, 762 kB of additional disk space will be used.
Get:1 http://apt.postgresql.org/pub/repos/apt/ precise-pgdg/main postgresql-contrib-9.4 amd64 9.4.4-1.pgdg12.4+1 [428 kB]
Get:2 http://apt.postgresql.org/pub/repos/apt/ precise-pgdg/main postgresql-9.4 amd64 9.4.4-1.pgdg12.4+1 [3,656 kB]
Get:3 http://apt.postgresql.org/pub/repos/apt/ precise-pgdg/main postgresql-plpython-9.4 amd64 9.4.4-1.pgdg12.4+1 [43.0 kB]
Fetched 4,127 kB in 0s (7,215 kB/s)
(Reading database ... 77803 files and directories currently installed.)
Preparing to replace postgresql-contrib-9.4 9.4.0-1.pgdg12.4+1 (using .../postgresql-contrib-9.4_9.4.4-1.pgdg12.4+1_amd64.deb) ...
Unpacking replacement postgresql-contrib-9.4 ...
Preparing to replace postgresql-9.4 9.4.0-1.pgdg12.4+1 (using .../postgresql-9.4_9.4.4-1.pgdg12.4+1_amd64.deb) ...
[ OK ]
Unpacking replacement postgresql-9.4 ...
Selecting previously unselected package postgresql-plpython-9.4.
Unpacking postgresql-plpython-9.4 (from .../postgresql-plpython-9.4_9.4.4-1.pgdg12.4+1_amd64.deb) ...
Processing triggers for postgresql-common ...
Building PostgreSQL dictionaries from installed myspell/hunspell packages...
Removing obsolete dictionary files:
Setting up postgresql-9.4 (9.4.4-1.pgdg12.4+1) ...
Refused to start PostgreSQL 9.4, because PostgreSQL 9.1 is currently running! You should first stop 9.1 instance...
invoke-rc.d: initscript postgresql, action "start" failed.
dpkg: error processing postgresql-9.4 (--configure):
subprocess installed post-installation script returned error exit status 13
dpkg: dependency problems prevent configuration of postgresql-contrib-9.4:
postgresql-contrib-9.4 depends on postgresql-9.4 (= 9.4.4-1.pgdg12.4+1); however:
Package postgresql-9.4 is not configured yet.
dpkg: error processing postgresql-contrib-9.4 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of postgresql-plpython-9.4:
postgresql-plpython-9.4 depends on postgresql-9.4 (= 9.4.4-1.pgdg12.4+1); however:
Package postgresql-9.4 is not configured yet.
dpkg: error processing postgresql-plpython-9.4 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
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
postgresql-plpython-9.4
E: Sub-process /usr/bin/dpkg returned an error code (1)
The command "sudo apt-get -y install postgresql-plpython-9.4" failed and exited with 100 during .
Your build has been stopped.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment