Kopano on UCS update failed

Today I have updated my UCS / Kopano Server to the most current patch.
Upon finalizytion I encounter the problem below:

dpkg: Abhängigkeitsprobleme verhindern Konfiguration von kopano-webapp-plugin-smime:
kopano-webapp-plugin-smime hängt ab von php-kopano-smime; aber:
Paket php-kopano-smime ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes kopano-webapp-plugin-smime (–configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert

What can I do to resolve this issue?

Regards
Thomas

Hi @strippe96,

at https://wiki.z-hub.io/display/K4U/Debugging+Kopano+on+Univention you can find further information to debug your case.

The first step should be to look at the versions you have currently installed, e.g. by running both dpkg -l | grep kopano and univention-app info.

As for the broken dependency it would be interesting to get a bit more output from dpkg for it. This can be done by running apt-get -o Debug::pkgProblemResolver=true install php-kopano-smime.

Hey @fbartels,

thank you.
Please find the results below:

root@ucs-9130:~# dpkg -l | grep kopano
ii kopano-backup 8.7.17.0-0+27.1 amd64 Utility to back up and restore Kopano stores
ii kopano-client 8.7.17.0-0+50.1 amd64 Kopano MAPI provider library
ii kopano-common 8.7.17.0-0+50.1 amd64 Shared files for Kopano services
ii kopano-dagent 8.7.17.0-0+50.1 amd64 E-Mail Delivery Agent for Kopano Core
ii kopano-dagent-pytils 8.7.17.0-0+27.1 amd64 Additional message handlers for kopano-dagent
ii kopano-gateway 8.7.17.0-0+50.1 amd64 POP3 and IMAP Gateway for Kopano Core
ii kopano-ical 8.7.17.0-0+50.1 amd64 ICal and CalDAV Gateway for Kopano Core
ii kopano-konnectd 0.33.5-0+9.1 amd64 Kopano Konnect OpenID Connect Provider service daemon
ii kopano-lang 8.7.17.0-0+50.1 all Translations for Kopano Core components
ii kopano-monitor 8.7.17.0-0+50.1 amd64 Quota Monitor for Kopano Core
rc kopano-presence 8.7.9.0-0+11.2 amd64 kopano presence daemon
ii kopano-python-utils 8.7.17.0-0+27.1 amd64 Additional Python-based command-line utils for Kopano Core
ii kopano-search 8.7.17.0-0+27.1 amd64 Indexed search engine for Kopano Core
ii kopano-server 8.7.17.0-0+50.1 amd64 Server component for Kopano Core
ii kopano-server-packages 8.7.17.0-0+50.1 all Metapackage to install the entire Kopano Core stack
ii kopano-spooler 8.7.17.0-0+50.1 amd64 E-mail Spooler for Kopano Core
ii kopano-webapp 4.6.3.0+156.1 all New and improved WebApp for Kopano
rc kopano-webapp-plugin-desktopnotifications 2.0.3.26+32.3 all Kopano WebApp Desktop notifications plugin
rc kopano-webapp-plugin-filepreviewer 2.2.0.26+24.3 all Kopano File previewer plugin
ii kopano-webapp-plugin-files 3.0.1.0+126.1 all Adds Files functionality to Kopano enabling access to WebDAV and other files backends.
ii kopano-webapp-plugin-filesbackend-owncloud 3.0.0.0+57.1 all Adds Owncloud specific functionality to Kopano Files plugin.
ii kopano-webapp-plugin-filesbackend-smb 3.0.0.0+38.1 all Adds Samba specific functionality to Kopano Files plugin.
ii kopano-webapp-plugin-mdm 3.2.0+49.1 all Kopano WebApp MDM plugin
rc kopano-webapp-plugin-meetings 3.0.1.100 all Kopano WebApp Meetings Plugin
iU kopano-webapp-plugin-smime 2.2.4.0+33.1 all Kopano WebApp S/MIME plugin
ii kopano-webapp-plugin-spell 2.0.0.19+37.5 all Kopano WebApp Spellchecker plugin
ii kopano-webapp-plugin-spell-de-de 2.0.0.3+34.4 all Kopano WebApp Spellchecker German dictionary plugin
ii kopano-webapp-plugin-spell-en 2.0.0.1+34.4 all Kopano WebApp Spellchecker English dictionary plugin
ii kopano-webapp-plugin-spell-nl 2.0.0.1+35.4 all Kopano WebApp Spellchecker Dutch dictionary plugin
rc kopano-webapp-plugin-titlecounter 3.5.14.2539+111.1 all Kopano WebApp Titlecounter plugin
rc kopano-webapp-plugin-webappmanual 3.5.14.2539+111.1 all Kopano WebApp Manual plugin
rc kopano-webmeetings 0.29.5-1 amd64 Kopano Webmeetings audio/video call and
ii kopano4ucs 1.6.2 all Kopano4ucs integration package for Univention Corporate Server
ii kopano4ucs-app 1.6.6 all Package for UCS app specific logic
ii kopano4ucs-lib 1.6.6 all Library package for common Kopano4ucs functions
ii kopano4ucs-schema 1.6.2 all LDAP schema for the Kopano4ucs integration
ii kopano4ucs-udm 1.6.2 all UDM extensions for the Kopano4ucs integration
ii kopano4ucs-webapp 1.6.6 all Kopano4ucs kopano-webapp integration package for Univention Corporate Server
ii kopano4ucs-z-push 1.5.33 all Meta package for Z-Push installation
ii libgsoap-kopano-2.8.102 2.8.102-0+1.1 amd64 Runtime libraries for gSOAP
ii libgsoap-kopano-2.8.109 2.8.109-0+1.1 amd64 Runtime libraries for gSOAP
ii libvmime-kopano3 0.9.2.96+3.1 amd64 Library for working with MIME messages and IMAP/POP/SMTP
iF php-kopano-smime 1.0.00+7.1 amd64 PHP Kopano SMIME Extension extends the php-openssl functions.
ii python3-kopano 8.7.17.0-0+27.1 all High-level Python 3 bindings for Kopano
ii python3-kopano-search 8.7.17.0-0+27.1 all Kopano search module for Python 3
ii python3-kopano-utils 8.7.17.0-0+27.1 all Kopano utils modules for Python 3
ii z-push-backend-kopano 2.6.1+0-0 all Z-Push Kopano backend
ii z-push-kopano 2.6.1+0-0 all Z-Push for Kopano
ii z-push-kopano-gabsync 2.6
################################################################################
root@ucs-9130:~# univention-app info
UCS: 4.4-7 errata849
Installed: cups=2.2.1 dhcp-server=12.0 kopano-core=8.7.1.0-1 kopano-webapp=3.5.14.2539-2 letsencrypt=1.2.2-8 samba4=4.10 self-service=4.0 self-service-backend=4.0 z-push-kopano=2.4.5
Upgradable:
#################################################################################
root@ucs-9130:~# apt-get -o Debug::pkgProblemResolver=true install php-kopano-smime
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen… Fertig
php-kopano-smime ist schon die neueste Version (1.0.00+7.1).
php-kopano-smime wurde als manuell installiert festgelegt.
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
libgsoap-kopano-2.8.102 php-bcmath
Verwenden Sie »apt autoremove«, um sie zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 7 nicht aktualisiert.
2 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] J
php-kopano-smime (1.0.00+7.1) wird eingerichtet …
php-kopano-smime: using mods-available directory

If you use a PHP executor other than Apache (like FPM), you may need to manually restart it.

kopano-webapp-plugin-smime (2.2.4.0+33.1) wird eingerichtet …
Neue Version der Konfigurationsdatei /etc/kopano/webapp/config-smime.php wird installiert …
W: APT had planned for dpkg to do more than it reported back (3 vs 7).
Affected packages: php-kopano-smime:amd64
############################################################################
The last command did it. Thanks you for investigating.

I´ll wish you all the best and stay healthy!

So now the installation/update succeeded? All the install command did was to retry the installation with more verbose output.

Yes, everything is fine now.

Thanks again!