[Pkg-roundcube-maintainers] Bug#988282: roundcube-core: Uninstall fails in lighttpd environment

Kurt Fitzner kurt at va1der.ca
Sun May 9 17:17:44 BST 2021


Package: roundcube-core
Version: 1.4.11+dfsg.1-3
Severity: normal

In a lighttpd environment, roundcube-core fails to uninstall/purge.  Comments
to follow apt's output:

# apt-get purge roundcube roundcube-plugins roundcube-plugins-extra roundcube-core roundcube-mysql 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  fonts-glyphicons-halflings libjs-bootstrap libjs-jquery-minicolors libjs-jstimezonedetect php-auth-sasl php-intl php-mail-mime php-masterminds-html5 php-net-sieve php-net-smtp
  php-net-socket php-pspell php7.4-intl php7.4-pspell
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  roundcube* roundcube-core* roundcube-mysql* roundcube-plugins* roundcube-plugins-extra*
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
After this operation, 25.6 MB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 70765 files and directories currently installed.)
Removing roundcube (1.4.11+dfsg.1-3) ...
Removing roundcube-plugins-extra (1.4.10+1-3) ...
Removing roundcube-plugins (1.4.11+dfsg.1-3) ...
Removing roundcube-core (1.4.11+dfsg.1-3) ...
Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
dbconfig-common: dumping mysql database roundcube to /var/tmp/roundcube.roundcube.2021-05-09-12.53.mysql.BQZjK8.
dbconfig-common: dropping mysql database roundcube.
dropping database roundcube: success.
verifying database roundcube was dropped: success.
dbconfig-common: revoking privileges for user roundcube on roundcube.
revoking access to database roundcube from roundcube at localhost: success.
Ignoring unknown module: roundcube
Run "service lighttpd force-reload" to enable changes
dpkg: error processing package roundcube-core (--remove):
 installed roundcube-core package post-removal script subprocess returned error exit status 2
dpkg: too many errors, stopping
Errors were encountered while processing:
 roundcube-core
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)


It is failing on disabling roundcube's lighttpd config.  This appears to be
happening because the softlink /etc/lighttpd/conf-available/50-roundcube.conf
to /etc/roundcube/lighttpd.conf is being removed before lighttpd-disable-mod
is being run.  For lighttpd-disable-mod to succeed, apparently the file must
occur in both conf-enabled and conf-available.


-- System Information: 
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-6-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages roundcube-core depends on:
ii  dbconfig-common                 2.0.19
ii  debconf [debconf-2.0]           1.5.75
ii  dpkg                            1.20.9
ii  libjs-bootstrap4                4.5.2+dfsg1-6
ii  libjs-codemirror                5.59.2+~cs0.23.109-1
ii  libjs-jquery                    3.5.1+dfsg+~3.5.5-7
ii  libjs-jquery-minicolors         2.2.6+dfsg-4
ii  libjs-jquery-ui                 1.12.1+dfsg-8
ii  libjs-jstimezonedetect          1.0.6-5
ii  libmagic1                       1:5.39-3
ii  php                             2:7.4+76
ii  php-auth-sasl                   1.1.0-1
ii  php-cli                         2:7.4+76
ii  php-common                      2:76
ii  php-intl                        2:7.4+76
ii  php-mail-mime                   1.10.10-1
ii  php-masterminds-html5           2.7.4+dfsg-2
ii  php-mbstring                    2:7.4+76
ii  php-net-sieve                   1.4.4-2
ii  php-net-smtp                    1.9.0-1
ii  php-net-socket                  1.2.2-2
ii  php-pear                        1:1.10.12+submodules+notgz+20210212-1
ii  php7.4 [php]                    7.4.15-5+deb11u1
ii  php7.4-cli [php-cli]            7.4.15-5+deb11u1
ii  php7.4-intl [php-intl]          7.4.15-5+deb11u1
ii  php7.4-json [php-json]          7.4.15-5+deb11u1
ii  php7.4-mbstring [php-mbstring]  7.4.15-5+deb11u1
ii  roundcube-mysql                 1.4.11+dfsg.1-3
ii  ucf                             3.0043

Versions of packages roundcube-core recommends:
ii  lighttpd [httpd-cgi]        1.4.59-1
ii  php-fpm                     2:7.4+76
ii  php-gd                      2:7.4+76
ii  php-pspell                  2:7.4+76
ii  php7.4-fpm [php-fpm]        7.4.15-5+deb11u1
ii  php7.4-gd [php-gd]          7.4.15-5+deb11u1
ii  php7.4-pspell [php-pspell]  7.4.15-5+deb11u1
ii  spawn-fcgi                  1.6.4-2

Versions of packages roundcube-core suggests:
pn  php-crypt-gpg             <none>
pn  php-mkopinsky-zxcvbn-php  <none>
pn  php-net-ldap3             <none>
ic  roundcube-plugins         1.4.11+dfsg.1-3

-- debconf information excluded



More information about the Pkg-roundcube-maintainers mailing list