Univention Bugzilla – Bug 31261
PackageManager does not check installation state intensively
Last modified: 2013-11-19 06:41:45 CET
I installed an app and configuring a dependent package failed:
dpkg -l "$package"
So the package is unpacked but not installed.
But the PackageManager regards it as installed and the App Center thinks the App is working. The reason is that the high-level check package.is_installed() does not check the state enough. The correct way I found: package._pkg.current_state == apt_pkg.CURSTATE_INSTALLED. Same probably holds for uninstalled: Better check for apt_pkg.CURSTATE_NOT_INSTALLED.
Check is done against apt_pkg.CURSTATE_INSTALLED: OK
Installation status is checked correctly: OK
UCS 3.2 has been released:
If this error occurs again, please use "Clone This Bug".