<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    In fact, I did the upgrade and got the same error.<br>
    So I have replaced "set -e" by "set -x" in
    /var/lib/dpkg/info/roundcube-core.postinst<br>
    and there was no error.<br>
    <br>
    I did a roundcube purge only from 0.9.5+dfsg1-4.2 to 1.1.1+dfsg.1-1<br>
    <br>
    The output from debconf-get-selections | grep roundcube :<br>
    # Mot de passe de connexion PostgreSQL pour roundcube :<br>
    roundcube-core    roundcube/pgsql/app-pass    password    <br>
    # Mot de passe de connexion MySQL pour roundcube :<br>
    roundcube-core    roundcube/mysql/app-pass    password    <br>
    roundcube-core    roundcube/pgsql/admin-pass    password    <br>
    roundcube-core    roundcube/mysql/admin-pass    password    <br>
    roundcube-core    roundcube/password-confirm    password    <br>
    roundcube-core    roundcube/app-password-confirm    password    <br>
    roundcube-core    roundcube/internal/reconfiguring    boolean   
    false<br>
    roundcube-core    roundcube/upgrade-error    select    abort<br>
    roundcube-core    roundcube/missing-db-package-error    select   
    abort<br>
    roundcube-core    roundcube/hosts    string    <br>
    roundcube-core    roundcube/reconfigure-webserver    multiselect   
    apache2, lighttpd<br>
    # Faut-il réinstaller la base de données pour roundcube ?<br>
    roundcube-core    roundcube/dbconfig-reinstall    boolean    false<br>
    roundcube-core    roundcube/pgsql/changeconf    boolean    false<br>
    # Sauvegarder la base de données pour roundcube avant la mise à
    jour ?<br>
    roundcube-core    roundcube/upgrade-backup    boolean    true<br>
    # Nom d'hôte du serveur MySQL pour roundcube :<br>
    roundcube-core    roundcube/remote/newhost    string    <br>
    roundcube-core    roundcube/passwords-do-not-match    error    <br>
    # Faut-il mettre à jour la base de données pour roundcube avec
    dbconfig-common ?<br>
    roundcube-core    roundcube/dbconfig-upgrade    boolean    true<br>
    # Faut-il configurer la base de données de roundcube avec
    dbconfig-common ?<br>
    roundcube-core    roundcube/dbconfig-install    boolean    true<br>
    roundcube-core    roundcube/internal/skip-preseed    boolean   
    false<br>
    roundcube-core    roundcube/remote/port    string    <br>
    # Répertoire pour la base de données  pour roundcube :<br>
    roundcube-core    roundcube/db/basepath    string    <br>
    roundcube-core    roundcube/language    select    fr_FR<br>
    # Purger la base de données pour roundcube ?<br>
    roundcube-core    roundcube/purge    boolean    false<br>
    # Identifiant MySQL pour roundcube :<br>
    roundcube-core    roundcube/db/app-user    string    roundcube<br>
    roundcube-core    roundcube/pgsql/authmethod-user    select   
    password<br>
    # Faut-il défaire la configuration de la base de donnée de roundcube
    avec dbconfig-common ?<br>
    roundcube-core    roundcube/dbconfig-remove    boolean    false<br>
    roundcube-core    roundcube/pgsql/no-empty-passwords    error    <br>
    # Nom d'hôte du serveur de bases de données MySQL pour roundcube :<br>
    roundcube-core    roundcube/remote/host    select    <br>
    # Méthode de connexion pour la base de données PostgreSQL de
    roundcube :<br>
    roundcube-core    roundcube/pgsql/method    select    Unix socket<br>
    # Méthode de connexion pour la base de données MySQL de roundcube:<br>
    roundcube-core    roundcube/mysql/method    select    Unix socket<br>
    # Nom de la base de données MySQL pour roundcube :<br>
    roundcube-core    roundcube/db/dbname    string    roundcube<br>
    roundcube-core    roundcube/remove-error    select    abort<br>
    # Type de serveur de bases de données à utiliser avec roundcube :<br>
    roundcube-core    roundcube/database-type    select    mysql<br>
    roundcube-core    roundcube/pgsql/manualconf    note    <br>
    roundcube-core    roundcube/mysql/admin-user    string    root<br>
    roundcube-core    roundcube/pgsql/authmethod-admin    select   
    ident<br>
    roundcube-core    roundcube/pgsql/admin-user    string    postgres<br>
    roundcube-core    roundcube/install-error    select    abort<br>
    roundcube-core    roundcube/restart-webserver    boolean    true<br>
    <br>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </body>
</html>