Page MenuHomePhorge

Debian 10 : upgrade has broken roundcubemail
Closed, ResolvedPublic

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 subscribed.

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.

The workaround to install roundcubemail 1.5.2 did not uninstall/remove roundcubemail-plugin-kolab-delegation.
Now I cannot install roundcubemail 1.5.3 because I get follwoing error...

Performing actions...
Reading changelogs... Done
(Reading database ... 126763 files and directories currently installed.)
Preparing to unpack .../roundcubemail_1%3a1.5.3-0~kolab1_all.deb ...
Unpacking roundcubemail (1:1.5.3-0~kolab1) over (1:1.5.2-0~kolab4) ...
dpkg: error processing archive /var/cache/apt/archives/roundcubemail_1%3a1.5.3-0~kolab1_all.deb (--unpack):
trying to overwrite '/etc/roundcubemail/kolab_delegation.inc.php', which is also in package roundcubemail-plugin-kolab-delegation 1:3.5.11-0~kolab1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/roundcubemail_1%3a1.5.3-0~kolab1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

The package for roundcubemail 1.5.3 has no entries for roundcubemail-plugin-kolab-delegation in debian/control under Replaces, Conflicts and Provides.
Could you please provide a fixes roundcubemail-1.5.3 package?

A fixed version is already in Kolab:16:Testing; it should hit the Kolab:16 repository soon.

@sicherha
roundcubemail-1.5.3-0~kolab2 is still not in stable repo... why?

@mollekopf, will updates residing in Kolab:16:Testing be pushed to Kolab:16 automatically or is manual intervention needed? In other words, should I file an inclusion request?

@sicherha and @mollekopf
Today I saw that roundcubemail-1.5.3-0~kolab2 is available and installed it succesfully, thank you.

Yeah, apparently the inclusion of updates from Kolab:16:Testing into Kolab:16 has to be done manually. Glad the Roundcube upgrade path is now finally working as expected.