Your message dated Wed, 27 Feb 2019 15:48:23 +0100
with message-id <[email protected]>
and subject line Re: [Pkg-postgresql-public] Bug#884457: post-install failure 
when /usr/share/man/man1/ does not exist
has caused the Debian Bug report #884457,
regarding postgresql: Installing postgresql fails due to "error creating 
symbolic link '/usr/share/man/man1/psql.1.gz.dpkg-tmp': No such file or 
directory"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
884457: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=884457
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: postgresql
Version: 9.6+181+deb9u1
Severity: normal

Dear Maintainer,

Installing `postgresql` in the (quite empty) Docker image `debian:stretch-slim` 
fails due to the `dpkg` error

```
Setting up postgresql-client-9.6 (9.6.6-0+deb9u1) ...
update-alternatives: using /usr/share/postgresql/9.6/man/man1/psql.1.gz to 
provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
update-alternatives: error: error creating symbolic link 
'/usr/share/man/man1/psql.1.gz.dpkg-tmp': No such file or directory
dpkg: error processing package postgresql-client-9.6 (--configure):
 subprocess installed post-installation script returned error exit status 2
```

The failure is repeatable 100% of times. I attached the output of an example 
run as `postgresql.log`. In case this is a user error (e.g. if it's impossible 
to install postgresql in such a minimal environment) the feedback should be 
improved.


