Skip to content

Instantly share code, notes, and snippets.

@jurgens
Created March 20, 2014 17:26
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 jurgens/9669210 to your computer and use it in GitHub Desktop.
Save jurgens/9669210 to your computer and use it in GitHub Desktop.
root@new:~# apt-get install postgresql postgresql-contrib
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libossp-uuid16 libpq5 libxslt1.1 postgresql-9.1 postgresql-client-9.1 postgresql-client-common postgresql-common postgresql-contrib-9.1 ssl-cert
Suggested packages:
uuid oidentd ident-server locales-all postgresql-doc-9.1 libdbd-pg-perl openssl-blacklist
The following NEW packages will be installed:
libossp-uuid16 libpq5 libxslt1.1 postgresql postgresql-9.1 postgresql-client-9.1 postgresql-client-common postgresql-common postgresql-contrib postgresql-contrib-9.1 ssl-cert
0 upgraded, 11 newly installed, 0 to remove and 2 not upgraded.
Need to get 5831 kB/6195 kB of archives.
After this operation, 16.8 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://mirrors.digitalocean.com/ubuntu/ precise-updates/main libpq5 amd64 9.1.12-0ubuntu0.12.04 [96.0 kB]
Get:2 http://mirrors.digitalocean.com/ubuntu/ precise-updates/main postgresql-client-9.1 amd64 9.1.12-0ubuntu0.12.04 [959 kB]
Get:3 http://mirrors.digitalocean.com/ubuntu/ precise-updates/main postgresql-9.1 amd64 9.1.12-0ubuntu0.12.04 [4312 kB]
Get:4 http://mirrors.digitalocean.com/ubuntu/ precise-updates/main postgresql-contrib-9.1 amd64 9.1.12-0ubuntu0.12.04 [464 kB]
Fetched 5831 kB in 6s (966 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Preconfiguring packages ...
Selecting previously unselected package libxslt1.1.
(Reading database ... 51459 files and directories currently installed.)
Unpacking libxslt1.1 (from .../libxslt1.1_1.1.26-8ubuntu1.3_amd64.deb) ...
Selecting previously unselected package libossp-uuid16.
Unpacking libossp-uuid16 (from .../libossp-uuid16_1.6.2-1.1build3_amd64.deb) ...
Selecting previously unselected package libpq5.
Unpacking libpq5 (from .../libpq5_9.1.12-0ubuntu0.12.04_amd64.deb) ...
Selecting previously unselected package postgresql-client-common.
Unpacking postgresql-client-common (from .../postgresql-client-common_129ubuntu1_all.deb) ...
Selecting previously unselected package postgresql-client-9.1.
Unpacking postgresql-client-9.1 (from .../postgresql-client-9.1_9.1.12-0ubuntu0.12.04_amd64.deb) ...
Selecting previously unselected package ssl-cert.
Unpacking ssl-cert (from .../ssl-cert_1.0.28ubuntu0.1_all.deb) ...
Selecting previously unselected package postgresql-common.
Unpacking postgresql-common (from .../postgresql-common_129ubuntu1_all.deb) ...
Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common'
Selecting previously unselected package postgresql-9.1.
Unpacking postgresql-9.1 (from .../postgresql-9.1_9.1.12-0ubuntu0.12.04_amd64.deb) ...
Selecting previously unselected package postgresql.
Unpacking postgresql (from .../postgresql_9.1+129ubuntu1_all.deb) ...
Selecting previously unselected package postgresql-contrib-9.1.
Unpacking postgresql-contrib-9.1 (from .../postgresql-contrib-9.1_9.1.12-0ubuntu0.12.04_amd64.deb) ...
Selecting previously unselected package postgresql-contrib.
Unpacking postgresql-contrib (from .../postgresql-contrib_9.1+129ubuntu1_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up libxslt1.1 (1.1.26-8ubuntu1.3) ...
Setting up libossp-uuid16 (1.6.2-1.1build3) ...
Setting up libpq5 (9.1.12-0ubuntu0.12.04) ...
Setting up postgresql-client-common (129ubuntu1) ...
Setting up postgresql-client-9.1 (9.1.12-0ubuntu0.12.04) ...
update-alternatives: using /usr/share/postgresql/9.1/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode.
Setting up ssl-cert (1.0.28ubuntu0.1) ...
Setting up postgresql-common (129ubuntu1) ...
Adding user postgres to group ssl-cert
Building PostgreSQL dictionaries from installed myspell/hunspell packages...
Setting up postgresql-9.1 (9.1.12-0ubuntu0.12.04) ...
Error: The locale requested by the environment is invalid.
Error: could not create default cluster. Please create it manually with
pg_createcluster 9.1 main --start
or a similar command (see 'man pg_createcluster').
update-alternatives: using /usr/share/postgresql/9.1/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode.
Setting up postgresql (9.1+129ubuntu1) ...
Setting up postgresql-contrib-9.1 (9.1.12-0ubuntu0.12.04) ...
Setting up postgresql-contrib (9.1+129ubuntu1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment