Problem: OX Update fails

Problem

An update of oxforucs fails with the following traceback in the updater.log:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/univention/management/console/base.py", line 344, in __error_handling
six.reraise(etype, exc, etraceback)
File "/usr/lib/python3/dist-packages/six.py", line 693, in reraise
raise value
File "/usr/lib/python3/dist-packages/univention/management/console/base.py", line 247, in execute
function.__func__(self, request, *args, **kwargs)
File "/usr/lib/python3/dist-packages/univention/management/console/modules/decorators.py", line 321, in _response
result = _multi_response(self, request)
File "/usr/lib/python3/dist-packages/univention/management/console/modules/decorators.py", line 181, in _response
return function(self, request)
File "/usr/lib/python3/dist-packages/univention/management/console/modules/decorators.py", line 443, in _response
return list(function(self, iterator, *nones))
File "/usr/lib/python3/dist-packages/univention/management/console/modules/decorators.py", line 289, in _fake_func
yield function(self, *args)
File "/usr/lib/python3/dist-packages/univention/management/console/modules/updater/__init__.py", line 305, in updates_check
apt.update()
File "/usr/lib/python3/dist-packages/apt/cache.py", line 589, in update
raise FetchFailedException(e)
apt.cache.FetchFailedException: E:Für das Depot »[https://software.open-xchange.com/OX6/OXSEforUCS/5.0/maintained/component/f[..]](https://software.open-xchange.com/OX6/OXSEforUCS/5.0/maintained/component/frontend7105) ./ InRelease« wurde der »Origin«-Wert von
»obs://private/frontend-7.10.5-rev26/DebianBuster« in »obs://private/frontend-7.10.5-rev27/DebianBuster« geändert., E:Für das Depot
»[https://software.open-xchange.com/OX6/OXSEforUCS/5.0/maintained/component/f[..]](https://software.open-xchange.com/OX6/OXSEforUCS/5.0/maintained/component/frontend7105) ./ InRelease« wurde der »Label«-Wert von »frontend-7.10.5-rev26« in »frontend-7.10.5-rev27«
geändert., W:Sie müssen dies explizit bestätigen, bevor Aktualisierungen von diesem Depot angewendet werden können. Lesen Sie die apt-secure(8)-Handbuchseite, wenn Sie weitere
Informationen benötigen., E:Für das Depot »[https://software.open-xchange.com/OX6/OXSEforUCS/5.0/maintained/component/b[..]](https://software.open-xchange.com/OX6/OXSEforUCS/5.0/maintained/component/backend7105) ./ Release« wurde der »Origin«-Wert von
»obs://private/backend-7.10.5-rev32/DebianBuster« in »obs://private/backend-7.10.5-rev33/DebianBuster« geändert., E:Für das Depot
»[https://software.open-xchange.com/OX6/OXSEforUCS/5.0/maintained/component/b[..]](https://software.open-xchange.com/OX6/OXSEforUCS/5.0/maintained/component/backend7105) ./ Release« wurde der »Label«-Wert von »backend-7.10.5-rev32« in »backend-7.10.5-rev33« geändert.

Environment

UCS 4.4-8
oxseforucs installed

Solution

Allow a Release Change for the repository:

echo 'Acquire::AllowReleaseInfoChange::Suite "true";'  > /etc/apt/apt.conf.d/50bug54099`

Root Cause

OX did an (incompatible) change by re-using a previous repository but changing “Origin” and “Label” in their “InRelease” file, which is not allowed by default. See bug 54099