BDR install broken on Ubuntu 14.04 - Mailing list pgsql-general
From | Roland van Laar |
---|---|
Subject | BDR install broken on Ubuntu 14.04 |
Date | |
Msg-id | 568BDE2E.5040402@micite.net Whole thread Raw |
List | pgsql-general |
Hi, I'm installing BDR on a ubuntu 14.04 (Trusty) machine. I can reproduce this error. It happens locally with a new VM and on Digital ocean. The error is: /var/lib/dpkg/info/postgresql-bdr-9.4.postinst: 95: /var/lib/dpkg/info/postgresql-bdr-9.4.postinst: db_stop: not found How can I fix this? The full installation log is included below. Regards, Roland van Laar sudo apt-get update sudo apt-get upgrade wget -qO - http://packages.2ndquadrant.com/bdr/apt/AA7A6805.asc |sudo apt-key add - wget -qO - https://www.postgresql.org/media/keys/ACCC4CF8.asc |sudo apt-key add - sudo add-apt-repository 'deb http://packages.2ndquadrant.com/bdr/apt/ trusty-2ndquadrant main' sudo add-apt-repository 'deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main' sudo apt-get update sudo apt-get install postgresql-bdr-9.4-bdr-plugin The full installation log: $ sudo apt-get install postgresql-bdr-9.4-bdr-plugin Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-3.13.0-57 linux-headers-3.13.0-57-generic linux-headers-3.13.0-61 linux-headers-3.13.0-61-generic linux-image-3.13.0-57-generic linux-image-3.13.0-61-generic linux-image-extra-3.13.0-57-generic linux-image-extra-3.13.0-61-generic Use 'apt-get autoremove' to remove them. The following extra packages will be installed: libpq5 libxslt1.1 pgdg-keyring postgresql-bdr-9.4 postgresql-bdr-client-9.4 postgresql-bdr-contrib-9.4 postgresql-client-common postgresql-common ssl-cert Suggested packages: oidentd ident-server locales-all postgresql-bdr-doc-9.4 libdbd-pg-perl openssl-blacklist The following NEW packages will be installed: libpq5 libxslt1.1 pgdg-keyring postgresql-bdr-9.4 postgresql-bdr-9.4-bdr-plugin postgresql-bdr-client-9.4 postgresql-bdr-contrib-9.4 postgresql-client-common postgresql-common ssl-cert 0 upgraded, 10 newly installed, 0 to remove and 3 not upgraded. Need to get 5,995 kB of archives. After this operation, 28.4 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://mirrors.digitalocean.com/ubuntu/ trusty/main libxslt1.1 amd64 1.1.28-2build1 [145 kB] Get:2 http://mirrors.digitalocean.com/ubuntu/ trusty/main ssl-cert all 1.0.33 [16.6 kB] Get:3 http://packages.2ndquadrant.com/bdr/apt/ trusty-2ndquadrant/main postgresql-bdr-client-9.4 amd64 9.4.5-1trusty [1,068 kB] Get:4 http://packages.2ndquadrant.com/bdr/apt/ trusty-2ndquadrant/main postgresql-bdr-9.4 amd64 9.4.5-1trusty [3,677 kB] Get:5 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main libpq5 amd64 9.4.5-1.pgdg14.04+1 [122 kB] Get:6 http://packages.2ndquadrant.com/bdr/apt/ trusty-2ndquadrant/main postgresql-bdr-contrib-9.4 amd64 9.4.5-1trusty [443 kB] Get:7 http://packages.2ndquadrant.com/bdr/apt/ trusty-2ndquadrant/main postgresql-bdr-9.4-bdr-plugin amd64 0.9.3-1trusty [230 kB] Get:8 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main pgdg-keyring all 2014.1 [5,898 B] Get:9 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main postgresql-client-common all 171.pgdg14.04+1 [76.6 kB] Get:10 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main postgresql-common all 171.pgdg14.04+1 [210 kB] Fetched 5,995 kB in 1s (4,540 kB/s) Preconfiguring packages ... Selecting previously unselected package libpq5:amd64. (Reading database ... 146095 files and directories currently installed.) Preparing to unpack .../libpq5_9.4.5-1.pgdg14.04+1_amd64.deb ... Unpacking libpq5:amd64 (9.4.5-1.pgdg14.04+1) ... Selecting previously unselected package libxslt1.1:amd64. Preparing to unpack .../libxslt1.1_1.1.28-2build1_amd64.deb ... Unpacking libxslt1.1:amd64 (1.1.28-2build1) ... Selecting previously unselected package pgdg-keyring. Preparing to unpack .../pgdg-keyring_2014.1_all.deb ... Unpacking pgdg-keyring (2014.1) ... Selecting previously unselected package postgresql-client-common. Preparing to unpack .../postgresql-client-common_171.pgdg14.04+1_all.deb ... Unpacking postgresql-client-common (171.pgdg14.04+1) ... Selecting previously unselected package postgresql-bdr-client-9.4. Preparing to unpack .../postgresql-bdr-client-9.4_9.4.5-1trusty_amd64.deb ... Unpacking postgresql-bdr-client-9.4 (9.4.5-1trusty) ... Selecting previously unselected package ssl-cert. Preparing to unpack .../ssl-cert_1.0.33_all.deb ... Unpacking ssl-cert (1.0.33) ... Selecting previously unselected package postgresql-common. Preparing to unpack .../postgresql-common_171.pgdg14.04+1_all.deb ... Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common' Unpacking postgresql-common (171.pgdg14.04+1) ... Selecting previously unselected package postgresql-bdr-9.4. Preparing to unpack .../postgresql-bdr-9.4_9.4.5-1trusty_amd64.deb ... Unpacking postgresql-bdr-9.4 (9.4.5-1trusty) ... Selecting previously unselected package postgresql-bdr-contrib-9.4. Preparing to unpack .../postgresql-bdr-contrib-9.4_9.4.5-1trusty_amd64.deb ... Unpacking postgresql-bdr-contrib-9.4 (9.4.5-1trusty) ... Selecting previously unselected package postgresql-bdr-9.4-bdr-plugin. Preparing to unpack .../postgresql-bdr-9.4-bdr-plugin_0.9.3-1trusty_amd64.deb ... Unpacking postgresql-bdr-9.4-bdr-plugin (0.9.3-1trusty) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Processing triggers for ureadahead (0.100.0-16) ... Setting up libpq5:amd64 (9.4.5-1.pgdg14.04+1) ... Setting up libxslt1.1:amd64 (1.1.28-2build1) ... Setting up pgdg-keyring (2014.1) ... Removing apt.postgresql.org key from trusted.gpg: OK Importing apt.postgresql.org key: OK Setting up postgresql-client-common (171.pgdg14.04+1) ... Setting up postgresql-bdr-client-9.4 (9.4.5-1trusty) ... Setting up ssl-cert (1.0.33) ... Setting up postgresql-common (171.pgdg14.04+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... Removing obsolete dictionary files: * No PostgreSQL clusters exist; see "man pg_createcluster" Processing triggers for ureadahead (0.100.0-16) ... Setting up postgresql-bdr-9.4 (9.4.5-1trusty) ... Creating new cluster 9.4/main ... config /etc/postgresql/9.4/main data /var/lib/postgresql/9.4/main locale en_US.UTF-8 port 5432 /var/lib/dpkg/info/postgresql-bdr-9.4.postinst: 95: /var/lib/dpkg/info/postgresql-bdr-9.4.postinst: db_stop: not found dpkg: error processing package postgresql-bdr-9.4 (--configure): subprocess installed post-installation script returned error exit status 127 dpkg: dependency problems prevent configuration of postgresql-bdr-contrib-9.4: postgresql-bdr-contrib-9.4 depends on postgresql-bdr-9.4 (= 9.4.5-1trusty); however: Package postgresql-bdr-9.4 is not configured yet. dpkg: error processing package postgresql-bdr-contrib-9.4 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of postgresql-bdr-9.4-bdr-plugin: postgresql-bdr-9.4-bdr-plugin depends on postgresql-bdr-9.4; however: Package postgresql-bdr-9.4 is not configured yet. postgresql-bdr-9.4-bdr-plugin depends on postgresql-bdr-contrib-9.4; however: Package postgresql-bdr-contrib-9.4 is not configured yet. dpkg: error processing package postgresql-bdr-9.4-bdr-plugin (--configure): dependency problems - leaving unconfigured Processing triggers for libc-bin (2.19-0ubuntu6.6) ... No apport report written because the error message indicates its a followup error from a previous failure. No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered while processing: postgresql-bdr-9.4 postgresql-bdr-contrib-9.4 postgresql-bdr-9.4-bdr-plugin E: Sub-process /usr/bin/dpkg returned an error code (1)
pgsql-general by date: