Обсуждение: BUG #15094: Errors during installation - Unescaped left brace inregex
BUG #15094: Errors during installation - Unescaped left brace inregex
От
PG Bug reporting form
Дата:
The following bug has been logged on the website: Bug reference: 15094 Logged by: Ruben Vargas Email address: rlvargas@gmail.com PostgreSQL version: 10.1 Operating system: Ubuntu 17.10 Description: ~$ uname -srvpio Linux 4.13.0-36-generic #40-Ubuntu SMP Fri Feb 16 20:07:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux Added repository: ~% sudo sh -c "echo 'deb http://apt.postgresql.org/pub/repos/apt/ zesty-pgdg main' > /etc/apt/sources.list.d/pgdg.list" Added key: ~$ wget --quiet -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | sudo apt-key add - ~$ sudo apt-get update ... command output here .... ~$ sudo apt-get install postgresql-common ... command output here .... ~$ sudo apt install postgresql-10 libpq-dev Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: sysstat Suggested packages: postgresql-doc-10 locales-all isag The following NEW packages will be installed: libpq-dev postgresql-10 sysstat 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 5,169 kB of archives. After this operation, 23.7 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://us.archive.ubuntu.com/ubuntu artful-updates/main amd64 sysstat amd64 11.5.7-1ubuntu2 [296 kB] Get:2 http://apt.postgresql.org/pub/repos/apt zesty-pgdg/main amd64 libpq-dev amd64 10.1-1.pgdg17.04+1 [241 kB] Get:3 http://apt.postgresql.org/pub/repos/apt zesty-pgdg/main amd64 postgresql-10 amd64 10.1-1.pgdg17.04+1 [4,633 kB] Fetched 5,169 kB in 2min 0s (42.8 kB/s) Preconfiguring packages ... Selecting previously unselected package libpq-dev. (Reading database ... 217224 files and directories currently installed.) Preparing to unpack .../libpq-dev_10.1-1.pgdg17.04+1_amd64.deb ... Unpacking libpq-dev (10.1-1.pgdg17.04+1) ... Selecting previously unselected package postgresql-10. Preparing to unpack .../postgresql-10_10.1-1.pgdg17.04+1_amd64.deb ... Unpacking postgresql-10 (10.1-1.pgdg17.04+1) ... Selecting previously unselected package sysstat. Preparing to unpack .../sysstat_11.5.7-1ubuntu2_amd64.deb ... Unpacking sysstat (11.5.7-1ubuntu2) ... Setting up libpq-dev (10.1-1.pgdg17.04+1) ... Setting up sysstat (11.5.7-1ubuntu2) ... update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode Processing triggers for ureadahead (0.100.0-20) ... Setting up postgresql-10 (10.1-1.pgdg17.04+1) ... Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78. Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78. Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78. Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78. Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78. Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78. Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78. Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78. Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78. Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78. Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78. Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78. Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78. Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78. Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78. Creating new PostgreSQL cluster 10/main ... /usr/lib/postgresql/10/bin/initdb -D /var/lib/postgresql/10/main --auth-local peer --auth-host md5 The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locale "en_US.UTF-8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are disabled. fixing permissions on existing directory /var/lib/postgresql/10/main ... ok creating subdirectories ... ok selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting dynamic shared memory implementation ... posix creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok Success. You can now start the database server using: /usr/lib/postgresql/10/bin/pg_ctl -D /var/lib/postgresql/10/main -l logfile start Ver Cluster Port Status Owner Data directory Log file 10 main 5432 down postgres /var/lib/postgresql/10/main /var/log/postgresql/postgresql-10-main.log update-alternatives: using /usr/share/postgresql/10/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode Processing triggers for doc-base (0.10.7) ... Processing 1 added doc-base file... Registering documents with scrollkeeper... Processing triggers for systemd (234-2ubuntu12.1) ... Processing triggers for postgresql-common (189.pgdg17.04+1) ... Building PostgreSQL dictionaries from installed myspell/hunspell packages... en_us Removing obsolete dictionary files: Processing triggers for man-db (2.7.6.1-2) ...