Univention Bugzilla – Bug 35271
Save installed apps in a UCR variable
Last modified: 2014-07-10 13:33:38 CEST
I've just updated an UCS 3.2-1 system to the latest UCS 3.2-2 errata. The system has Samba 3 installed but the UCR variable is empty: root@master301:~# dpkg -l univention-samba Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-=============================================================-=============================================================-========================================================================================================================================== ii univention-samba 8.0.16-1.454.201401222000 UCS - Samba domain controller root@master301:~# ucr search --brief repository/app_center/installed repository/app_center/installed: root@master301:~# ucr search --brief version/erratalevel version/erratalevel: 133 root@master301:~# +++ This bug was initially created as a clone of Bug #35177 +++ The app center should maintain a UCR variable which contains the installed apps as comma-separated list. To make the UCR variable not to big, we should add a short char id to every app. Currently we should limit the id to 2 characters. Please also add a test case to UCS test to ensure the short id is unique.
It seems to work if I first switch to the test app center.
Fixed in univention-management-console-module-appcenter 3.0.51-23.257.201407081251 Setting UCR variable in postinst
In my tests, the changes worked fine. Personally, I would rather make in the package postinst script a check for the UCR variable instead of comparing to a package version, but the function is fine as it is. YAML file → OK → VERIFIED
http://errata.univention.de/ucs/3.2/139.html