BUG #15094: Errors during installation - Unescaped left brace in regex

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: rlvargas(at)gmail(dot)com
Subject: BUG #15094: Errors during installation - Unescaped left brace in regex
Date: 2018-02-28 20:57:17
Message-ID: 151985143750.21248.3790214447224097969@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 15094
Logged by: Ruben Vargas
Email address: rlvargas(at)gmail(dot)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) ...

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2018-02-28 23:37:27 Re: Conflicting declarations for b64_encode etc. on Solaris 11.4 Beta
Previous Message David G. Johnston 2018-02-28 14:36:59 Re: How to avoid trailing zero (after decimal point) for numeric type column