Re: [Kolab-devel] New selfcontained packaging for roundcube and guam
Christoph Erhardt <[email protected]> Mon, 13 Jun 2022 21:49:10 +0200
| Newsgroups | gmane.comp.kde.devel.kroupware |
|---|---|
| Message-ID | <22679334.6Emhk5qWAg__35062.0633385674$1655150799$gmane$org@delle> |
Hi Jochen, > On debian 10 I had an error removing roundcubemail (sorry, I'm using a > german locale): > > Entfernen von roundcubemail-core (1:1.4.13-0~kolab2) ... > /var/lib/dpkg/info/roundcubemail-core.prerm: 11: > /var/lib/dpkg/info/roundcubemail-core.prerm: reload_apache: not found dpkg: > Fehler beim Bearbeiten des Paketes roundcubemail-core (--remove): > »installiertes roundcubemail-core-Skript des Paketes > pre-removal«-Unterprozess gab den Fehlerwert 127 zurück dpkg: > roundcubemail-plugin-kolab-notes: Abhängigkeitsprobleme, wird aber wie > gefordert dennoch entfernt: roundcubemail-plugins-kolab hängt ab von > roundcubemail-plugin-kolab-notes; aber: Paket > roundcubemail-plugin-kolab-notes soll entfernt werden. > > The error was - I removed the call and proceeded: > /var/lib/dpkg/info/roundcubemail-core.prerm: 11: > /var/lib/dpkg/info/roundcubemail-core.prerm: reload_apache: not found yep, that's exactly what's needed to allow the old `roundcubemail-core` package to be removed. This is a bug in the package's `prerm` maintainer script. Unfortunately, I'm currently out of ideas how to fix this automatically. Shipping a fixed version of the old `roundcubemail` package won't work, because `apt` will simply ignore that version, because it is being replaced with an even newer version anyway... So, for now, the best solution is this: edit `/var/lib/dpkg/info/roundcubemail-core.prerm`, comment out the line with `reload_apache`, then perform the package upgrade. > After that I sould run »apt --fix-broken install«, but there are some > missing dependencies: > > chwala : Depends: roundcubemail-plugin-libkolab > irony : Depends: roundcubemail-plugin-libcalendaring (>= 3.1.12) > Depends: roundcubemail-plugin-libkolab (>= 3.1.12) > kolab-syncroton : Depends: roundcubemail-plugin-kolab-folders (>= 3.1.12) > Depends: roundcubemail-plugin-libcalendaring (>= 3.1.12) > Depends: roundcubemail-plugin-libkolab (>= 3.1.12) > Depends: roundcubemail-plugin-kolab-auth (>= 3.1.12) > kolab-webclient : Depends: roundcubemail-plugin-contextmenu > Depends: roundcubemail-skin-kolab > roundcubemail-core : Depends: roundcubemail-plugin-acl > Depends: roundcubemail-plugin-archive > Depends: roundcubemail-plugin-filesystem-attachments > Depends: roundcubemail-plugin-jqueryui > Depends: roundcubemail-plugin-newmail-notifier > Depends: roundcubemail-plugin-password > Depends: roundcubemail-plugin-redundant-attachments > Depends: roundcubemail-plugin-zipdownload > Depends: roundcubemail-plugin-managesieve > roundcubemail-plugin-kolab-auth-proxy : Depends: > roundcubemail-plugin-kolab-auth roundcubemail-plugin-kolab-delegation : > Depends: roundcubemail-plugin-kolab-auth Depends: > roundcubemail-plugin-libkolab roundcubemail-plugin-kolab-sso : Depends: > roundcubemail-plugin-kolab-auth roundcubemail-plugins-kolab : Depends: > roundcubemail-plugin-calendar Depends: > roundcubemail-plugin-kolab-activesync Depends: > roundcubemail-plugin-kolab-addressbook Depends: > roundcubemail-plugin-kolab-auth Depends: roundcubemail-plugin-kolab-config > Depends: roundcubemail-plugin-kolab-files Depends: > roundcubemail-plugin-kolab-folders Depends: > roundcubemail-plugin-kolab-notes Depends: roundcubemail-plugin-kolab-tags > Depends: roundcubemail-plugin-odfviewer Depends: > roundcubemail-plugin-pdfviewer Depends: roundcubemail-plugin-tasklist > > Debian packages can replace/provide package(name)s - may be a solution, > Or the packages should depend on roundcubemail instead of the > roundcubemail-plugin-* packages. Could you try running `apt update` to get the latest package sources? That particular dependency problem should have been fixed last night with version 1.5.2-0~kolab4. > PS: Something other happens on my frankenstein webmail with > kolab/roundcube on Debian 11. I've removed all plugin-packages there and > left only the plain roundcubemail package (which works ok for > mail-only). With the new packages I get (not really unexpected - php on > debian 11 is newer): > > root@styx:~# LANG=C apt -s install roundcubemail > Reading package lists... Done > Building dependency tree... Done > Reading state information... Done > Some packages could not be installed. This may mean that you have > requested an impossible situation or if you are using the unstable > distribution that some required packages have not yet been created > or been moved out of Incoming. > The following information may help to resolve the situation: > > The following packages have unmet dependencies: > php-kolab : Depends: libkolab2 (>= 2.0~dev20151230-0~kolab18) but it is not > going to be installed Depends: libcalendaring (>= 4.9.1) but it is not > going to be installed Depends: phpapi-20180731 > php-kolabformat : Depends: phpapi-20180731 > E: Unable to correct problems, you have held broken packages. Not sure what the concrete problem is here, but I would avoid Debian 11 for now - the removal of Python 2 means that pykolab won't work correctly. There is some ongoing community work to make pykolab compatible with Python 3, but it's rather slow-moving because that's not an easy feat at all. The devil is in the details. Best, Christoph _______________________________________________ users mailing list [email protected] https://lists.kolab.org/mailman/listinfo/users
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEwp5/nkNlccrQ2UKH4yzDBS9Gs8IFAmKnlLYACgkQ4yzDBS9G s8Ljxg//fZNh65zZ0H9BQHfAvZlaPh8pctUrR53z+Amz3VqsCw8SGPwcHwtY+4hE uqaLhXGpQBf61AFC7HxK/LIYK8aeEo5lqVagUmcGaoCYh5k8QzqtvdXrw4iC72kc IxqTPAYw3LaQ68h/wxh9nu4zcX+getod1NFNAhw3loUkyzzfha66Ju26TpW/TgC1 sPkrXQoD/kZKsFhDJEuVGt7dyUNWIeslB70Hvvt5xlB5nGo3+o2VR74C1iwexKP8 Eh+YLPfLQyEADRacna8d3zXh4HuxgGBIDsAMUyOSrzLwuPCtmzp26Ea5ouWTfTFU xDFO+Z/8AhDm8+U7qKhhUziGxfKsu5UnNxZxbCA9u87L1xfDuZaZZ3o6Am08aLSX mYqqYl3sM9GJK96jCCpiUvrof9TU49FIFFfG1qduFoy6Hgurs40XDG+eCHFgAO1z mjitb7WE8s0/5m7O5I0We1x8q604/D9dTTOhRkgeguntGPOrUWeP05g9KfHorYc9 qo7EVQbp10WyReIR+JwzEphlUeGWC+1m2N62QipIAWb52JaX08enXHlvWUu8JC0s dXI6y3PdNI5xcQYSCyOEUbeaTvIueBzb+txvngMK0S+EvMWP+7Kqz8Hv4ECYRDKc YJc86EvI4LU7n/cZNSvX1U45WgJAauwLdnTYV/Z0vWgLKFxypq4= =L+v/ -----END PGP SIGNATURE-----