Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clooker@predator:~$ sudo apt-get -y install postgresql postgresql-contrib libpq-dev
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following additional packages will be installed:
- comerr-dev krb5-multidev libgssrpc4 libkadm5clnt-mit9 libkadm5srv-mit9 libkdb5-8 libpq5
- postgresql-9.5 postgresql-client-9.5 postgresql-client-common postgresql-common
- postgresql-contrib-9.5 sysstat
- Suggested packages:
- krb5-doc krb5-user postgresql-doc-9.5 postgresql-doc locales-all libdbd-pg-perl isag
- The following NEW packages will be installed:
- comerr-dev krb5-multidev libgssrpc4 libkadm5clnt-mit9 libkadm5srv-mit9 libkdb5-8 libpq-dev libpq5
- postgresql postgresql-9.5 postgresql-client-9.5 postgresql-client-common postgresql-common
- postgresql-contrib postgresql-contrib-9.5 sysstat
- 0 upgraded, 16 newly installed, 0 to remove and 10 not upgraded.
- Need to get 5,326 kB of archives.
- After this operation, 22.0 MB of additional disk space will be used.
- Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgssrpc4 amd64 1.13.2+dfsg-5ubuntu2 [54.5 kB]
- Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libkdb5-8 amd64 1.13.2+dfsg-5ubuntu2 [37.1 kB]
- Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libkadm5srv-mit9 amd64 1.13.2+dfsg-5ubuntu2 [51.3 kB]
- Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libkadm5clnt-mit9 amd64 1.13.2+dfsg-5ubuntu2 [36.7 kB]
- Get:5 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 comerr-dev amd64 2.1-1.42.13-1ubuntu1 [38.2 kB]
- Get:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 krb5-multidev amd64 1.13.2+dfsg-5ubuntu2 [113 kB]
- Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpq5 amd64 9.5.11-0ubuntu0.16.04 [78.9 kB]
- Get:8 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpq-dev amd64 9.5.11-0ubuntu0.16.04 [154 kB]
- Get:9 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 postgresql-client-common all 173ubuntu0.1 [28.4 kB]
- Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 postgresql-client-9.5 amd64 9.5.11-0ubuntu0.16.04 [864 kB]
- Get:11 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 postgresql-common all 173ubuntu0.1 [154 kB]
- Get:12 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 postgresql-9.5 amd64 9.5.11-0ubuntu0.16.04 [3,013 kB]
- Get:13 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 postgresql all 9.5+173ubuntu0.1 [5,450 B]
- Get:14 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 postgresql-contrib-9.5 amd64 9.5.11-0ubuntu0.16.04 [449 kB]
- Get:15 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 postgresql-contrib all 9.5+173ubuntu0.1 [5,456 B]
- Get:16 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 sysstat amd64 11.2.0-1ubuntu0.2 [243 kB]
- Fetched 5,326 kB in 0s (6,162 kB/s)
- Preconfiguring packages ...
- Selecting previously unselected package libgssrpc4:amd64.
- (Reading database ... 236867 files and directories currently installed.)
- Preparing to unpack .../libgssrpc4_1.13.2+dfsg-5ubuntu2_amd64.deb ...
- Unpacking libgssrpc4:amd64 (1.13.2+dfsg-5ubuntu2) ...
- Selecting previously unselected package libkdb5-8:amd64.
- Preparing to unpack .../libkdb5-8_1.13.2+dfsg-5ubuntu2_amd64.deb ...
- Unpacking libkdb5-8:amd64 (1.13.2+dfsg-5ubuntu2) ...
- Selecting previously unselected package libkadm5srv-mit9:amd64.
- Preparing to unpack .../libkadm5srv-mit9_1.13.2+dfsg-5ubuntu2_amd64.deb ...
- Unpacking libkadm5srv-mit9:amd64 (1.13.2+dfsg-5ubuntu2) ...
- Selecting previously unselected package libkadm5clnt-mit9:amd64.
- Preparing to unpack .../libkadm5clnt-mit9_1.13.2+dfsg-5ubuntu2_amd64.deb ...
- Unpacking libkadm5clnt-mit9:amd64 (1.13.2+dfsg-5ubuntu2) ...
- Selecting previously unselected package comerr-dev.
- Preparing to unpack .../comerr-dev_2.1-1.42.13-1ubuntu1_amd64.deb ...
- Unpacking comerr-dev (2.1-1.42.13-1ubuntu1) ...
- Selecting previously unselected package krb5-multidev.
- Preparing to unpack .../krb5-multidev_1.13.2+dfsg-5ubuntu2_amd64.deb ...
- Unpacking krb5-multidev (1.13.2+dfsg-5ubuntu2) ...
- Selecting previously unselected package libpq5:amd64.
- Preparing to unpack .../libpq5_9.5.11-0ubuntu0.16.04_amd64.deb ...
- Unpacking libpq5:amd64 (9.5.11-0ubuntu0.16.04) ...
- Selecting previously unselected package libpq-dev.
- Preparing to unpack .../libpq-dev_9.5.11-0ubuntu0.16.04_amd64.deb ...
- Unpacking libpq-dev (9.5.11-0ubuntu0.16.04) ...
- Selecting previously unselected package postgresql-client-common.
- Preparing to unpack .../postgresql-client-common_173ubuntu0.1_all.deb ...
- Unpacking postgresql-client-common (173ubuntu0.1) ...
- Selecting previously unselected package postgresql-client-9.5.
- Preparing to unpack .../postgresql-client-9.5_9.5.11-0ubuntu0.16.04_amd64.deb ...
- Unpacking postgresql-client-9.5 (9.5.11-0ubuntu0.16.04) ...
- Selecting previously unselected package postgresql-common.
- Preparing to unpack .../postgresql-common_173ubuntu0.1_all.deb ...
- Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common'
- Unpacking postgresql-common (173ubuntu0.1) ...
- Selecting previously unselected package postgresql-9.5.
- Preparing to unpack .../postgresql-9.5_9.5.11-0ubuntu0.16.04_amd64.deb ...
- Unpacking postgresql-9.5 (9.5.11-0ubuntu0.16.04) ...
- Selecting previously unselected package postgresql.
- Preparing to unpack .../postgresql_9.5+173ubuntu0.1_all.deb ...
- Unpacking postgresql (9.5+173ubuntu0.1) ...
- Selecting previously unselected package postgresql-contrib-9.5.
- Preparing to unpack .../postgresql-contrib-9.5_9.5.11-0ubuntu0.16.04_amd64.deb ...
- Unpacking postgresql-contrib-9.5 (9.5.11-0ubuntu0.16.04) ...
- Selecting previously unselected package postgresql-contrib.
- Preparing to unpack .../postgresql-contrib_9.5+173ubuntu0.1_all.deb ...
- Unpacking postgresql-contrib (9.5+173ubuntu0.1) ...
- Selecting previously unselected package sysstat.
- Preparing to unpack .../sysstat_11.2.0-1ubuntu0.2_amd64.deb ...
- Unpacking sysstat (11.2.0-1ubuntu0.2) ...
- Processing triggers for libc-bin (2.23-0ubuntu10) ...
- Processing triggers for man-db (2.7.5-1) ...
- Processing triggers for doc-base (0.10.7) ...
- Processing 2 added doc-base files...
- Registering documents with scrollkeeper...
- Processing triggers for install-info (6.1.0.dfsg.1-5) ...
- Processing triggers for systemd (229-4ubuntu21.1) ...
- Processing triggers for ureadahead (0.100.0-19) ...
- ureadahead will be reprofiled on next reboot
- Setting up libgssrpc4:amd64 (1.13.2+dfsg-5ubuntu2) ...
- Setting up libkdb5-8:amd64 (1.13.2+dfsg-5ubuntu2) ...
- Setting up libkadm5srv-mit9:amd64 (1.13.2+dfsg-5ubuntu2) ...
- Setting up libkadm5clnt-mit9:amd64 (1.13.2+dfsg-5ubuntu2) ...
- Setting up comerr-dev (2.1-1.42.13-1ubuntu1) ...
- Setting up krb5-multidev (1.13.2+dfsg-5ubuntu2) ...
- Setting up libpq5:amd64 (9.5.11-0ubuntu0.16.04) ...
- Setting up libpq-dev (9.5.11-0ubuntu0.16.04) ...
- Setting up postgresql-client-common (173ubuntu0.1) ...
- Setting up postgresql-client-9.5 (9.5.11-0ubuntu0.16.04) ...
- update-alternatives: using /usr/share/postgresql/9.5/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
- Setting up postgresql-common (173ubuntu0.1) ...
- Adding user postgres to group ssl-cert
- Creating config file /etc/postgresql-common/createcluster.conf with new version
- Creating config file /etc/logrotate.d/postgresql-common with new version
- Building PostgreSQL dictionaries from installed myspell/hunspell packages...
- en_us
- Removing obsolete dictionary files:
- Setting up postgresql-9.5 (9.5.11-0ubuntu0.16.04) ...
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
- 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 5432
- update-alternatives: using /usr/share/postgresql/9.5/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode
- Setting up postgresql (9.5+173ubuntu0.1) ...
- Setting up postgresql-contrib-9.5 (9.5.11-0ubuntu0.16.04) ...
- Setting up postgresql-contrib (9.5+173ubuntu0.1) ...
- Setting up sysstat (11.2.0-1ubuntu0.2) ...
- Creating config file /etc/default/sysstat with new version
- update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode
- Processing triggers for libc-bin (2.23-0ubuntu10) ...
- Processing triggers for systemd (229-4ubuntu21.1) ...
- Processing triggers for ureadahead (0.100.0-19) ...
- clooker@predator:~$ su - postgres
- Password:
- su: Authentication failure
- clooker@predator:~$ ^C
- clooker@predator:~$ su - postgres
- Password:
- su: Authentication failure
- clooker@predator:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement