Bug 49790 - Update from 4.3-2 to 4.3-3 and further will fail inside Docker
Update from 4.3-2 to 4.3-3 and further will fail inside Docker
Status: RESOLVED INVALID
Product: UCS
Classification: Unclassified
Component: Update - univention-updater
UCS 4.3
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-07-04 10:38 CEST by Nico Stöckigt
Modified: 2019-07-04 20:12 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.171
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support: Yes
Flags outvoted (downgraded) after PO Review:
Ticket number: 2019070321000792
Bug group (optional):
Max CVSS v3 score:


Attachments
updater.log (77.46 KB, text/plain)
2019-07-04 10:38 CEST, Nico Stöckigt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Stöckigt univentionstaff 2019-07-04 10:38:27 CEST
Created attachment 10102 [details]
updater.log

The Customer is running his environment from inside Docker containers. The update to 4.3-2 is working just fine but when updating to 4.3-3 some dependency is broken and essential 'univention-*' packages are removed leading to a non-functional system.
Comment 1 Arvid Requate univentionstaff 2019-07-04 15:47:29 CEST
> but when updating to 4.3-3

No, the updater log says:
========================================================================
Starting univention-upgrade. Current UCS version is 4.3-3 errata376

Checking for local repository:                          none
Checking for package updates:                           none
Checking for app updates:                               none
Checking for release updates:                           found: UCS 4.4-0
Starting update to UCS version 4.4-0 at Wed Jul  3 14:11:02 2019...
========================================================================
Comment 3 Nico Stöckigt univentionstaff 2019-07-04 18:12:17 CEST
This is quite urgent for the customer because some project teams need to upgrade ASAP.
Comment 4 Arvid Requate univentionstaff 2019-07-04 18:23:48 CEST
The log says:

> Reading package lists...
> W: The repository 'http://master.domain.local/univention-repository/4.4/maintained 4.4-0/all/ Release' does not have a Release file.
> W: The repository 'http://master.domain.local/univention-repository/4.4/maintained 4.4-0/amd64/ Release' does not have a Release file.


So I guess that's a local repository? Then I guess apt-get cannot find and/or verify the packages.
Comment 5 Arvid Requate univentionstaff 2019-07-04 18:26:58 CEST
Also, as Felix just obsered, the log shows that it's trying to update form 4.3-3 to 4.4-0. So probably 4.3-4 has not been present in the local repo.


The updater does exactly fine here by aborting the update, because it detects that vital packages *would* get installed if it would contiune. See the final lines of the log:
===================================================================
ERROR: The pre-check of the update calculated that the
       essential software package univention-server-master will be removed
       during the upgrade. This could result into a broken system.

       Please contact the Univention Support in case you have an Enterprise
       Subscription. Otherwise please try the Univention Forum
       http://forum.univention.de/
Error: Update aborted by pre-update script of release 4.4-0
exitcode of univention-updater: 1
===================================================================