aces and eights wrote: 
> upgrading buster to bullseye answered "keep old config" to a few things now
> roundcube is not working. Install I was using was from roundcube source not
> debian.
> I try to purge roundcube and start again,.
> but there are messages.
> --------
> apt install roundcube
> .....
> Setting up roundcube-core (1.4.13+dfsg.1-1~deb11u1) ...
> Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
> dbconfig-common: writing config to /etc/dbconfig-common/roundcube.conf
> Not replacing deleted config file /etc/roundcube/debian-db.php
> ERROR: Configuration error. Unsupported database driver:
> dpkg: error processing package roundcube-core (--configure):
>  installed roundcube-core package post-installation script subprocess
> returned error exit status 1
> Setting up php-gd (2:7.4+76) ...
> dpkg: dependency problems prevent configuration of roundcube:
>  roundcube depends on roundcube-core (= 1.4.13+dfsg.1-1~deb11u1); however:
>   Package roundcube-core is not configured yet.
> 
> dpkg: error processing package roundcube (--configure):
>  dependency problems - leaving unconfigured
> Processing triggers for libapache2-mod-php7.4 (7.4.30-1+deb11u1) ...
> Processing triggers for fontconfig (2.13.1-4.2) ...
> Processing triggers for libc-bin (2.31-13+deb11u3) ...
> Processing triggers for man-db (2.9.4-2) ...
> Processing triggers for php7.4-cli (7.4.30-1+deb11u1) ...
> Processing triggers for php7.4-phpdbg (7.4.30-1+deb11u1) ...
> Errors were encountered while processing:
>  roundcube-core
>  roundcube
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> --------------
> I thought that the database was MarianDB but maybe not.
> How do I get rid of what causes the error and start again ?

apt purge roundcube roundcube-core
rm -rf /etc/roundcube
apt install roundcube

That said, unless you absolutely love roundcube, you might want
to look into alternatives. Although it's not packaged in Debian,
snappymail -- https://snappymail.eu/ -- is easy to install and
very good. The license is AGPL, so it could be packaged (and
probably should be.)

-dsr-


Reply via email to