Univention Bugzilla – Bug 55379
Unmet dependency for univention-management-console breaks system during upgrade
Last modified: 2022-11-03 13:47:14 CET
Created attachment 11006 [details] Univention updater log During the Univention upgrade from version 4.4-3 to 4.4-9 (latest), we faced the issue, that a list of needed univention packages were automatically removed during the upgrade, resulting in a corrupted system state. We were able to fix this issue, by fixing a unmet dependency for univention-directory manager. Package list: rc univention-directory-manager-rest 9.0.16-14A~4.4.0.202103031456 all REST service for UCS Directory Manager │····································································· rc univention-directory-reports 11.0.0-5A~4.4.0.202004141108 all Creates reports for UCS Directory Manager objects │····································································· rc univention-heimdal-kdc 12.0.1-6A~4.4.0.202103250916 all UCS - Kerberos KDC │····································································· rc univention-maintenance-mode 1.0.0-5A~4.3.0.201808211355 all Files for a maintenance mode during release updates. │····································································· rc univention-management-console 11.0.6-10A~4.4.0.202103241418 all UCS Management Console - Web based computer administration tool │····································································· rc univention-management-console-module-appcenter 8.0.11-146A~4.4.0.202103041132 all UMC module for software management │····································································· rc univention-management-console-module-apps 8.0.11-146A~4.4.0.202103041132 all UMC module for application overview │····································································· rc univention-management-console-module-ipchange 7.0.1-3A~4.4.0.201910141159 all UMC module for registration the IP address │····································································· rc univention-management-console-module-join 11.0.1-34A~4.4.0.202010281155 all UMC module for system join │····································································· rc univention-management-console-module-mrtg 7.0.2-1A~4.4.0.201910141234 all UMC module for system statistics │····································································· rc univention-management-console-module-quota 13.0.1-8A~4.4.0.202003271053 all UMC module for filesystem quota │····································································· rc univention-management-console-module-reboot 8.0.1-2A~4.4.0.201910141203 all UMC module for reboot │····································································· rc univention-management-console-module-services 8.0.1-5A~4.4.0.201910141205 all UMC module for system services │····································································· rc univention-management-console-module-top 8.0.1-4A~4.4.0.202008281325 all UMC module for process overview │····································································· rc univention-management-console-module-ucr 8.0.1-2A~4.4.0.201910161844 all UMC module for UCR │····································································· rc univention-management-console-module-udm 9.0.15-8A~4.4.0.202010011536 all UMC module for UCS Directory Manager │····································································· rc univention-management-console-module-updater 14.0.3-9A~4.4.0.202102191344 all UMC module for UCS updater │····································································· rc univention-management-console-web-server 11.0.6-10A~4.4.0.202103241418 all UCS Management Console - Web server │····································································· rc univention-portal 3.0.3-1A~4.4.0.202012151822 all Univention Portal - Central portal web page for a UCS domain │····································································· rc univention-server-master 14.0.0-13A~4.4.0.202003261122 all UCS - master domain controller │····································································· rc univention-server-overview 2.0.1-5A~4.4.0.202004141141 all Univention Server Overview - Web interface for overview over all server in I investigated the Univention updater.log afterwards but it's hard to tell when and why this issue occurred. All we know is that between UCS version 4.4-7 and 4.4-8 the packages were removed due to a dependency mismatch, which marked the packages as not needed anymore and therefore they were removed during the upgrade task. My guess would be that there is an error with the packaging of python-sphinx (The dependency for univention-management-console) which is depending on an older version of libjs-sphinxdoc as we needed to downgrade this package manually, to fix the dependencies and get the missing packages back: The following packages have unmet dependencies: sphinx-common : Depends: libjs-sphinxdoc (= 1.4.9-2) but 1.7.9-1~bpo9+1 is to be installed Recommends: python-sphinx but it is not going to be installed or python3-sphinx but it is not going to be installed E: Unable to correct problems, you have held broken packages. root@srwalder04:~/Univention-upgrade/4.4-4_errata720# apt install libjs-sphinxdoc=1.4.9-2 Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: linux-image-4.9.0-18-686-pae Use 'apt autoremove' to remove it. The following packages will be DOWNGRADED: libjs-sphinxdoc 0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
In your updater.log i can see that debian repositories are included and are used during the problematic update, which removes univention-* packages. This is not supported and is very likely to cause the issue. https://deb.debian.org/debian stretch-backports/main i386