Problem:
During update the package status got corrupted. This might be caused by already removed packages before the update
The updater.log shows:
/var/log/univention/updater.log
2026-07-26T04:10:36.455560+02:00 INIT
**** Starting univention-updater 5.2-5 with parameter=[‘/usr/share/univention-updater/univention-updater’, ‘net’, ‘–updateto=5.0-999’, ‘–silent’, ‘–noninteractive’]
—>DBG:update_available(mode=net)
Checking network repository
Update hold at 5.2-5, next 5.2-6 is after 5.0-999Starting univention-upgrade. Current UCS version is 5.2-5 errata538
Checking for package updates: found
Please rerun command without --check argument to install.Starting univention-upgrade. Current UCS version is 5.2-5 errata538
Checking for package updates: Traceback in univention-upgrade:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/univention/updater/scripts/upgrade.py”, line 410, in do_update
update_available = performUpdate(options, checkForUpdates=options.check, silent=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/univention/updater/scripts/upgrade.py”, line 113, in performUpdate
if func(options, checkForUpdates, silent):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/univention/updater/scripts/upgrade.py”, line 169, in do_package_updates
new_packages, upgraded_packages, removed_packages = updater.component_update_get_packages()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/univention/updater/tools.py”, line 1400, in component_update_get_packages
raise UnmetDependencyError(stderr)
univention.updater.errors.UnmetDependencyError: You have unmet dependencies E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).Starting univention-upgrade. Current UCS version is 5.2-5 errata538
Checking for package updates: Traceback in univention-upgrade:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/univention/updater/scripts/upgrade.py”, line 410, in do_update
update_available = performUpdate(options, checkForUpdates=options.check, silent=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/univention/updater/scripts/upgrade.py”, line 113, in performUpdate
if func(options, checkForUpdates, silent):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/univention/updater/scripts/upgrade.py”, line 169, in do_package_updates
new_packages, upgraded_packages, removed_packages = updater.component_update_get_packages()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/univention/updater/tools.py”, line 1400, in component_update_get_packages
raise UnmetDependencyError(stderr)
univention.updater.errors.UnmetDependencyError: You have unmet dependencies E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).
Following the instruction will cause more damage, because more important package will be removed.
apt --fix-broken install
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
heimdal-kdc heimdal-servers libkdc2-heimdal memtest86+ nfs-kernel-server postgresql-client postgresql-client-11 postgresql-client-15 postgresql-client-9.4 postgresql-client-9.6
postgresql-client-common python3-filetype python3-gdbm python3-gnupg python3-mimeparse python3-pygresql python3-renderpm
python3-reportlab python3-reportlab-accel python3-trml2pdf python3-univention-directory-manager-rest python3-univention-directory-manager-rest-client
python3-univention-directory-reports python3-univention-group-membership-cache python3-univention-pkgdb python3-univention-portal python3-wheel
univention-container-role-common univention-container-role-server-common univention-directory-manager-rest univention-directory-notifier univention-directory-reports
univention-docker-container-mode univention-firewall univention-group-membership-cache univention-heimdal-kdc univention-initrd
univention-ldap-acl-master univention-ldap-config-master univention-license-import univention-mail-postfix univention-maintenance univention-management-console-module-ipchange
univention-management-console-module-udm univention-management-console-module-welcome univention-nfs-server univention-pkgdb-tools
univention-portal univention-role-common univention-server-overview univention-support-info univention-telemetry
Verwenden Sie »apt autoremove«, um sie zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Investigation:
/var/log/apt/history.log shows:
Start-Date: 2026-07-27 10:32:28
Commandline: apt --fix-broken install
Install: linux-image-6.1.0-51-amd64:amd64 (6.1.177-1, automatic)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2026-07-27 10:32:28Start-Date: 2026-07-27 10:33:14
Install: univention-container-role-server-common:amd64 (17.5.1, automatic), univention-docker-container-mode:amd64 (7.4.0, automatic), univention-container-role-common:amd64 (17.5.1, automat
ic)
Remove: univention-bind:amd64 (16.4.0), linux-image-amd64:amd64 (6.1.177-1), univention-role-server-common:amd64 (17.5.1), univention-server-master:amd64 (17.5.1)
Purge: linux-image-6.1.0-49-amd64:amd64 (6.1.174-1), linux-image-5.10.0-0.deb10.37-amd64:amd64 (5.10.247-1~deb10u1), linux-image-6.1.0-48-amd64:amd64 (6.1.172-1), linux-image-6.1.0-45-amd64:
amd64 (6.1.170-1), linux-image-6.1.0-50-amd64:amd64 (6.1.176-1), linux-image-5.10-amd64:amd64 (5.10.247-1~deb10u1)
End-Date: 2026-07-27 10:33:43
Remove: univention-role-server-common:amd64 (17.5.1), univention-server-master:amd64 (17.5.1)
Solution:
The univention-server-master package was uninstalled due to a dependency conflict between univention-role-server-common and univention-container-role-server-common. This was triggered by the apt --fix-broken install command. We have a bug report for this:
Bug 58827
Installing the removed packages again, the server/role comes back:
univention-install univention-bind linux-image-amd64 univention-role-server-common univention-server-master linux-image-6.1.0-49-amd64 linux-image-6.1.0-50-amd64 linux-image-6.1.0-51-amd64
OK:2 https://updates.software-univention.de ucs525 InRelease
OK:3 https://updates.software-univention.de errata525 InRelease
Paketlisten werden gelesen…
Paketlisten werden gelesen…
Abhängigkeitsbaum wird aufgebaut…
Statusinformationen werden eingelesen…
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
python3-wheel univention-container-role-common
univention-docker-container-mode
Verwenden Sie »apt autoremove«, um sie zu entfernen.
Vorgeschlagene Pakete:
linux-doc-6.1 debian-kernel-handbook
Die folgenden Pakete werden ENTFERNT:
univention-container-role-server-common
Die folgenden NEUEN Pakete werden installiert:
linux-image-6.1.0-49-amd64 linux-image-6.1.0-50-amd64
linux-image-6.1.0-51-amd64 linux-image-amd64 univention-bind
univention-role-server-common univention-server-master
0 aktualisiert, 7 neu installiert, 1 zu entfernen und 0 nicht aktualisiert.