Bug 34291 - SystemError: E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
SystemError: E:Error, pkgProblemResolver::Resolve generated breaks, this may ...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - App-Center
UCS 3.2
Other Linux
: P5 normal (vote)
: UCS 4.0-2-errata
Assigned To: Florian Best
Dirk Wiesenthal
:
: 36915 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-10 07:22 CET by Stefan Gohmann
Modified: 2015-05-28 16:46 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Error handling, External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2014-03-10 07:22:28 CET
We received the following traceback:

-------------------------------------------------------------------------------
Traceback:
Die Ausführung des Kommandos appcenter/packages/invoke/test ist fehlgeschlagen:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/__init__.py",
line 204, in execute
    func( request )
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/decorators.py",
line 178, in _response
    return function(self, request)
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/decorators.py",
line 305, in _response
    result = _multi_response(self, request)
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/decorators.py",
line 432, in _response
    for res in function(self, iterator, *nones):
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/decorators.py",
line 271, in _fake_func
    yield function(self, *args)
  File
"/usr/lib/pymodules/python2.6/univention/management/console/modules/appcenter/__init__.py",
line 378, in packages_invoke_dry_run
    return dict(zip(['install', 'remove', 'broken'], self.package_manager.mark(**kwargs)))
  File "/usr/lib/pymodules/python2.6/univention/lib/package_manager.py", line 554, in mark
    pkg.mark_delete()
  File "/usr/lib/python2.6/dist-packages/apt/deprecation.py", line 98, in
deprecated_function
    return func(*args, **kwds)
  File "/usr/lib/python2.6/dist-packages/apt/package.py", line 1190, in mark_delete
    fix.resolve()
SystemError: E:Fehler: Unterbrechungen durch pkgProblemResolver::Resolve hervorgerufen;
dies könnte durch zurückgehaltene Pakete verursacht worden sein.
-------------------------------------------------------------------------------

The reporter described that he tried to install gconf-service. I'm unable to reproduce this issue but I think we should give the admin a better error message and a recommendation what to do.
Comment 1 Florian Best univentionstaff 2015-04-23 10:34:27 CEST
Reported again, 4.0-1 errata160 (Walle)
Die Ausführung des Kommandos appcenter/packages/invoke/test ist fehlgeschlagen:

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/modules/__init__.py", line 176, in _decorated
    return function(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 188, in _response
    return function(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 316, in _response
    result = _multi_response(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 460, in _response
    return list(function(self, iterator, *nones))
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 282, in _fake_func
    yield function(self, *args)
  File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 440, in packages_invoke_dry_run
    return dict(zip(['install', 'remove', 'broken'], self.package_manager.mark(**kwargs)))
  File "%PY2.7%/univention/lib/package_manager.py", line 539, in mark
    pkg.mark_delete()
  File "/usr/lib/python2.7/dist-packages/apt/package.py", line 1270, in mark_delete
    fix.resolve()
SystemError: E:Fehler: Unterbrechungen durch pkgProblemResolver::Resolve hervorgerufen; dies könnte durch zurückgehaltene Pakete verursacht worden sein.
Comment 2 Florian Best univentionstaff 2015-05-06 17:40:58 CEST
*** Bug 36915 has been marked as a duplicate of this bug. ***
Comment 3 Florian Best univentionstaff 2015-05-13 11:52:29 CEST
Fixed directly in the package manager. If there are packages with 'hold' state the package is added to the "broken" list.

YAML: 2015-05-12-univention-lib.yaml
Package: univention-lib
Version: 4.0.5-16.300.201505131140
Comment 4 Dirk Wiesenthal univentionstaff 2015-05-27 10:13:54 CEST
OK, works fine
Comment 5 Janek Walkenhorst univentionstaff 2015-05-28 16:46:34 CEST
<http://errata.univention.de/ucs/4.0/196.html>