Bug 23948 - Traceback beim Update 2.4-2 auf 2.4-3
Traceback beim Update 2.4-2 auf 2.4-3
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Update - univention-updater
UCS 2.4
Other Linux
: P5 normal (vote)
: UCS 2.4-4
Assigned To: Sönke Schwardt-Krummrich
Philipp Hahn
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-05 15:27 CEST by Jan Christoph Ebersbach
Modified: 2011-12-27 11:01 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Christoph Ebersbach univentionstaff 2011-10-05 15:27:39 CEST
Auf einem frisch installierten UCS Master mit einem lokalen Repository kam es beim Einspielen der Updates von einem ISO-Image zu folgendem Traceback. Zu dem Zeitpunkt waren keine anderen Repository-Komponenten eingebunden:

# univention-updater cdrom --iso ucs_update_2.4-2_-_2.4-3-20110913-dvd-amd64.iso

Mounting the ISO image ucs_update_2.4-2_-_2.4-3-20110913-dvd-amd64.iso
Update to = 2.4-3
Traceback (most recent call last):
  File "/usr/sbin/univention-updater", line 556, in ?
    main()
  File "/usr/sbin/univention-updater", line 450, in main
    temporary_sources_list = updater.release_update_temporary_sources_list(nextversion)
UnboundLocalError: local variable 'updater' referenced before assignment
Comment 1 Jan Christoph Ebersbach univentionstaff 2011-10-05 15:31:29 CEST
Über den Befehl univention-repository-update konnte das Update ordentlich ins Repository kopiert und anschließend über den univention-updater-Aufruf installiert werden.
Comment 2 Janis Meybohm univentionstaff 2011-10-05 17:06:11 CEST
Erneut gemeldet über Ticket#: 2011100410002334; http://forum.univention.de/viewtopic.php?f=48&t=1601&p=5490
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2011-11-17 10:17:50 CET
Die fehlende Variable "updater" wird im Codepfad "cdrom" jetzt mit einer UpdaterLocal()-Instanz initialisiert. Der Fehler wurde in UCS 2.4-4 und UCS 3.0-0 gefixt.
Changelogeintrag wurde vorgenommen.
Comment 4 Philipp Hahn univentionstaff 2011-12-15 11:44:39 CET
OK: Problem konnte mit UCS-2.4-3 nachvollzogen werden.
OK: Trat nicht mehr auf mit univention-updater_6.0.109-1.978.201112070932 aus UCS-2.4-3
OK: "Ein Traceback bei<del>m</del> der..." svn11591

Neu:
Bug #25495: Fehlender Zeilenumbruch
Bug #25496: Traceback bei nextversion=none
Comment 5 Stefan Gohmann univentionstaff 2011-12-27 11:01:37 CET
UCS 2.4-4 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer
neueren Version von UCS erneut auftreten, so sollte dieser Bug dupliziert
werden: "Clone This Bug"