[Pkg-roundcube-maintainers] Bug#547586: installation breaks /etc/roundcube/debian-db.php

Flavio Stanchina flavio at stanchina.net
Sun Sep 20 21:47:32 UTC 2009


Package: roundcube
Version: 0.2.2-1
Severity: important

After upgrading roundcube from 0.2.1 to 0.2.2, I tried to log in but was greeted with this error:

 Parse error: syntax error, unexpected '*' in /etc/roundcube/debian-db.php on line 20

Upon examining /etc/roundcube/debian-db.php, I found that it had the following warning message from ucf appended, just after the "$dbtype='mysql';" line:

*** WARNING: ucf was run from a maintainer script that uses debconf, but
             the script did not pass --debconf-ok to ucf. The maintainer
             script should be fixed to not stop debconf before calling ucf,
             and pass it this parameter. For now, ucf will revert to using
             old-style, non-debconf prompting. Ugh!

             Please inform the package maintainer about this problem.

The following is the transcript of the installation. As you can see, the ucf message shown above is also reported there, presumably caused by the update of /etc/roundcube/main.inc.php:

# apt-get install roundcube 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  php5-pspell roundcube-core roundcube-sqlite
The following NEW packages will be installed:
  php5-pspell
The following packages will be upgraded:
  roundcube roundcube-core roundcube-sqlite
3 upgraded, 1 newly installed, 0 to remove and 736 not upgraded.
Need to get 715kB of archives.
After this operation, 32.8kB of additional disk space will be used.
Do you want to continue [Y/n]? 
Get:1 http://aptproxy lenny/main php5-pspell 5.2.6.dfsg.1-1+lenny3 [8436B]
Get:2 http://aptproxy squeeze/main roundcube 0.2.2-1 [12.1kB]
Get:3 http://aptproxy squeeze/main roundcube-core 0.2.2-1 [683kB]
Get:4 http://aptproxy squeeze/main roundcube-sqlite 0.2.2-1 [11.3kB]
Fetched 715kB in 4s (144kB/s)       
Reading changelogs... Done
apt-listchanges: Do you want to continue? [Y/n] 
Preconfiguring packages ...
Selecting previously deselected package php5-pspell.
(Reading database ... 117013 files and directories currently installed.)
Unpacking php5-pspell (from .../php5-pspell_5.2.6.dfsg.1-1+lenny3_i386.deb) ...
Preparing to replace roundcube 0.2.1-2 (using .../roundcube_0.2.2-1_all.deb) ...
Unpacking replacement roundcube ...
Preparing to replace roundcube-core 0.2.1-2 (using .../roundcube-core_0.2.2-1_all.deb) ...
Unpacking replacement roundcube-core ...
Preparing to replace roundcube-sqlite 0.2.1-2 (using .../roundcube-sqlite_0.2.2-1_all.deb) ...
Unpacking replacement roundcube-sqlite ...
Setting up php5-pspell (5.2.6.dfsg.1-1+lenny3) ...
Setting up roundcube-sqlite (0.2.2-1) ...
Setting up roundcube-core (0.2.2-1) ...
dbconfig-common: writing config to /etc/dbconfig-common/roundcube.conf
*** WARNING: ucf was run from a maintainer script that uses debconf, but
             the script did not pass --debconf-ok to ucf. The maintainer
             script should be fixed to not stop debconf before calling ucf,
             and pass it this parameter. For now, ucf will revert to using
             old-style, non-debconf prompting. Ugh!

             Please inform the package maintainer about this problem.
Replacing config file /etc/roundcube/debian-db.php with new version
kbuildsycoca running...
Reusing existing ksycoca
Setting up roundcube (0.2.2-1) ...



