Univention Bugzilla – Bug 28366
univention-directory-manager-tools ruft fälschlicherweise convert-user-base64-photos im postinst auf
Last modified: 2012-12-12 21:09:19 CET
installation.log: Setting up univention-directory-manager-tools (8.0.8-1.864.201208081620) ... Create directory/manager/cmd/debug/level Create directory/manager/cmd/timeout Traceback (most recent call last): File "/usr/share/univention-directory-manager-tools/convert-user-base64-photos", line 117, in <module> run(args[0], verbose = options.verbose) ... ldap.SERVER_DOWN: {'desc': "Can't contact LDAP server"} /var/lib/dpkg/info/univention-directory-manager-tools.postinst: ... if [ "$server_... && dpkg --compare-versions "$2" lt 7.0.274-1; then # when updating, convert jpegPhoto attributes for # users/user to binary format (Bug #26872) /usr/share/univention-directory-manager-tools/convert-user-base64-photos convert fi ... Das wird auch bei Neu-Installationen aufgerufen, da $2 nicht gesetzt ist und für "dpkg --compare-versions" damit kleiner als 7.0.... Wahrscheinlich müsste hier lt-nl beim "compare-versions" verwendet werden (lt-nl behandelt eine leere Version als älter als jede Version).
univention-directory-manager-modules/debian/univention-directory-manager-tools.postinst wurde entsprechend angepasst (lt-nl).
Vielleicht sollte Bug 27961 in diesem Zuge mit behoben werden?
(In reply to comment #2) > Vielleicht sollte Bug 27961 in diesem Zuge mit behoben werden? Der wird im Zuge von Bug 27961 behoben.
OK, funktioniert.
UCS 3.1-0 has been released: http://forum.univention.de/viewtopic.php?f=54&t=2125 If this error occurs again, please use "Clone This Bug".