Skip to content

Instantly share code, notes, and snippets.

@danielsamuels
Created July 10, 2014 10:44
Show Gist options
  • Save danielsamuels/cc78b5126e7b275e18a2 to your computer and use it in GitHub Desktop.
Save danielsamuels/cc78b5126e7b275e18a2 to your computer and use it in GitHub Desktop.
PostgreSQL 9.3
root@ubuntu-server:~# apt-get install postgresql-9.3 -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libossp-uuid16 libxslt1.1
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
postgresql-client-9.3 postgresql-client-common postgresql-common
Suggested packages:
oidentd ident-server locales-all postgresql-doc-9.3
The following NEW packages will be installed
postgresql-9.3 postgresql-client-9.3 postgresql-client-common postgresql-common
0 to upgrade, 4 to newly install, 0 to remove and 69 not to upgrade.
Need to get 0 B/3,568 kB of archives.
After this operation, 15.1 MB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package postgresql-client-common.
(Reading database ... 63989 files and directories currently installed.)
Preparing to unpack .../postgresql-client-common_154_all.deb ...
Unpacking postgresql-client-common (154) ...
Selecting previously unselected package postgresql-client-9.3.
Preparing to unpack .../postgresql-client-9.3_9.3.4-1_amd64.deb ...
Unpacking postgresql-client-9.3 (9.3.4-1) ...
Selecting previously unselected package postgresql-common.
Preparing to unpack .../postgresql-common_154_all.deb ...
Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common'
Unpacking postgresql-common (154) ...
Selecting previously unselected package postgresql-9.3.
Preparing to unpack .../postgresql-9.3_9.3.4-1_amd64.deb ...
Unpacking postgresql-9.3 (9.3.4-1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up postgresql-client-common (154) ...
Setting up postgresql-client-9.3 (9.3.4-1) ...
update-alternatives: using /usr/share/postgresql/9.3/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
Setting up postgresql-common (154) ...
* Starting PostgreSQL 9.3 database server * Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
Use of uninitialized value $logsize in numeric gt (>) at /usr/bin/pg_ctlcluster line 224.
The PostgreSQL server failed to start. Please check the log output.
[fail]
invoke-rc.d: initscript postgresql, action "start" failed.
dpkg: error processing package postgresql-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of postgresql-9.3:
postgresql-9.3 depends on postgresql-common (>= 142~); however:
Package postgresql-common is not configured yet.
dpkg: error processing package postgresql-9.3 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
Errors were encountered while processing:
postgresql-common
postgresql-9.3
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@ubuntu-server:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment