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.kolab |
|---|---|
| Message-ID | <22679334.6Emhk5qWAg__45543.3243581624$1655151050$gmane$org@delle> |
--===============4151115885830254711== Content-Type: multipart/signed; boundary="nextPart2517658.Lt9SDvczpP"; micalg="pgp-sha256"; protocol="application/pgp-signature" --nextPart2517658.Lt9SDvczpP Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1"; protected-headers="v1" From: Christoph Erhardt <[email protected]> To: [email protected], Jochen Kellner <[email protected]> Cc: [email protected] Subject: Re: [Kolab-devel] New selfcontained packaging for roundcube and guam Date: Mon, 13 Jun 2022 21:49:10 +0200 Message-ID: <22679334.6Emhk5qWAg@delle> In-Reply-To: <[email protected]> References: <a887c8a4e1594554b297e8e51e19de5b@kube> <[email protected]> Hi Jochen, > On debian 10 I had an error removing roundcubemail (sorry, I'm using a > german locale): >=20 > 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 dpk= g: > Fehler beim Bearbeiten des Paketes roundcubemail-core (--remove): > =BBinstalliertes roundcubemail-core-Skript des Paketes > pre-removal=AB-Unterprozess gab den Fehlerwert 127 zur=FCck dpkg: > roundcubemail-plugin-kolab-notes: Abh=E4ngigkeitsprobleme, wird aber wie > gefordert dennoch entfernt: roundcubemail-plugins-kolab h=E4ngt ab von > roundcubemail-plugin-kolab-notes; aber: Paket > roundcubemail-plugin-kolab-notes soll entfernt werden. >=20 > 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`=20 package to be removed. This is a bug in the package's `prerm` maintainer=20 script. Unfortunately, I'm currently out of ideas how to fix this automatically.=20 Shipping a fixed version of the old `roundcubemail` package won't work,=20 because `apt` will simply ignore that version, because it is being replaced= =20 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 wi= th=20 `reload_apache`, then perform the package upgrade. > After that I sould run =BBapt --fix-broken install=AB, but there are some > missing dependencies: >=20 > chwala : Depends: roundcubemail-plugin-libkolab > irony : Depends: roundcubemail-plugin-libcalendaring (>=3D 3.1.12) > Depends: roundcubemail-plugin-libkolab (>=3D 3.1.12) > kolab-syncroton : Depends: roundcubemail-plugin-kolab-folders (>=3D 3.1.= 12) > Depends: roundcubemail-plugin-libcalendaring (>=3D 3.1= =2E12) > Depends: roundcubemail-plugin-libkolab (>=3D 3.1.12) > Depends: roundcubemail-plugin-kolab-auth (>=3D 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 >=20 > 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= =20 particular dependency problem should have been fixed last night with versio= n=20 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): >=20 > root@styx:~# LANG=3DC 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: >=20 > The following packages have unmet dependencies: > php-kolab : Depends: libkolab2 (>=3D 2.0~dev20151230-0~kolab18) but it i= s not > going to be installed Depends: libcalendaring (>=3D 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= =20 now - the removal of Python 2 means that pykolab won't work correctly. Ther= e=20 is some ongoing community work to make pykolab compatible with Python 3, bu= t=20 it's rather slow-moving because that's not an easy feat at all. The devil i= s=20 in the details. Best, Christoph --nextPart2517658.Lt9SDvczpP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----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----- --nextPart2517658.Lt9SDvczpP-- --===============4151115885830254711== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ devel mailing list [email protected] https://lists.kolab.org/mailman/listinfo/devel --===============4151115885830254711==--