-- System Information:
Debian Release: squeeze/sid
  APT prefers stable
  APT policy: (500, 'stable'), (400, 'testing'), (300, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30.7-netfinity (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages roundcube depends on:
ii  roundcube-core                0.2.2-1    skinnable AJAX based webmail solut

roundcube recommends no packages.

roundcube suggests no packages.

Versions of packages roundcube-core depends on:
ii  apache2            2.2.13-1              Apache HTTP Server metapackage
ii  apache2-mpm-prefor 2.2.13-1              Apache HTTP Server - traditional n
ii  dbconfig-common    1.8.36                common framework for packaging dat
ii  debconf [debconf-2 1.5.27                Debian configuration management sy
ii  libmagic1          4.21-4                File type determination library us
ii  php-auth           1.6.1-1               PHP PEAR modules for creating an a
ii  php-mail-mime      1.5.2-0.1             PHP PEAR module for creating MIME 
ii  php-mdb2           2.5.0b2-1             PHP PEAR module to provide a commo
ii  php-net-smtp       1.2.6-2               PHP PEAR module implementing SMTP 
ii  php-net-socket     1.0.6-2               PHP PEAR Network Socket Interface 
ii  php5               5.2.6.dfsg.1-1+lenny3 server-side, HTML-embedded scripti
ii  php5-gd            5.2.6.dfsg.1-1+lenny3 GD module for php5
ii  php5-mcrypt        5.2.6.dfsg.1-1+lenny3 MCrypt module for php5
ii  php5-pspell        5.2.6.dfsg.1-1+lenny3 pspell module for php5
ii  roundcube-mysql    0.2.2-1               metapackage providing MySQL depend
ii  roundcube-sqlite   0.2.2-1               metapackage providing sqlite depen
ii  tinymce            3.0.8-1               platform independent web based Jav
ii  ucf                3.0021                Update Configuration File: preserv

-- debconf information:
* roundcube/dbconfig-install: true
* roundcube/dbconfig-install: true
* roundcube/db/dbname: roundcube
* roundcube/db/dbname: roundcube
  roundcube/pgsql/authmethod-admin: ident
  roundcube/pgsql/authmethod-admin: ident
  roundcube/pgsql/admin-user: postgres
  roundcube/pgsql/admin-user: postgres
  roundcube/internal/skip-preseed: false
  roundcube/internal/skip-preseed: false
* roundcube/db/app-user: roundcube
* roundcube/db/app-user: roundcube
  roundcube/dbconfig-reinstall: false
  roundcube/dbconfig-reinstall: false
* roundcube/restart-webserver: false
* roundcube/restart-webserver: false
* roundcube/dbconfig-upgrade: true
* roundcube/dbconfig-upgrade: true
  roundcube/remote/port:
  roundcube/remote/port:
  roundcube/pgsql/no-empty-passwords:
  roundcube/pgsql/no-empty-passwords:
  roundcube/passwords-do-not-match:
  roundcube/passwords-do-not-match:
  roundcube/internal/reconfiguring: false
  roundcube/internal/reconfiguring: false
  roundcube/upgrade-error: abort
  roundcube/upgrade-error: abort
  roundcube/pgsql/authmethod-user: password
  roundcube/pgsql/authmethod-user: password
  roundcube/purge: false
  roundcube/purge: false
* roundcube/language: en_US
* roundcube/language: en_US
  roundcube/remote/newhost:
  roundcube/remote/newhost:
  roundcube/pgsql/changeconf: false
  roundcube/pgsql/changeconf: false
  roundcube/upgrade-backup: true
  roundcube/upgrade-backup: true
* roundcube/install-error: ignore
* roundcube/install-error: ignore
* roundcube/mysql/admin-user: root
* roundcube/mysql/admin-user: root
* roundcube/hosts: stanchina.net
* roundcube/hosts: stanchina.net
  roundcube/dbconfig-remove:
  roundcube/dbconfig-remove:
* roundcube/mysql/method: unix socket
* roundcube/mysql/method: unix socket
  roundcube/remove-error: abort
  roundcube/remove-error: abort
  roundcube/pgsql/method: unix socket
  roundcube/pgsql/method: unix socket
  roundcube/pgsql/manualconf:
  roundcube/pgsql/manualconf:
  roundcube/db/basepath:
  roundcube/db/basepath:
* roundcube/reconfigure-webserver:
* roundcube/reconfigure-webserver:
* roundcube/database-type: mysql
* roundcube/database-type: mysql
  roundcube/remote/host:
  roundcube/remote/host:
  roundcube/missing-db-package-error: abort
  roundcube/missing-db-package-error: abort





More information about the Pkg-roundcube-maintainers mailing list