Univention Bugzilla – Bug 41303
LockError: Failed to lock not handled in AppCenter
Last modified: 2017-07-26 15:09:17 CEST
Version: 4.1-2 errata174 (Vahr) Execution of command 'appcenter/docker/progress' has failed: Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 283, in execute function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 462, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 284, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/mixins.py", line 149, in progress ret = progress_obj.poll() File "%PY2.7%/univention/management/console/modules/decorators.py", line 309, in _thread result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 462, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 284, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 372, in invoke_docker with self.locked(): File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__ return self.gen.next() File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 393, in locked with self.package_manager.locked(reset_status=True, set_finished=True): File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__ return self.gen.next() File "%PY2.7%/univention/lib/package_manager.py", line 316, in locked self.lock() File "%PY2.7%/univention/lib/package_manager.py", line 301, in lock raise LockError(_('Failed to lock')) LockError: Failed to lock
Version: 4.2-0 errata1 (Lesum) Remark: funktioniert nicht
Version: 4.1-4 errata404 (Vahr)
Version: 4.1-4 errata407 (Vahr) LockError: Sperren des Systems fehlgeschlagen
Version: 4.2-0 errata0 (Lesum)
Version: 4.2-0 errata4 (Lesum)
OK, self.locked() now raises umcm.UMC_CommandError(_('Another package operation is in progress')) on LockError. univention-appcenter: r79345 errata4.2-0
Works great
<http://errata.software-univention.de/ucs/4.2/22.html>
Reported again, 4.1-4 errata428 (Vahr)