Univention Bugzilla – Bug 27324
UCS@school 3.0 Update: SyntaxError: invalid syntax
Last modified: 2012-06-11 06:29:33 CEST
Während des Updates von 2.4-4 auf 3.0 tritt während des preup.sh die folgende Syntax Meldung auf: Die folgenden zusätzlichen Pakete werden installiert: python-support python-univention-config-registry python-univention-lib univention-config Die folgenden NEUEN Pakete werden installiert: python-univention-lib Die folgenden Pakete werden aktualisiert: python-support python-univention-config-registry univention-config univention-ssl 4 aktualisiert, 1 neu installiert, 0 zu entfernen und 669 nicht aktualisiert. Es müssen 136kB an Archiven heruntergeladen werden. Nach dieser Operation werden 180kB Plattenplatz zusätzlich benutzt. WARNUNG: Die folgenden Pakete können nicht authentifiziert werden! python-support python-univention-lib python-univention-config-registry univention-config univention-ssl Authentifizierungswarnung überstimmt. Hole:1 http://apt.knut.univention.de 3.0-0/all/ python-support 1.0.10.16.201104190609 [31,3kB] Hole:2 http://apt.knut.univention.de 3.0-0/all/ univention-ssl 6.0.14-1.123.201111181643 [16,2kB] Hole:3 http://testing.univention.de ucsschool/all/ python-univention-lib 1.0.53-1.78.201205241146 [14,2kB] Hole:4 http://testing.univention.de ucsschool/all/ python-univention-config-registry 7.0.29-2.374.201202201257 [44,1kB] Hole:5 http://testing.univention.de ucsschool/all/ univention-config 7.0.29-2.374.201202201257 [30,5kB] Es wurden 136kB in 0s geholt (762kB/s) (Lese Datenbank ... 101632 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereiten zum Ersetzen von python-support 0.8.4.11.200909110908 (durch .../python-support_1.0.10.16.201104190609_all.deb) ... Entpacke Ersatz für python-support ... Wähle vormals abgewähltes Paket python-univention-lib. Entpacke python-univention-lib (aus .../python-univention-lib_1.0.53-1.78.201205241146_all.deb) ... Vorbereiten zum Ersetzen von python-univention-config-registry 6.0.47-3.372.201112161439 (durch .../python-univention-config-registry_7.0.29-2.374.201202201257_all.deb) ... INFO: using unknown version '/usr/bin/python2.6' (debian_defaults not up-to-date?) Entpacke Ersatz für python-univention-config-registry ... Vorbereiten zum Ersetzen von univention-config 6.0.47-3.372.201112161439 (durch .../univention-config_7.0.29-2.374.201202201257_all.deb) ... Entpacke Ersatz für univention-config ... Ersetze die Dateien im alten Paket univention-config-registry ... Vorbereiten zum Ersetzen von univention-ssl 5.0.10-1.114.201110200656 (durch .../univention-ssl_6.0.14-1.123.201111181643_all.deb) ... Entpacke Ersatz für univention-ssl ... Verarbeite Trigger für man-db ... Richte python-support ein (1.0.10.16.201104190609) ... Compiling /usr/lib/pymodules/python2.4/univention/lib/atjobs.py ... File "/usr/lib/pymodules/python2.4/univention/lib/atjobs.py", line 168 finally: ^ SyntaxError: invalid syntax Richte python-univention-lib ein (1.0.53-1.78.201205241146) ... Richte python-univention-config-registry ein (7.0.29-2.374.201202201257) ... Richte univention-config ein (7.0.29-2.374.201202201257) ...
Weitere Meldungen: Setting up python-univention-management-console (4.0.233-2.630.201205291126) ... Compiling /usr/lib/pymodules/python2.4/univention/admin/handlers/dhcp/server.py ... File "/usr/lib/pymodules/python2.4/univention/admin/handlers/dhcp/server.py", line 75 from .__common import add_dhcp_options ^ SyntaxError: invalid syntax Compiling /usr/lib/pymodules/python2.4/univention/admin/handlers/dhcp/service.py ... File "/usr/lib/pymodules/python2.4/univention/admin/handlers/dhcp/service.py", line 73 from .__common import add_dhcp_options, add_dhcp_objectclass ^ SyntaxError: invalid syntax Compiling /usr/lib/pymodules/python2.4/univention/admin/handlers/dhcp/sharedsubnet.py ... File "/usr/lib/pymodules/python2.4/univention/admin/handlers/dhcp/sharedsubnet.py", line 120 from .__common import add_dhcp_options, add_dhcp_objectclass ^ SyntaxError: invalid syntax Compiling /usr/lib/pymodules/python2.4/univention/admin/handlers/dhcp/subnet.py ... File "/usr/lib/pymodules/python2.4/univention/admin/handlers/dhcp/subnet.py", line 121 from .__common import add_dhcp_options, add_dhcp_objectclass ^ SyntaxError: invalid syntax
Noch eine Meldung: Compiling /usr/lib/pymodules/python2.4/univention/management/console/modules/schoolwizards/SchoolImport.py ... File "/usr/lib/pymodules/python2.4/univention/management/console/modules/schoolwizards/SchoolImport.py", line 43 class SchoolImport(): ^ SyntaxError: invalid syntax
Die Meldungen sollten entfernt werden, ansonsten wird das im Support häufig angefragt.
Sind abgefangen bzw. geändert. Changelog nicht notwendig.
keine SyntaxError Meldungen mehr im updater.log.
UCS@school 3.0 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer neueren Version von UCS@school erneut auftreten, so sollte dieser Bug dupliziert werden: "Clone This Bug"