[Pkg-roundcube-maintainers] Bug#615277: roundcube-core: squeeze upgrade from lenny fails with bad sed expression

Jim Hague jim.hague at acm.org
Sat Feb 26 13:33:28 UTC 2011


Package: roundcube
Version: 0.3.1-6
Severity: important

Here's what I got when trying to upgrade from lenny to squeeze.

Setting up roundcube-core (0.3.1-6) ...
dbconfig-common: writing config to /etc/dbconfig-common/roundcube.conf
Replacing config file /etc/roundcube/debian-db.php with new version
dbconfig-common: flushing administrative password
sed: -e expression #2, char 70: unknown option to `s'
dpkg: error processing roundcube-core (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 roundcube-core

The problem is during main.inc.php processing if your config 'des_key'
contains sed-significant characters. Mine contained

$rcmail_config['des_key'] = 'DzLeL8qi-IY$yI=KE+1Elky&';

(which I guess was auto-generated on first install).

Substituing

$rcmail_config['des_key'] = 'AA';

and doing 'dpkg --configure roundcube-core'

completed successfully.

-- System Information:
Debian Release: 6.0
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages roundcube-core depends on:
ii  apache2-mpm-prefork [htt 2.2.16-6        Apache HTTP Server - traditional n
ii  dbconfig-common          1.8.46          common framework for packaging dat
ii  debconf [debconf-2.0]    1.5.36.1        Debian configuration management sy
ii  libjs-jquery             1.4.2-2         JavaScript library for dynamic web
ii  libmagic1                5.04-5          File type determination library us
ii  php-auth                 1.6.2-1         PHP PEAR modules for creating an a
ii  php-mail-mime            1.8.0-2         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.4.2-3         PHP PEAR module implementing SMTP 
ii  php-net-socket           1.0.9-2         PHP PEAR Network Socket Interface 
ii  php5                     5.3.3-7         server-side, HTML-embedded scripti
ii  php5-gd                  5.3.3-7         GD module for php5
ii  php5-mcrypt              5.3.3-7         MCrypt module for php5
ii  php5-pspell              5.3.3-7         pspell module for php5
ii  roundcube-mysql          0.3.1-6         metapackage providing MySQL depend
ii  tinymce                  3.3.8+dfsg0-0.1 platform independent web based Jav
ii  ucf                      3.0025+nmu1     Update Configuration File: preserv

roundcube-core recommends no packages.

Versions of packages roundcube-core suggests:
ii  php-auth-sasl                 1.0.4-1    Abstraction of various SASL mechan

roundcube depends on no packages.

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





More information about the Pkg-roundcube-maintainers mailing list