Univention Bugzilla – Bug 44060
univention-updater doesn't notice inconsistent installation state
Last modified: 2018-07-03 11:05:50 CEST
I had just run: -------------------------------------------------------------------------- root@s121:~# univention-upgrade --ignoreterm --ignoressh Starting univention-upgrade. Current UCS version is 4.2-0 errata0 Checking for local repository: none Checking for package updates: none Checking for app updates: none Checking for release updates: none -------------------------------------------------------------------------- So all up to date and no problems displayed. Then I installed the self-service app through the UMC, and at the end I get a list of failed installed packages. In management-console-module-appcenter.log: -------------------------------------------------------------------------- 24.03.17 09:39:19.914 MODULE ( PROCESS ) : Ausführen von dpkg 24.03.17 09:39:19.955 MODULE ( PROCESS ) : dpkg: Abhängigkeitsprobleme verhindern Konfiguration von univention-appcenter: 24.03.17 09:39:19.955 MODULE ( PROCESS ) : univention-appcenter hängt ab von python-univention-appcenter (= 6.0.4-1A~4.2.0.201703231506); aber: 24.03.17 09:39:19.955 MODULE ( PROCESS ) : Version von python-univention-appcenter auf dem System ist 6.0.3-24A~4.2.0.201703231055. 24.03.17 09:39:19.955 MODULE ( PROCESS ) : 24.03.17 09:39:19.955 MODULE ( PROCESS ) : dpkg: Fehler beim Bearbeiten des Paketes univention-appcenter (--configure): 24.03.17 09:39:19.955 MODULE ( PROCESS ) : Abhängigkeitsprobleme - verbleibt unkonfiguriert 24.03.17 09:39:19.956 MODULE ( PROCESS ) : univention-web-js (1.0.40-7A~4.2.0.201703231634) wird eingerichtet ... 24.03.17 09:39:19.956 MODULE ( WARN ) : univention-appcenter: Abhängigkeitsprobleme - verbleibt unkonfiguriert [..] 24.03.17 09:39:22.397 MODULE ( PROCESS ) : dpkg: Fehler beim Bearbeiten des Paketes univention-management-console-web-server (--configure): 24.03.17 09:39:22.397 MODULE ( PROCESS ) : Paket ist in einem sehr schlechten inkonsistenten Zustand - Sie sollten es 24.03.17 09:39:22.397 MODULE ( PROCESS ) : nochmal installieren, bevor Sie die Konfiguration versuchen. 24.03.17 09:39:22.397 MODULE ( WARN ) : univention-management-console-web-server: Paket ist in einem sehr schlechten inkonsistenten Zustand - Sie sollten es nochmal installieren, bevor Sie die Konfiguration versuchen. 24.03.17 09:39:22.414 MODULE ( PROCESS ) : Fehler traten auf beim Bearbeiten von: 24.03.17 09:39:22.414 MODULE ( PROCESS ) : univention-appcenter 24.03.17 09:39:22.414 MODULE ( PROCESS ) : univention-management-console-module-apps 24.03.17 09:39:22.414 MODULE ( PROCESS ) : univention-appcenter-docker 24.03.17 09:39:22.414 MODULE ( PROCESS ) : univention-appcenter-dev 24.03.17 09:39:22.414 MODULE ( PROCESS ) : univention-management-console-web-server 24.03.17 09:39:22.601 MODULE ( PROCESS ) : Error in function: 24.03.17 09:39:22.601 MODULE ( PROCESS ) : SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1) -------------------------------------------------------------------------- Running "apt-get install -f" fixed all. The problem is that the updater didn't display any error, and it only became apparent to the user when he installed an app. In the meantime the system was in an inconsistent state. The inconsistency was probably a result of an incomplete update → Bug #44052.
*** This bug has been marked as a duplicate of bug 34444 ***