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" iU $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.
Fixed in univention-lib 3.0.6-1.144.201307181251
Check is done against apt_pkg.CURSTATE_INSTALLED: OK Installation status is checked correctly: OK Changelog OK -> Verified
UCS 3.2 has been released: http://docs.univention.de/release-notes-3.2-en.html http://docs.univention.de/release-notes-3.2-de.html If this error occurs again, please use "Clone This Bug".