Bug#616074: roundcube-core.postinst aborting with awk syntax error

2011-03-02 Thread Jean-Jacques Doti
Package: roundcube
Version: 0.5.1+dfsg-4
Severity: normal

roudcube-core.postinst aborts with syntax error on awk command at line 104.

Modifying the line 81 whith :
 hosts=array(\\\$(echo $hosts | sed 's/ /\\\,\\\/g')\\\)
seems to solve the issue.

Regards,
Jean-Jacques

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

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages roundcube-core depends on:
ii  apache2  2.2.17-1Apache HTTP Server metapackage
ii  apache2-mpm-prefork [htt 2.2.17-1Apache HTTP Server - traditional n
ii  dbconfig-common  1.8.47  common framework for packaging dat
ii  debconf [debconf-2.0]1.5.38  Debian configuration management sy
ii  libjs-jquery 1.5.1-1 JavaScript library for dynamic web
ii  libmagic15.04-5  File type determination library us
ii  php-auth 1.6.2-1 PHP PEAR modules for creating an a
ii  php-mail-mime1.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.5-1 server-side, HTML-embedded scripti
ii  php5-gd  5.3.5-1 GD module for php5
ii  php5-intl5.3.5-1 internationalisation module for ph
ii  php5-mcrypt  5.3.5-1 MCrypt module for php5
ii  php5-pspell  5.3.5-1 pspell module for php5
ii  roundcube-sqlite 0.5.1+dfsg-4metapackage providing sqlite depen
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:
pn  php-auth-sasl   none   (no description available)
ii  roundcube-plugins   0.5.1+dfsg-4 skinnable AJAX based webmail solut

roundcube depends on no packages.

-- Configuration Files:
/etc/roundcube/apache.conf changed [not included]

-- debconf information:
  roundcube/password-confirm: (password omitted)
  roundcube/mysql/admin-pass: (password omitted)
  roundcube/mysql/app-pass: (password omitted)
  roundcube/app-password-confirm: (password omitted)
  roundcube/pgsql/app-pass: (password omitted)
  roundcube/pgsql/admin-pass: (password omitted)
* roundcube/dbconfig-install: true
* roundcube/db/dbname: roundcube
  roundcube/pgsql/authmethod-admin: ident
  roundcube/pgsql/admin-user: postgres
  roundcube/internal/skip-preseed: true
  roundcube/db/app-user:
  roundcube/dbconfig-reinstall: false
* roundcube/restart-webserver: false
* 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: fr_FR
  roundcube/remote/newhost:
  roundcube/pgsql/changeconf: false
  roundcube/upgrade-backup: true
  roundcube/install-error: abort
  roundcube/mysql/admin-user: root
* roundcube/hosts: ssl://localhost:993
  roundcube/dbconfig-remove:
  roundcube/mysql/method: unix socket
  roundcube/remove-error: abort
  roundcube/pgsql/method: unix socket
  roundcube/pgsql/manualconf:
* roundcube/db/basepath: /var/lib/dbconfig-common/sqlite/roundcube
* roundcube/reconfigure-webserver: apache2
* roundcube/database-type: sqlite
  roundcube/remote/host:
  roundcube/missing-db-package-error: abort



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#616074: roundcube-core.postinst aborting with awk syntax error

2011-03-02 Thread Vincent Bernat

On Wed, 02 Mar 2011 11:23:00 +0100, Jean-Jacques Doti wrote:

roudcube-core.postinst aborts with syntax error on awk command at 
line 104.


Modifying the line 81 whith :
 hosts=array(\\\$(echo $hosts | sed 's/ /\\\,\\\/g')\\\)
seems to solve the issue.



Thanks for the correction. I did not test the case where $hosts was not 
empty. I will try to use something else than awk since this becomes 
difficult to read.




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org