-- System Information:
Debian Release: 9.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.13.0-21-generic (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C 
(charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages postgresql depends on:
iu  postgresql-9.6  9.6.6-0+deb9u1

postgresql recommends no packages.

Versions of packages postgresql suggests:
iu  postgresql-doc  9.6+181+deb9u1

-- no debconf information
> sudo docker run -i -t debian:stretch-slim
Unable to find image 'debian:stretch-slim' locally
stretch-slim: Pulling from library/debian
8176e34d5d92: Pull complete 
Digest: sha256:e8e19950797443676474a4d12624325371f739f195abb3162c67df8d0fba0c50
Status: Downloaded newer image for debian:stretch-slim
root@8d140b5d195e:/# apt-get update
Get:3 http://security.debian.org stretch/updates InRelease [63.0 kB]        
Ign:1 http://cdn-fastly.deb.debian.org/debian stretch InRelease   
Get:2 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease [91.0 
kB]
Get:4 http://cdn-fastly.deb.debian.org/debian stretch Release [118 kB]          
         
Get:5 http://cdn-fastly.deb.debian.org/debian stretch-updates/main amd64 
Packages [8431 B]  
Get:6 http://cdn-fastly.deb.debian.org/debian stretch Release.gpg [2434 B]
Get:7 http://security.debian.org stretch/updates/main amd64 Packages [415 kB]
Get:8 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 Packages [9531 
kB]
Fetched 10.2 MB in 8s (1137 kB/s)                                               
                                                                                
                        
Reading package lists... Done
root@8d140b5d195e:/# apt-get install --yes postgresql
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  bzip2 cron dh-python distro-info-data exim4 exim4-base exim4-config 
exim4-daemon-light file guile-2.0-libs krb5-locales libbsd0 libc-l10n libedit2 
libexpat1 libffi6 libfribidi0
  libgc1c2 libgmp10 libgnutls30 libgpm2 libgsasl7 libgssapi-krb5-2 libhogweed4 
libicu57 libidn11 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 
libkyotocabinet16v5 libldap-2.4-2
  libldap-common libltdl7 liblzo2-2 libmagic-mgc libmagic1 libmailutils5 
libmariadbclient18 libmpdec2 libncurses5 libnettle6 libntlm0 libp11-kit0 
libpopt0 libpq5 libprocps6
  libpython2.7 libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib 
libpython3.5-minimal libpython3.5-stdlib libreadline7 libsasl2-2 
libsasl2-modules libsasl2-modules-db
  libsensors4 libsqlite3-0 libssl1.1 libtasn1-6 libunistring0 libwrap0 libxml2 
libxslt1.1 locales logrotate lsb-release mailutils mailutils-common 
mime-support mysql-common netbase
  openssl postgresql-9.6 postgresql-client-9.6 postgresql-client-common 
postgresql-common postgresql-contrib-9.6 procps psmisc python3 python3-minimal 
python3.5 python3.5-minimal
  readline-common sgml-base ssl-cert sysstat tcpd ucf xml-core xz-utils
Suggested packages:
  bzip2-doc anacron checksecurity libdpkg-perl eximon4 exim4-doc-html | 
exim4-doc-info spf-tools-perl swaks gnutls-bin gpm krb5-doc krb5-user 
libsasl2-modules-gssapi-mit
  | libsasl2-modules-gssapi-heimdal libsasl2-modules-ldap libsasl2-modules-otp 
libsasl2-modules-sql lm-sensors lsb mailutils-mh mailutils-doc ca-certificates 
postgresql-doc
  locales-all postgresql-doc-9.6 libdbd-pg-perl python3-doc python3-tk 
python3-venv python3.5-venv python3.5-doc binutils binfmt-support readline-doc 
sgml-base-doc openssl-blacklist
  isag debhelper
The following NEW packages will be installed:
  bzip2 cron dh-python distro-info-data exim4 exim4-base exim4-config 
exim4-daemon-light file guile-2.0-libs krb5-locales libbsd0 libc-l10n libedit2 
libexpat1 libffi6 libfribidi0
  libgc1c2 libgmp10 libgnutls30 libgpm2 libgsasl7 libgssapi-krb5-2 libhogweed4 
libicu57 libidn11 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 
libkyotocabinet16v5 libldap-2.4-2
  libldap-common libltdl7 liblzo2-2 libmagic-mgc libmagic1 libmailutils5 
libmariadbclient18 libmpdec2 libncurses5 libnettle6 libntlm0 libp11-kit0 
libpopt0 libpq5 libprocps6
  libpython2.7 libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib 
libpython3.5-minimal libpython3.5-stdlib libreadline7 libsasl2-2 
libsasl2-modules libsasl2-modules-db
  libsensors4 libsqlite3-0 libssl1.1 libtasn1-6 libunistring0 libwrap0 libxml2 
libxslt1.1 locales logrotate lsb-release mailutils mailutils-common 
mime-support mysql-common netbase
  openssl postgresql postgresql-9.6 postgresql-client-9.6 
postgresql-client-common postgresql-common postgresql-contrib-9.6 procps psmisc 
python3 python3-minimal python3.5
  python3.5-minimal readline-common sgml-base ssl-cert sysstat tcpd ucf 
xml-core xz-utils
0 upgraded, 94 newly installed, 0 to remove and 3 not upgraded.
Need to get 44.5 MB of archives.
After this operation, 172 MB of additional disk space will be used.
Get:1 http://security.debian.org stretch/updates/main amd64 exim4-config all 
4.89-2+deb9u3 [377 kB]
Get:2 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 cron amd64 
3.0pl1-128+b1 [95.5 kB]
Get:3 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libssl1.1 
amd64 1.1.0f-3+deb9u1 [1342 kB]
Get:32 http://security.debian.org stretch/updates/main amd64 exim4-base amd64 
4.89-2+deb9u3 [1093 kB]
Get:44 http://security.debian.org stretch/updates/main amd64 libtasn1-6 amd64 
4.10-1.1+deb9u1 [50.6 kB]
Get:45 http://security.debian.org stretch/updates/main amd64 exim4-daemon-light 
amd64 4.89-2+deb9u3 [542 kB]
Get:48 http://security.debian.org stretch/updates/main amd64 exim4 all 
4.89-2+deb9u3 [7852 B]     
Get:53 http://security.debian.org stretch/updates/main amd64 libxml2 amd64 
2.9.4+dfsg1-2.2+deb9u2 [920 kB]
Get:4 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 
libpython3.5-minimal amd64 3.5.3-1 [573 kB]
Get:5 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libexpat1 
amd64 2.2.0-2+deb9u1 [83.4 kB]
Get:6 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 
python3.5-minimal amd64 3.5.3-1 [1688 kB]
Get:7 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 
python3-minimal amd64 3.5.3-1 [35.3 kB]
Get:8 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 mime-support 
all 3.60 [36.7 kB]
Get:9 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libmpdec2 
amd64 2.4.2-1 [85.2 kB]
Get:10 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 
readline-common all 7.0-3 [70.4 kB]
Get:11 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libreadline7 
amd64 7.0-3 [151 kB]
Get:12 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libsqlite3-0 
amd64 3.16.2-5+deb9u1 [572 kB]
Get:13 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 
libpython3.5-stdlib amd64 3.5.3-1 [2166 kB]
Get:14 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 python3.5 
amd64 3.5.3-1 [229 kB]                                                          
                            
Get:15 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 
libpython3-stdlib amd64 3.5.3-1 [18.6 kB]                                       
                                      
Get:16 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 dh-python all 
2.20170125 [86.8 kB]                                                            
                        
Get:17 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 python3 amd64 
3.5.3-1 [21.6 kB]                                                               
                        
Get:18 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 sgml-base all 
1.29 [14.8 kB]                                                                  
                        
Get:19 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libpopt0 
amd64 1.16-10+b2 [49.4 kB]                                                      
                             
Get:20 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libprocps6 
amd64 2:3.3.12-3 [58.1 kB]                                                      
                           
Get:21 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 logrotate 
amd64 3.11.0-0.1 [58.7 kB]                                                      
                            
Get:22 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 netbase all 
5.4 [19.1 kB]                                                                   
                          
Get:23 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libncurses5 
amd64 6.0+20161126-1+deb9u1 [93.5 kB]                                           
                          
Get:24 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 procps amd64 
2:3.3.12-3 [249 kB]                                                             
                         
Get:25 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 bzip2 amd64 
1.0.6-8.1 [47.5 kB]                                                             
                          
Get:26 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libgmp10 
amd64 2:6.1.2+dfsg-1 [253 kB]                                                   
                             
Get:27 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libnettle6 
amd64 3.3-1+b2 [192 kB]                                                         
                           
Get:28 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libhogweed4 
amd64 3.3-1+b2 [136 kB]                                                         
                          
Get:29 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libidn11 
amd64 1.33-1 [115 kB]                                                           
                             
Get:30 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libffi6 amd64 
3.2.1-6 [20.4 kB]                                                               
                        
Get:31 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libp11-kit0 
amd64 0.23.3-2 [111 kB]                                                         
                          
Get:33 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libgnutls30 
amd64 3.5.8-5+deb9u3 [895 kB]                                                   
                          
Get:34 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libmagic-mgc 
amd64 1:5.30-1+deb9u1 [222 kB]                                                  
                         
Get:35 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libmagic1 
amd64 1:5.30-1+deb9u1 [111 kB]                                                  
                            
Get:36 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 file amd64 
1:5.30-1+deb9u1 [64.1 kB]                                                       
                           
Get:37 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 krb5-locales 
all 1.15-1+deb9u1 [93.8 kB]                                                     
                         
Get:38 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libc-l10n all 
2.24-11+deb9u1 [820 kB]                                                         
                        
Get:39 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libbsd0 amd64 
0.8.3-1 [83.0 kB]                                                               
                        
Get:40 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libedit2 
amd64 3.1-20160903-3 [84.8 kB]                                                  
                             
Get:41 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libgc1c2 
amd64 1:7.4.2-8 [208 kB]                                                        
                             
Get:42 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libgpm2 amd64 
1.20.4-6.2+b1 [34.2 kB]                                                         
                        
Get:43 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libkeyutils1 
amd64 1.5.9-9 [12.4 kB]                                                         
                         
Get:46 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 
libkrb5support0 amd64 1.15-1+deb9u1 [61.9 kB]                                   
                                      
Get:47 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libk5crypto3 
amd64 1.15-1+deb9u1 [119 kB]                                                    
                         
Get:49 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libkrb5-3 
amd64 1.15-1+deb9u1 [311 kB]                                                    
                            
Get:50 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 
libgssapi-krb5-2 amd64 1.15-1+deb9u1 [155 kB]                                   
                                      
Get:51 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 
libsasl2-modules-db amd64 2.1.27~101-g0780600+dfsg-3 [68.2 kB]                  
                                      
Get:52 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libsasl2-2 
amd64 2.1.27~101-g0780600+dfsg-3 [105 kB]                                       
                           
Get:54 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 
libldap-common all 2.4.44+dfsg-5+deb9u1 [85.4 kB]                               
                                      
Get:55 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libldap-2.4-2 
amd64 2.4.44+dfsg-5+deb9u1 [219 kB]                                             
                        
Get:56 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libwrap0 
amd64 7.6.q-26 [58.2 kB]                                                        
                             
Get:57 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libicu57 
amd64 57.1-6+deb9u1 [7697 kB]                                                   
                             
Get:58 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 locales all 
2.24-11+deb9u1 [3290 kB]                                                        
                          
Get:59 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 ucf all 
3.0036 [70.2 kB]                                                                
                              
Get:60 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 xz-utils 
amd64 5.2.2-1.2+b1 [266 kB]                                                     
                             
Get:61 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 
distro-info-data all 0.36 [5810 B]                                              
                                      
Get:62 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libltdl7 
amd64 2.4.6-2 [389 kB]                                                          
                             
Get:63 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libunistring0 
amd64 0.9.6+really0.9.3-0.1 [279 kB]                                            
                        
Get:64 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 
guile-2.0-libs amd64 2.0.13+1-4 [2232 kB]                                       
                                      
Get:65 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libfribidi0 
amd64 0.19.7-1+b1 [45.7 kB]                                                     
                          
Get:66 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libntlm0 
amd64 1.4-8 [20.9 kB]                                                           
                             
Get:67 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libgsasl7 
amd64 1.8.0-8+b2 [207 kB]                                                       
                            
Get:68 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 liblzo2-2 
amd64 2.08-1.2+b2 [55.0 kB]                                                     
                            
Get:69 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 
libkyotocabinet16v5 amd64 1.2.76-4.2+b1 [298 kB]                                
                                      
Get:70 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 
mailutils-common all 1:3.1.1-1 [642 kB]                                         
                                      
Get:71 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 mysql-common 
all 5.8+1.0.2 [5608 B]                                                          
                         
Get:72 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 
libmariadbclient18 amd64 10.1.26-0+deb9u1 [779 kB]                              
                                      
Get:73 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 
libpython2.7-minimal amd64 2.7.13-2+deb9u2 [389 kB]                             
                                      
Get:74 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 
libpython2.7-stdlib amd64 2.7.13-2+deb9u2 [1896 kB]                             
                                      
Get:75 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libpython2.7 
amd64 2.7.13-2+deb9u2 [1072 kB]                                                 
                         
Get:76 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libmailutils5 
amd64 1:3.1.1-1 [817 kB]                                                        
                        
Get:77 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libpq5 amd64 
9.6.6-0+deb9u1 [131 kB]                                                         
                         
Get:78 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 
libsasl2-modules amd64 2.1.27~101-g0780600+dfsg-3 [102 kB]                      
                                      
Get:79 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libsensors4 
amd64 1:3.4.0-4 [53.3 kB]                                                       
                          
Get:80 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libxslt1.1 
amd64 1.1.29-2.1 [233 kB]                                                       
                           
Get:81 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 lsb-release 
all 9.20161125 [27.1 kB]                                                        
                          
Get:82 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 mailutils 
amd64 1:3.1.1-1 [573 kB]                                                        
                            
Get:83 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 openssl amd64 
1.1.0f-3+deb9u1 [725 kB]                                                        
                        
Get:84 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 
postgresql-client-common all 181+deb9u1 [79.0 kB]                               
                                      
Get:85 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 
postgresql-client-9.6 amd64 9.6.6-0+deb9u1 [1224 kB]                            
                                      
Get:86 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 ssl-cert all 
1.0.39 [20.8 kB]                                                                
                         
Get:87 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 
postgresql-common all 181+deb9u1 [217 kB]                                       
                                      
Get:88 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 
postgresql-9.6 amd64 9.6.6-0+deb9u1 [4154 kB]                                   
                                      
Get:89 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 postgresql 
all 9.6+181+deb9u1 [55.6 kB]                                                    
                           
Get:90 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 
postgresql-contrib-9.6 amd64 9.6.6-0+deb9u1 [496 kB]                            
                                      
Get:91 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 psmisc amd64 
22.21-2.1+b2 [123 kB]                                                           
                         
Get:92 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 sysstat amd64 
11.4.3-2 [360 kB]                                                               
                        
Get:93 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 tcpd amd64 
7.6.q-26 [23.3 kB]                                                              
                           
Get:94 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 xml-core all 
0.17 [23.2 kB]                                                                  
                         
Fetched 44.5 MB in 54s (824 kB/s)                                               
                                                                                
                        
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package cron.
(Reading database ... 6315 files and directories currently installed.)
Preparing to unpack .../00-cron_3.0pl1-128+b1_amd64.deb ...
Unpacking cron (3.0pl1-128+b1) ...
Selecting previously unselected package libssl1.1:amd64.
Preparing to unpack .../01-libssl1.1_1.1.0f-3+deb9u1_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.0f-3+deb9u1) ...
Selecting previously unselected package libpython3.5-minimal:amd64.
Preparing to unpack .../02-libpython3.5-minimal_3.5.3-1_amd64.deb ...
Unpacking libpython3.5-minimal:amd64 (3.5.3-1) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../03-libexpat1_2.2.0-2+deb9u1_amd64.deb ...
Unpacking libexpat1:amd64 (2.2.0-2+deb9u1) ...
Selecting previously unselected package python3.5-minimal.
Preparing to unpack .../04-python3.5-minimal_3.5.3-1_amd64.deb ...
Unpacking python3.5-minimal (3.5.3-1) ...
Selecting previously unselected package python3-minimal.
Preparing to unpack .../05-python3-minimal_3.5.3-1_amd64.deb ...
Unpacking python3-minimal (3.5.3-1) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../06-mime-support_3.60_all.deb ...
Unpacking mime-support (3.60) ...
Selecting previously unselected package libmpdec2:amd64.
Preparing to unpack .../07-libmpdec2_2.4.2-1_amd64.deb ...
Unpacking libmpdec2:amd64 (2.4.2-1) ...
Selecting previously unselected package readline-common.
Preparing to unpack .../08-readline-common_7.0-3_all.deb ...
Unpacking readline-common (7.0-3) ...
Selecting previously unselected package libreadline7:amd64.
Preparing to unpack .../09-libreadline7_7.0-3_amd64.deb ...
Unpacking libreadline7:amd64 (7.0-3) ...
Selecting previously unselected package libsqlite3-0:amd64.
Preparing to unpack .../10-libsqlite3-0_3.16.2-5+deb9u1_amd64.deb ...
Unpacking libsqlite3-0:amd64 (3.16.2-5+deb9u1) ...
Selecting previously unselected package libpython3.5-stdlib:amd64.
Preparing to unpack .../11-libpython3.5-stdlib_3.5.3-1_amd64.deb ...
Unpacking libpython3.5-stdlib:amd64 (3.5.3-1) ...
Selecting previously unselected package python3.5.
Preparing to unpack .../12-python3.5_3.5.3-1_amd64.deb ...
Unpacking python3.5 (3.5.3-1) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../13-libpython3-stdlib_3.5.3-1_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.5.3-1) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../14-dh-python_2.20170125_all.deb ...
Unpacking dh-python (2.20170125) ...
Setting up libssl1.1:amd64 (1.1.0f-3+deb9u1) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based 
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 
76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the 
Term::ReadLine module) (@INC contains: /etc/perl 
/usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 
/usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 
/usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at 
/usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Setting up libpython3.5-minimal:amd64 (3.5.3-1) ...
Setting up libexpat1:amd64 (2.2.0-2+deb9u1) ...
Setting up python3.5-minimal (3.5.3-1) ...
Setting up python3-minimal (3.5.3-1) ...
Selecting previously unselected package python3.
(Reading database ... 7348 files and directories currently installed.)
Preparing to unpack .../00-python3_3.5.3-1_amd64.deb ...
Unpacking python3 (3.5.3-1) ...
Selecting previously unselected package sgml-base.
Preparing to unpack .../01-sgml-base_1.29_all.deb ...
Unpacking sgml-base (1.29) ...
Selecting previously unselected package libpopt0:amd64.
Preparing to unpack .../02-libpopt0_1.16-10+b2_amd64.deb ...
Unpacking libpopt0:amd64 (1.16-10+b2) ...
Selecting previously unselected package libprocps6:amd64.
Preparing to unpack .../03-libprocps6_2%3a3.3.12-3_amd64.deb ...
Unpacking libprocps6:amd64 (2:3.3.12-3) ...
Selecting previously unselected package logrotate.
Preparing to unpack .../04-logrotate_3.11.0-0.1_amd64.deb ...
Unpacking logrotate (3.11.0-0.1) ...
Selecting previously unselected package netbase.
Preparing to unpack .../05-netbase_5.4_all.deb ...
Unpacking netbase (5.4) ...
Selecting previously unselected package libncurses5:amd64.
Preparing to unpack .../06-libncurses5_6.0+20161126-1+deb9u1_amd64.deb ...
Unpacking libncurses5:amd64 (6.0+20161126-1+deb9u1) ...
Selecting previously unselected package procps.
Preparing to unpack .../07-procps_2%3a3.3.12-3_amd64.deb ...
Unpacking procps (2:3.3.12-3) ...
Selecting previously unselected package bzip2.
Preparing to unpack .../08-bzip2_1.0.6-8.1_amd64.deb ...
Unpacking bzip2 (1.0.6-8.1) ...
Selecting previously unselected package exim4-config.
Preparing to unpack .../09-exim4-config_4.89-2+deb9u3_all.deb ...
Unpacking exim4-config (4.89-2+deb9u3) ...
Selecting previously unselected package exim4-base.
Preparing to unpack .../10-exim4-base_4.89-2+deb9u3_amd64.deb ...
Unpacking exim4-base (4.89-2+deb9u3) ...
Selecting previously unselected package libgmp10:amd64.
Preparing to unpack .../11-libgmp10_2%3a6.1.2+dfsg-1_amd64.deb ...
Unpacking libgmp10:amd64 (2:6.1.2+dfsg-1) ...
Selecting previously unselected package libnettle6:amd64.
Preparing to unpack .../12-libnettle6_3.3-1+b2_amd64.deb ...
Unpacking libnettle6:amd64 (3.3-1+b2) ...
Selecting previously unselected package libhogweed4:amd64.
Preparing to unpack .../13-libhogweed4_3.3-1+b2_amd64.deb ...
Unpacking libhogweed4:amd64 (3.3-1+b2) ...
Selecting previously unselected package libidn11:amd64.
Preparing to unpack .../14-libidn11_1.33-1_amd64.deb ...
Unpacking libidn11:amd64 (1.33-1) ...
Selecting previously unselected package libffi6:amd64.
Preparing to unpack .../15-libffi6_3.2.1-6_amd64.deb ...
Unpacking libffi6:amd64 (3.2.1-6) ...
Selecting previously unselected package libp11-kit0:amd64.
Preparing to unpack .../16-libp11-kit0_0.23.3-2_amd64.deb ...
Unpacking libp11-kit0:amd64 (0.23.3-2) ...
Selecting previously unselected package libtasn1-6:amd64.
Preparing to unpack .../17-libtasn1-6_4.10-1.1+deb9u1_amd64.deb ...
Unpacking libtasn1-6:amd64 (4.10-1.1+deb9u1) ...
Selecting previously unselected package libgnutls30:amd64.
Preparing to unpack .../18-libgnutls30_3.5.8-5+deb9u3_amd64.deb ...
Unpacking libgnutls30:amd64 (3.5.8-5+deb9u3) ...
Selecting previously unselected package exim4-daemon-light.
Preparing to unpack .../19-exim4-daemon-light_4.89-2+deb9u3_amd64.deb ...
Unpacking exim4-daemon-light (4.89-2+deb9u3) ...
Selecting previously unselected package exim4.
Preparing to unpack .../20-exim4_4.89-2+deb9u3_all.deb ...
Unpacking exim4 (4.89-2+deb9u3) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../21-libmagic-mgc_1%3a5.30-1+deb9u1_amd64.deb ...
Unpacking libmagic-mgc (1:5.30-1+deb9u1) ...
Selecting previously unselected package libmagic1:amd64.
Preparing to unpack .../22-libmagic1_1%3a5.30-1+deb9u1_amd64.deb ...
Unpacking libmagic1:amd64 (1:5.30-1+deb9u1) ...
Selecting previously unselected package file.
Preparing to unpack .../23-file_1%3a5.30-1+deb9u1_amd64.deb ...
Unpacking file (1:5.30-1+deb9u1) ...
Selecting previously unselected package krb5-locales.
Preparing to unpack .../24-krb5-locales_1.15-1+deb9u1_all.deb ...
Unpacking krb5-locales (1.15-1+deb9u1) ...
Selecting previously unselected package libc-l10n.
Preparing to unpack .../25-libc-l10n_2.24-11+deb9u1_all.deb ...
Unpacking libc-l10n (2.24-11+deb9u1) ...
Selecting previously unselected package libbsd0:amd64.
Preparing to unpack .../26-libbsd0_0.8.3-1_amd64.deb ...
Unpacking libbsd0:amd64 (0.8.3-1) ...
Selecting previously unselected package libedit2:amd64.
Preparing to unpack .../27-libedit2_3.1-20160903-3_amd64.deb ...
Unpacking libedit2:amd64 (3.1-20160903-3) ...
Selecting previously unselected package libgc1c2:amd64.
Preparing to unpack .../28-libgc1c2_1%3a7.4.2-8_amd64.deb ...
Unpacking libgc1c2:amd64 (1:7.4.2-8) ...
Selecting previously unselected package libgpm2:amd64.
Preparing to unpack .../29-libgpm2_1.20.4-6.2+b1_amd64.deb ...
Unpacking libgpm2:amd64 (1.20.4-6.2+b1) ...
Selecting previously unselected package libkeyutils1:amd64.
Preparing to unpack .../30-libkeyutils1_1.5.9-9_amd64.deb ...
Unpacking libkeyutils1:amd64 (1.5.9-9) ...
Selecting previously unselected package libkrb5support0:amd64.
Preparing to unpack .../31-libkrb5support0_1.15-1+deb9u1_amd64.deb ...
Unpacking libkrb5support0:amd64 (1.15-1+deb9u1) ...
Selecting previously unselected package libk5crypto3:amd64.
Preparing to unpack .../32-libk5crypto3_1.15-1+deb9u1_amd64.deb ...
Unpacking libk5crypto3:amd64 (1.15-1+deb9u1) ...
Selecting previously unselected package libkrb5-3:amd64.
Preparing to unpack .../33-libkrb5-3_1.15-1+deb9u1_amd64.deb ...
Unpacking libkrb5-3:amd64 (1.15-1+deb9u1) ...
Selecting previously unselected package libgssapi-krb5-2:amd64.
Preparing to unpack .../34-libgssapi-krb5-2_1.15-1+deb9u1_amd64.deb ...
Unpacking libgssapi-krb5-2:amd64 (1.15-1+deb9u1) ...
Selecting previously unselected package libsasl2-modules-db:amd64.
Preparing to unpack 
.../35-libsasl2-modules-db_2.1.27~101-g0780600+dfsg-3_amd64.deb ...
Unpacking libsasl2-modules-db:amd64 (2.1.27~101-g0780600+dfsg-3) ...
Selecting previously unselected package libsasl2-2:amd64.
Preparing to unpack .../36-libsasl2-2_2.1.27~101-g0780600+dfsg-3_amd64.deb ...
Unpacking libsasl2-2:amd64 (2.1.27~101-g0780600+dfsg-3) ...
Selecting previously unselected package libldap-common.
Preparing to unpack .../37-libldap-common_2.4.44+dfsg-5+deb9u1_all.deb ...
Unpacking libldap-common (2.4.44+dfsg-5+deb9u1) ...
Selecting previously unselected package libldap-2.4-2:amd64.
Preparing to unpack .../38-libldap-2.4-2_2.4.44+dfsg-5+deb9u1_amd64.deb ...
Unpacking libldap-2.4-2:amd64 (2.4.44+dfsg-5+deb9u1) ...
Selecting previously unselected package libwrap0:amd64.
Preparing to unpack .../39-libwrap0_7.6.q-26_amd64.deb ...
Unpacking libwrap0:amd64 (7.6.q-26) ...
Selecting previously unselected package libicu57:amd64.
Preparing to unpack .../40-libicu57_57.1-6+deb9u1_amd64.deb ...
Unpacking libicu57:amd64 (57.1-6+deb9u1) ...
Selecting previously unselected package libxml2:amd64.
Preparing to unpack .../41-libxml2_2.9.4+dfsg1-2.2+deb9u2_amd64.deb ...
Unpacking libxml2:amd64 (2.9.4+dfsg1-2.2+deb9u2) ...
Selecting previously unselected package locales.
Preparing to unpack .../42-locales_2.24-11+deb9u1_all.deb ...
Unpacking locales (2.24-11+deb9u1) ...
Selecting previously unselected package ucf.
Preparing to unpack .../43-ucf_3.0036_all.deb ...
Moving old data out of the way
Unpacking ucf (3.0036) ...
Selecting previously unselected package xz-utils.
Preparing to unpack .../44-xz-utils_5.2.2-1.2+b1_amd64.deb ...
Unpacking xz-utils (5.2.2-1.2+b1) ...
Selecting previously unselected package distro-info-data.
Preparing to unpack .../45-distro-info-data_0.36_all.deb ...
Unpacking distro-info-data (0.36) ...
Selecting previously unselected package libltdl7:amd64.
Preparing to unpack .../46-libltdl7_2.4.6-2_amd64.deb ...
Unpacking libltdl7:amd64 (2.4.6-2) ...
Selecting previously unselected package libunistring0:amd64.
Preparing to unpack .../47-libunistring0_0.9.6+really0.9.3-0.1_amd64.deb ...
Unpacking libunistring0:amd64 (0.9.6+really0.9.3-0.1) ...
Selecting previously unselected package guile-2.0-libs:amd64.
Preparing to unpack .../48-guile-2.0-libs_2.0.13+1-4_amd64.deb ...
Unpacking guile-2.0-libs:amd64 (2.0.13+1-4) ...
Selecting previously unselected package libfribidi0:amd64.
Preparing to unpack .../49-libfribidi0_0.19.7-1+b1_amd64.deb ...
Unpacking libfribidi0:amd64 (0.19.7-1+b1) ...
Selecting previously unselected package libntlm0:amd64.
Preparing to unpack .../50-libntlm0_1.4-8_amd64.deb ...
Unpacking libntlm0:amd64 (1.4-8) ...
Selecting previously unselected package libgsasl7.
Preparing to unpack .../51-libgsasl7_1.8.0-8+b2_amd64.deb ...
Unpacking libgsasl7 (1.8.0-8+b2) ...
Selecting previously unselected package liblzo2-2:amd64.
Preparing to unpack .../52-liblzo2-2_2.08-1.2+b2_amd64.deb ...
Unpacking liblzo2-2:amd64 (2.08-1.2+b2) ...
Selecting previously unselected package libkyotocabinet16v5:amd64.
Preparing to unpack .../53-libkyotocabinet16v5_1.2.76-4.2+b1_amd64.deb ...
Unpacking libkyotocabinet16v5:amd64 (1.2.76-4.2+b1) ...
Selecting previously unselected package mailutils-common.
Preparing to unpack .../54-mailutils-common_1%3a3.1.1-1_all.deb ...
Unpacking mailutils-common (1:3.1.1-1) ...
Selecting previously unselected package mysql-common.
Preparing to unpack .../55-mysql-common_5.8+1.0.2_all.deb ...
Unpacking mysql-common (5.8+1.0.2) ...
Selecting previously unselected package libmariadbclient18:amd64.
Preparing to unpack .../56-libmariadbclient18_10.1.26-0+deb9u1_amd64.deb ...
Unpacking libmariadbclient18:amd64 (10.1.26-0+deb9u1) ...
Selecting previously unselected package libpython2.7-minimal:amd64.
Preparing to unpack .../57-libpython2.7-minimal_2.7.13-2+deb9u2_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.13-2+deb9u2) ...
Selecting previously unselected package libpython2.7-stdlib:amd64.
Preparing to unpack .../58-libpython2.7-stdlib_2.7.13-2+deb9u2_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.13-2+deb9u2) ...
Selecting previously unselected package libpython2.7:amd64.
Preparing to unpack .../59-libpython2.7_2.7.13-2+deb9u2_amd64.deb ...
Unpacking libpython2.7:amd64 (2.7.13-2+deb9u2) ...
Selecting previously unselected package libmailutils5:amd64.
Preparing to unpack .../60-libmailutils5_1%3a3.1.1-1_amd64.deb ...
Unpacking libmailutils5:amd64 (1:3.1.1-1) ...
Selecting previously unselected package libpq5:amd64.
Preparing to unpack .../61-libpq5_9.6.6-0+deb9u1_amd64.deb ...
Unpacking libpq5:amd64 (9.6.6-0+deb9u1) ...
Selecting previously unselected package libsasl2-modules:amd64.
Preparing to unpack 
.../62-libsasl2-modules_2.1.27~101-g0780600+dfsg-3_amd64.deb ...
Unpacking libsasl2-modules:amd64 (2.1.27~101-g0780600+dfsg-3) ...
Selecting previously unselected package libsensors4:amd64.
Preparing to unpack .../63-libsensors4_1%3a3.4.0-4_amd64.deb ...
Unpacking libsensors4:amd64 (1:3.4.0-4) ...
Selecting previously unselected package libxslt1.1:amd64.
Preparing to unpack .../64-libxslt1.1_1.1.29-2.1_amd64.deb ...
Unpacking libxslt1.1:amd64 (1.1.29-2.1) ...
Selecting previously unselected package lsb-release.
Preparing to unpack .../65-lsb-release_9.20161125_all.deb ...
Unpacking lsb-release (9.20161125) ...
Selecting previously unselected package mailutils.
Preparing to unpack .../66-mailutils_1%3a3.1.1-1_amd64.deb ...
Unpacking mailutils (1:3.1.1-1) ...
Selecting previously unselected package openssl.
Preparing to unpack .../67-openssl_1.1.0f-3+deb9u1_amd64.deb ...
Unpacking openssl (1.1.0f-3+deb9u1) ...
Selecting previously unselected package postgresql-client-common.
Preparing to unpack .../68-postgresql-client-common_181+deb9u1_all.deb ...
Unpacking postgresql-client-common (181+deb9u1) ...
Selecting previously unselected package postgresql-client-9.6.
Preparing to unpack .../69-postgresql-client-9.6_9.6.6-0+deb9u1_amd64.deb ...
Unpacking postgresql-client-9.6 (9.6.6-0+deb9u1) ...
Selecting previously unselected package ssl-cert.
Preparing to unpack .../70-ssl-cert_1.0.39_all.deb ...
Unpacking ssl-cert (1.0.39) ...
Selecting previously unselected package postgresql-common.
Preparing to unpack .../71-postgresql-common_181+deb9u1_all.deb ...
Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by 
postgresql-common'
Unpacking postgresql-common (181+deb9u1) ...
Selecting previously unselected package postgresql-9.6.
Preparing to unpack .../72-postgresql-9.6_9.6.6-0+deb9u1_amd64.deb ...
Unpacking postgresql-9.6 (9.6.6-0+deb9u1) ...
Selecting previously unselected package postgresql.
Preparing to unpack .../73-postgresql_9.6+181+deb9u1_all.deb ...
Unpacking postgresql (9.6+181+deb9u1) ...
Selecting previously unselected package postgresql-contrib-9.6.
Preparing to unpack .../74-postgresql-contrib-9.6_9.6.6-0+deb9u1_amd64.deb ...
Unpacking postgresql-contrib-9.6 (9.6.6-0+deb9u1) ...
Selecting previously unselected package psmisc.
Preparing to unpack .../75-psmisc_22.21-2.1+b2_amd64.deb ...
Unpacking psmisc (22.21-2.1+b2) ...
Selecting previously unselected package sysstat.
Preparing to unpack .../76-sysstat_11.4.3-2_amd64.deb ...
Unpacking sysstat (11.4.3-2) ...
Selecting previously unselected package tcpd.
Preparing to unpack .../77-tcpd_7.6.q-26_amd64.deb ...
Unpacking tcpd (7.6.q-26) ...
Selecting previously unselected package xml-core.
Preparing to unpack .../78-xml-core_0.17_all.deb ...
Unpacking xml-core (0.17) ...
Setting up libncurses5:amd64 (6.0+20161126-1+deb9u1) ...
Setting up readline-common (7.0-3) ...
Setting up libnettle6:amd64 (3.3-1+b2) ...
Setting up libpopt0:amd64 (1.16-10+b2) ...
Setting up psmisc (22.21-2.1+b2) ...
Setting up exim4-config (4.89-2+deb9u3) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based 
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 
76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the 
Term::ReadLine module) (@INC contains: /etc/perl 
/usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 
/usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 
/usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at 
/usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Adding system-user for exim (v4)
Setting up mime-support (3.60) ...
Setting up libgpm2:amd64 (1.20.4-6.2+b1) ...
Setting up libldap-common (2.4.44+dfsg-5+deb9u1) ...
Setting up libreadline7:amd64 (7.0-3) ...
Setting up mysql-common (5.8+1.0.2) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide 
/etc/mysql/my.cnf (my.cnf) in auto mode
Setting up libsasl2-modules-db:amd64 (2.1.27~101-g0780600+dfsg-3) ...
Setting up libsasl2-2:amd64 (2.1.27~101-g0780600+dfsg-3) ...
Setting up libgc1c2:amd64 (1:7.4.2-8) ...
Setting up distro-info-data (0.36) ...
Setting up libmariadbclient18:amd64 (10.1.26-0+deb9u1) ...
Setting up sgml-base (1.29) ...
Setting up libicu57:amd64 (57.1-6+deb9u1) ...
Setting up libbsd0:amd64 (0.8.3-1) ...
Setting up libprocps6:amd64 (2:3.3.12-3) ...
Setting up ucf (3.0036) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based 
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 
76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the 
Term::ReadLine module) (@INC contains: /etc/perl 
/usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 
/usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 
/usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at 
/usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Setting up libxml2:amd64 (2.9.4+dfsg1-2.2+deb9u2) ...
Setting up libtasn1-6:amd64 (4.10-1.1+deb9u1) ...
Setting up libmagic-mgc (1:5.30-1+deb9u1) ...
Setting up bzip2 (1.0.6-8.1) ...
Setting up libmagic1:amd64 (1:5.30-1+deb9u1) ...
Setting up procps (2:3.3.12-3) ...
update-alternatives: using /usr/bin/w.procps to provide /usr/bin/w (w) in auto 
mode
update-alternatives: warning: skip creation of /usr/share/man/man1/w.1.gz 
because associated file /usr/share/man/man1/w.procps.1.gz (of link group w) 
doesn't exist
Setting up libxslt1.1:amd64 (1.1.29-2.1) ...
Setting up libntlm0:amd64 (1.4-8) ...
Setting up libgmp10:amd64 (2:6.1.2+dfsg-1) ...
Setting up krb5-locales (1.15-1+deb9u1) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Setting up libunistring0:amd64 (0.9.6+really0.9.3-0.1) ...
Setting up xz-utils (5.2.2-1.2+b1) ...
update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto 
mode
update-alternatives: warning: skip creation of /usr/share/man/man1/lzma.1.gz 
because associated file /usr/share/man/man1/xz.1.gz (of link group lzma) 
doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/unlzma.1.gz 
because associated file /usr/share/man/man1/unxz.1.gz (of link group lzma) 
doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzcat.1.gz 
because associated file /usr/share/man/man1/xzcat.1.gz (of link group lzma) 
doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzmore.1.gz 
because associated file /usr/share/man/man1/xzmore.1.gz (of link group lzma) 
doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzless.1.gz 
because associated file /usr/share/man/man1/xzless.1.gz (of link group lzma) 
doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzdiff.1.gz 
because associated file /usr/share/man/man1/xzdiff.1.gz (of link group lzma) 
doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzcmp.1.gz 
because associated file /usr/share/man/man1/xzcmp.1.gz (of link group lzma) 
doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzgrep.1.gz 
because associated file /usr/share/man/man1/xzgrep.1.gz (of link group lzma) 
doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzegrep.1.gz 
because associated file /usr/share/man/man1/xzegrep.1.gz (of link group lzma) 
doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzfgrep.1.gz 
because associated file /usr/share/man/man1/xzfgrep.1.gz (of link group lzma) 
doesn't exist
Setting up libc-l10n (2.24-11+deb9u1) ...
Setting up libltdl7:amd64 (2.4.6-2) ...
Setting up openssl (1.1.0f-3+deb9u1) ...
Setting up libsqlite3-0:amd64 (3.16.2-5+deb9u1) ...
Setting up libfribidi0:amd64 (0.19.7-1+b1) ...
Setting up libsensors4:amd64 (1:3.4.0-4) ...
Setting up libffi6:amd64 (3.2.1-6) ...
Setting up xml-core (0.17) ...
Setting up libkeyutils1:amd64 (1.5.9-9) ...
Setting up libsasl2-modules:amd64 (2.1.27~101-g0780600+dfsg-3) ...
Setting up libpython2.7-minimal:amd64 (2.7.13-2+deb9u2) ...
Setting up cron (3.0pl1-128+b1) ...
Adding group `crontab' (GID 102) ...
Done.
update-rc.d: warning: start and stop actions are no longer supported; falling 
back to defaults
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up locales (2.24-11+deb9u1) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based 
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 
76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the 
Term::ReadLine module) (@INC contains: /etc/perl 
/usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 
/usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 
/usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at 
/usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Generating locales (this might take a while)...
Generation complete.
Setting up logrotate (3.11.0-0.1) ...
Setting up libpython2.7-stdlib:amd64 (2.7.13-2+deb9u2) ...
Setting up libidn11:amd64 (1.33-1) ...
Setting up libmpdec2:amd64 (2.4.2-1) ...
Setting up liblzo2-2:amd64 (2.08-1.2+b2) ...
Setting up libwrap0:amd64 (7.6.q-26) ...
Setting up mailutils-common (1:3.1.1-1) ...
Setting up netbase (5.4) ...
Setting up libedit2:amd64 (3.1-20160903-3) ...
Setting up sysstat (11.4.3-2) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based 
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 
76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the 
Term::ReadLine module) (@INC contains: /etc/perl 
/usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 
/usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 
/usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at 
/usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype

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
update-alternatives: warning: skip creation of /usr/share/man/man1/sar.1.gz 
because associated file /usr/share/man/man1/sar.sysstat.1.gz (of link group 
sar) doesn't exist
Setting up libpython3.5-stdlib:amd64 (3.5.3-1) ...
Setting up ssl-cert (1.0.39) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based 
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 
76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the 
Term::ReadLine module) (@INC contains: /etc/perl 
/usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 
/usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 
/usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at 
/usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Setting up exim4-base (4.89-2+deb9u3) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based 
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 
76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the 
Term::ReadLine module) (@INC contains: /etc/perl 
/usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 
/usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 
/usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at 
/usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
exim: DB upgrade, deleting hints-db
Setting up file (1:5.30-1+deb9u1) ...
Setting up tcpd (7.6.q-26) ...
Setting up libkrb5support0:amd64 (1.15-1+deb9u1) ...
Setting up libhogweed4:amd64 (3.3-1+b2) ...
Setting up postgresql-client-common (181+deb9u1) ...
Setting up guile-2.0-libs:amd64 (2.0.13+1-4) ...
Setting up libp11-kit0:amd64 (0.23.3-2) ...
Setting up postgresql-common (181+deb9u1) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based 
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 
76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the 
Term::ReadLine module) (@INC contains: /etc/perl 
/usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 
/usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 
/usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at 
/usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
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...
Removing obsolete dictionary files:
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libpython2.7:amd64 (2.7.13-2+deb9u2) ...
Setting up libkyotocabinet16v5:amd64 (1.2.76-4.2+b1) ...
Setting up python3.5 (3.5.3-1) ...
Setting up libpython3-stdlib:amd64 (3.5.3-1) ...
Setting up libk5crypto3:amd64 (1.15-1+deb9u1) ...
Setting up libgnutls30:amd64 (3.5.8-5+deb9u3) ...
Setting up libldap-2.4-2:amd64 (2.4.44+dfsg-5+deb9u1) ...
Setting up libkrb5-3:amd64 (1.15-1+deb9u1) ...
Setting up exim4-daemon-light (4.89-2+deb9u3) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based 
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 
76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the 
Term::ReadLine module) (@INC contains: /etc/perl 
/usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 
/usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 
/usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at 
/usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Initializing GnuTLS DH parameter file
Setting up libgssapi-krb5-2:amd64 (1.15-1+deb9u1) ...
Setting up libpq5:amd64 (9.6.6-0+deb9u1) ...
Setting up exim4 (4.89-2+deb9u3) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based 
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 
76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the 
Term::ReadLine module) (@INC contains: /etc/perl 
/usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 
/usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 
/usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at 
/usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Setting up libgsasl7 (1.8.0-8+b2) ...
Setting up libmailutils5:amd64 (1:3.1.1-1) ...
Setting up postgresql-client-9.6 (9.6.6-0+deb9u1) ...
update-alternatives: using /usr/share/postgresql/9.6/man/man1/psql.1.gz to 
provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
update-alternatives: error: error creating symbolic link 
'/usr/share/man/man1/psql.1.gz.dpkg-tmp': No such file or directory
dpkg: error processing package postgresql-client-9.6 (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up mailutils (1:3.1.1-1) ...
update-alternatives: using /usr/bin/frm.mailutils to provide /usr/bin/frm (frm) 
in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/frm.1.gz 
because associated file /usr/share/man/man1/frm.mailutils.1.gz (of link group 
frm) doesn't exist
update-alternatives: using /usr/bin/from.mailutils to provide /usr/bin/from 
(from) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/from.1.gz 
because associated file /usr/share/man/man1/from.mailutils.1.gz (of link group 
from) doesn't exist
update-alternatives: using /usr/bin/messages.mailutils to provide 
/usr/bin/messages (messages) in auto mode
update-alternatives: warning: skip creation of 
/usr/share/man/man1/messages.1.gz because associated file 
/usr/share/man/man1/messages.mailutils.1.gz (of link group messages) doesn't 
exist
update-alternatives: using /usr/bin/movemail.mailutils to provide 
/usr/bin/movemail (movemail) in auto mode
update-alternatives: warning: skip creation of 
/usr/share/man/man1/movemail.1.gz because associated file 
/usr/share/man/man1/movemail.mailutils.1.gz (of link group movemail) doesn't 
exist
update-alternatives: using /usr/bin/readmsg.mailutils to provide 
/usr/bin/readmsg (readmsg) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/readmsg.1.gz 
because associated file /usr/share/man/man1/readmsg.mailutils.1.gz (of link 
group readmsg) doesn't exist
update-alternatives: using /usr/bin/dotlock.mailutils to provide 
/usr/bin/dotlock (dotlock) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/dotlock.1.gz 
because associated file /usr/share/man/man1/dotlock.mailutils.1.gz (of link 
group dotlock) doesn't exist
update-alternatives: using /usr/bin/mail.mailutils to provide /usr/bin/mailx 
(mailx) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/mailx.1.gz 
because associated file /usr/share/man/man1/mail.mailutils.1.gz (of link group 
mailx) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/mail.1.gz 
because associated file /usr/share/man/man1/mail.mailutils.1.gz (of link group 
mailx) doesn't exist
dpkg: dependency problems prevent configuration of postgresql-9.6:
 postgresql-9.6 depends on postgresql-client-9.6; however:
  Package postgresql-client-9.6 is not configured yet.

dpkg: error processing package postgresql-9.6 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of postgresql:
 postgresql depends on postgresql-9.6; however:
  Package postgresql-9.6 is not configured yet.

dpkg: error processing package postgresql (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of postgresql-contrib-9.6:
 postgresql-contrib-9.6 depends on postgresql-9.6 (= 9.6.6-0+deb9u1); however:
  Package postgresql-9.6 is not configured yet.

dpkg: error processing package postgresql-contrib-9.6 (--configure):
 dependency problems - leaving unconfigured
Setting up python3 (3.5.3-1) ...
running python rtupdate hooks for python3.5...
running python post-rtupdate hooks for python3.5...
Setting up lsb-release (9.20161125) ...
Setting up dh-python (2.20170125) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Processing triggers for sgml-base (1.29) ...
Errors were encountered while processing:
 postgresql-client-9.6
 postgresql-9.6
 postgresql
 postgresql-contrib-9.6
E: Sub-process /usr/bin/dpkg returned an error code (1)

--- End Message ---
--- Begin Message ---
Version: 183

Re: Jérôme Warnier 2017-12-15 <[email protected]>
> When trying to install postgresql-client-9.6 on Debian Stretch in a
> restricted environment (in my case, an official Docker image
> debian:stretch-slim), postinst fails because it tries to create a symlink in
> an non-existing directory.

Hi,

this bug has been fixed in unstable since version 183 from July 2017.
(I don't intend to fix it in stretch.)

Christoph

--- End Message ---

Reply via email to