Bug 27885 - Immer Fehler beim Einspielen von errata Updates auf 3.0-2 (und Format der Ausgabe komisch)
Immer Fehler beim Einspielen von errata Updates auf 3.0-2 (und Format der Aus...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Update - univention-updater
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.0-2
Assigned To: Dirk Wiesenthal
Felix Botner
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-12 10:22 CEST by Felix Botner
Modified: 2012-07-20 15:25 CEST (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 Felix Botner univentionstaff 2012-07-12 10:22:58 CEST
Ich habe ein 3.0-2 installiert und musste dann noch errata Updates einspielen. Die Ausgabe so komisch (Leerzeile zwischen das Update Meldungen) aus und die es gibt immer einen Fehler nach dem letzen Update (im Log File ist aber nichts zu sehen, es ist wohl nicht wirklich ein Problem des Updates)

repodizierbar unter 3.0-2:

-> ucr set version/erratalevel="90"
univention-upgrade 

Starting univention-upgrade. Current UCS version is 3.0-2 errata90

Checking for local repository:                          none
Checking for release updates:                           none
Checking for package updates:                           none
Checking for errata updates:                            found

Do you want to install all available errata updates [Y|n]? y

Starting errata update
Update to 3.0 errata91

Update to 3.0 errata92

Update to 3.0 errata93

An error occurred - stopping here.
Comment 1 Felix Botner univentionstaff 2012-07-12 10:24:02 CEST
Ah, im updater.log sieht man doch etwas:

Update to 3.0 errata92

Update to 3.0 errata93

Traceback in univention-upgrade:
Traceback (most recent call last):
  File "/usr/sbin/univention-upgrade", line 438, in main
    performUpdate(options.updateto, ignoressh=options.ignoressh, ignoreterm=options.ignoreterm, interactive=not options.noninteractive, silent=False)
  File "/usr/sbin/univention-upgrade", line 304, in performUpdate
    retcode = process.returncode
NameError: global name 'process' is not defined
Comment 2 Dirk Wiesenthal univentionstaff 2012-07-12 10:37:48 CEST
Mein Fehler. Ich kümmere mich drum.
Comment 3 Dirk Wiesenthal univentionstaff 2012-07-12 11:39:29 CEST
Das ist im Zuge von Bug #27011 passiert. Ich hatte die Zeilenumbrüche gebraucht, damit das im Online-Log von "easyupgrade" ordentlich aussieht.

Der Fehler ist behoben, die Zeilen sehen auf der Kommandozeile auch wieder gut aus. Wie das Layout im UMC ist, kann ich gerade nicht sagen, weil die in der aktuellen Version gravierende Fehler hat.

Aber dieser Fehler hier sollte auf jedenfall gefixt sein mit

 univention-updater (7.0.180-1)
Comment 4 Felix Botner univentionstaff 2012-07-12 15:23:19 CEST
OK, der aktuelle updater spielt die Errata Updates wieder ordentlich ein

-> dpkg -l univention-updater 
ii  univention-updater 7.0.180-3.1059.201207121253 UCS - system upgrading tool


-> univention-upgrade 

Starting univention-upgrade. Current UCS version is 3.0-1 errata90

Checking for local repository:                          none
Checking for release updates:                           none
Checking for package updates:                           none
Checking for errata updates:                            found

Do you want to install all available errata updates [Y|n]? y

Starting errata update
Update to 3.0 errata91
Update to 3.0 errata92
Update to 3.0 errata93
Checking for release updates:                           none
Checking for package updates:                           none
Checking for errata updates:                            none
Setting update/available


Changelog Eintrag nicht notwendig.
Comment 5 Stefan Gohmann univentionstaff 2012-07-20 15:25:16 CEST
UCS 3.0-2 has been released: 
  http://forum.univention.de/viewtopic.php?f=54&t=1905

If this error occurs again, please use "Clone This Bug".