Page MenuHomekolab.org

Debian 10 : upgrade has broken roundcubemail
Open, Needs TriagePublic

Description

Hello,

Updating our Debian 10 server this morning, apt shows that guam and rouncubemail can be upgraded : guam from 0.9.11-1 to 0.9.12-1 and roundcubemail from 1:1.4.13-0~kolab2 to :1.5.2-0~kolab3.

So, I upgraded. But the process failed (after having deleted a lot of roundcubemail plugins !) and now the webmail interface is just a blank page. Trying to upgrade again, apt shows a lot of broken dependencies :

Les paquets suivants contiennent des dépendances non satisfaites :
 chwala : Dépend: roundcubemail-plugin-libkolab
 irony : Dépend: roundcubemail-plugin-libcalendaring (>= 3.1.12)
         Dépend: roundcubemail-plugin-libkolab (>= 3.1.12)
 kolab-syncroton : Dépend: roundcubemail-plugin-kolab-folders (>= 3.1.12)
                   Dépend: roundcubemail-plugin-libcalendaring (>= 3.1.12)
                   Dépend: roundcubemail-plugin-libkolab (>= 3.1.12)
 kolab-webclient : Dépend: roundcubemail-plugin-contextmenu
 roundcubemail-core : Dépend: roundcubemail-plugin-acl
                      Dépend: roundcubemail-plugin-archive
                      Dépend: roundcubemail-plugin-filesystem-attachments
                      Dépend: roundcubemail-plugin-jqueryui
                      Dépend: roundcubemail-plugin-newmail-notifier
                      Dépend: roundcubemail-plugin-password
                      Dépend: roundcubemail-plugin-redundant-attachments
                      Dépend: roundcubemail-plugin-zipdownload
                      Dépend: roundcubemail-plugin-managesieve
 roundcubemail-plugin-kolab-delegation : Dépend: roundcubemail-plugin-libkolab
 roundcubemail-plugins-kolab : Dépend: roundcubemail-plugin-calendar
                               Dépend: roundcubemail-plugin-kolab-activesync
                               Dépend: roundcubemail-plugin-kolab-addressbook
                               Dépend: roundcubemail-plugin-kolab-config
                               Dépend: roundcubemail-plugin-kolab-files
                               Dépend: roundcubemail-plugin-kolab-folders
                               Dépend: roundcubemail-plugin-kolab-notes
                               Dépend: roundcubemail-plugin-kolab-tags
                               Dépend: roundcubemail-plugin-odfviewer
                               Dépend: roundcubemail-plugin-pdfviewer
                               Dépend: roundcubemail-plugin-tasklist

The worst part is that the command apt install --fix-broken suggests deleting :

chwala irony kolab kolab-freebusy kolab-syncroton kolab-webclient roundcubemail-core roundcubemail-plugin-kolab-delegation roundcubemail-plugins-kolab

to upgrade roundcubemail !

Fortunately, mail, contacts and calendars are still reachable with clients like Kalendar, Kmail, etc.

I have no idea of what happened. And no idea how to get back to normal.

If anyone had one…

Cordially,

SW

Details

Ticket Type
Task

Event Timeline

sicherha added a subscriber: sicherha.

It seems that the many individual Roundcube + plugin packages have been consolidated into one big 'standalone' package that bundles them all together (https://obs.kolabsys.com/package/show/Kolab:16/roundcubemail-selfcontained).

The new package's Replaces:, Conflicts: and Provides: lists look superficially reasonable at first glance.
However, the kolab package depends on roundcubemail-plugins-kolab (>= 3.0) and roundcubemail-skin-kolab (https://obs.kolabsys.com/package/view_file/Kolab:16/kolab/debian.control). These two are not provided by the new self-contained roundcubemail package (https://obs.kolabsys.com/package/view_file/Kolab:16/roundcubemail-selfcontained/debian.control).

Correcting myself: the dependency on roundcubemail-plugins-kolab (>= 3.0) might be harmless after all, but roundcubemail-skin-kolab definitely reeks of problems.

I have fixed the dependency issues in OBS. The new roundcubemail should now play along nicely with the rest of the Kolab packages.

One problem remained on my system: the old roundcubemail-core package couldn't be uninstalled because its prerm script failed.
So far I haven't been able to figure out a good way to fix this. I was able to manually circumvent the problem by commenting out the offending line in /var/lib/dpkg/info/roundcubemail-core.prerm. That won't save others from running into the same cul-de-sac, unfortunately.

Sorry, even with version 1.5.2-0~kolab4 apt-get upgrade does not work.

Sorry, even with version 1.5.2-0~kolab4 apt-get upgrade does not work.

Do you get a specific error message? I believe the tricky part is probably to get the old roundcubemail-core package uninstalled as described above in T6971#96134: edit /var/lib/dpkg/info/roundcubemail-core.prerm, comment out the line with reload_apache, then perform the package upgrade.

Do you get a specific error message? I believe the tricky part is probably to get the old roundcubemail-core package uninstalled as described above in T6971#96134: edit /var/lib/dpkg/info/roundcubemail-core.prerm, comment out the line with reload_apache, then perform the package upgrade.

No, I don't get a specific error. I was simply trying to update roundcubemail with "apt-get update; apt-get upgrade" because you have wrote that...

I have fixed the dependency issues in OBS. The new roundcubemail should now play along nicely with the rest of the Kolab packages.

On my Debian Buster system it does still not update because of dependency problems wich I checked with "aptitude".

Is roundcubemail-core still installed in the old version? If yes, uninstall it first (after manually patching the prerm script), then proceed with apt upgrade.

I managed to install roundcubemail 1.5.2 with your advice but it wasn't as simple as it should be.

Uninstalling roundcubemail-core beforehand also raised dependency problems and I was forced to let aptitude fix the problems for me.
This also uninstalled "php-intl" and "php-net-sieve".

Is it safe to leave "php-intl" and "php-net-sieve" uninstalled?

I would reinstall both just to be on the safe side.