Univention Bugzilla – Bug 42287
Recursive package dependency
Last modified: 2021-05-25 16:00:21 CEST
ERROR:root:Recursion univention-management-console-module-pkgdb -> univention-pkgdb-
This issue has been filed against UCS 4.2. UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.
The recursive package dependency still exists and leads to unpredictable installations and upgrade behavior. The problem here is that bin:univention-pkgdb is both the meta-package being used to install the component, but also contains all the server configuration files, UDL module, scripts, …. As the meta-package it want to pull in the UMC module package, but that one depends on the server package as it contains a hard-coded use of PostgreSQL via UNIX socket in /usr/lib/python2.7/dist-packages/univention/pkgdb.py:542 for open_database_connection(…, pkgdbu=True) This can be fixed easily by only using the UNIX connection if the UMC is running on the same host as the PostgreSQL database. [feature/ucs5] bcfb2aab08 Bug #42287 pkgdb: Break package dependency cycle doc/changelog/changelog-5.0-0.xml | 2 +- services/univention-pkgdb/debian/changelog | 6 +++++ services/univention-pkgdb/debian/control | 26 ++++++++-------------- services/univention-pkgdb/debian/rules | 11 ++------- .../univention-pkgdb/pyshared/univention/pkgdb.py | 7 ++++-- 5 files changed, 23 insertions(+), 29 deletions(-)
Cycle gone: OK Codechange: OK Changelog: OK
UCS 5.0 has been released: https://docs.software-univention.de/release-notes-5.0-0-en.html https://docs.software-univention.de/release-notes-5.0-0-de.html If this error occurs again, please use "Clone This Bug".