Bug 44060 - univention-updater doesn't notice inconsistent installation state
univention-updater doesn't notice inconsistent installation state
Status: RESOLVED DUPLICATE of bug 34444
Product: UCS
Classification: Unclassified
Component: Update - univention-updater
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-24 10:04 CET by Daniel Tröder
Modified: 2018-07-03 11:05 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 4: A User would return the product
User Pain: 0.091
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2017-03-24 10:04:52 CET
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.
Comment 1 Jürn Brodersen univentionstaff 2018-07-03 11:05:50 CEST

*** This bug has been marked as a duplicate of bug 34444 ***