As a user of UCS core 5.0.-3 errata699, I have encountered a strange bug around updates. Logged in as a root user I can see and trigger updates in the web interface (GUI), but they fail with the error message below. The python related error messages are not very informative.
At the same time I can initiate and carry out the updates via “univention-upgrade” using ssh as the very same root user via the command-line interface (cli) . After the run, I am on UCS core 5.0.-3 errata709, as it should be (current status Security and bugfix errata for Univention Corporate Server).
It might be good to know that outside on the same server, but not via UCS I have Zabbix installed in a version that is currently not up to date. The command “apt list -a --upgradable” delivers this output:
zabbix-agent/unbekannt 1:4.2.8-1+stretch amd64 [aktualisierbar von: 1:4.0.4+dfsg-1]
zabbix-agent/ucs503,now 1:4.0.4+dfsg-1 amd64 [Installiert,aktualisierbar auf: 1:4.2.8-1+stretch]
The problem might have a connection with this report, but I am not certain:
UCS error message:
Interner Server-Fehler in “updater/updates/check”.
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/univention/management/console/base.py”, line 351, in __error_handling
six.reraise(etype, exc, etraceback)
File “/usr/lib/python3/dist-packages/six.py”, line 693, in reraise
File “/usr/lib/python3/dist-packages/univention/management/console/base.py”, line 254, in execute
function.func(self, request, *args, **kwargs)
File “/usr/lib/python3/dist-packages/univention/management/console/modules/decorators.py”, line 327, in _response
result = _multi_response(self, request)
File “/usr/lib/python3/dist-packages/univention/management/console/modules/decorators.py”, line 186, in _response
return function(self, request)
File “/usr/lib/python3/dist-packages/univention/management/console/modules/decorators.py”, line 447, in _response
return list(function(self, iterator, *nones))
File “/usr/lib/python3/dist-packages/univention/management/console/modules/decorators.py”, line 295, in _fake_func
yield function(self, *args)
File “/usr/lib/python3/dist-packages/univention/management/console/modules/updater/init.py”, line 312, in updates_check
File “/usr/lib/python3/dist-packages/apt/cache.py”, line 591, in update