Bug 19915 - Univention Updater sollte eine Warnung ausgeben wenn Pakete auf "hold" gesetzt sind
Univention Updater sollte eine Warnung ausgeben wenn Pakete auf "hold" gesetz...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Update - univention-updater
UCS 2.3
Other Linux
: P5 normal (vote)
: UCS 3.1
Assigned To: Stefan Gohmann
Lukas Walter
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-09-09 10:05 CEST by Moritz Muehlenhoff
Modified: 2012-12-12 21:10 CET (History)
2 users (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 Moritz Muehlenhoff univentionstaff 2010-09-09 10:05:30 CEST
Univention Updater sollte vor dem Update prüfen ob Pakete lokal auf "hold" gesetzt sind und dann eine Liste ausgeben, damit das vom Admin geprüft wird. Der kann die "holds" dann auflösen oder auch durch einen Parameter ala "--ignorehold" ignorieren.
Comment 1 Tim Petersen univentionstaff 2012-05-14 16:19:21 CEST
Erneut aufgetreten beim Update von 2.4-4 auf 3.0 an Ticket #2012051421002295.
Wenn das wichtige Dienste betrifft, ist das ärgerlich (AD-Connector versucht sich auf 3.0 mit Python 2.4 zu starten...).
Comment 2 Stefan Gohmann univentionstaff 2012-05-29 15:22:23 CEST
Das ist eher für das nächste größere Release interessant.
Comment 3 Stefan Gohmann univentionstaff 2012-11-02 06:15:51 CET
Im preup.sh wird nun geprüft, ob Pakete auf hold gesetzt sind. Dann bricht das Update entsprechend ab:

WARNING: Some packages are marked as hold -- this may interrupt the update and result in an inconsistent system!
Please check the following packages and unmark them or set the UCR variable update31/ignore_hold to yes
 - mc
 - univention-s4-connector
Error: Please check "/var/log/univention/updater.log" for details.
ERROR: update failed. Please check /var/log/univention/updater.log
Comment 4 Florian Best univentionstaff 2012-11-20 13:34:44 CET
Ich habe 2 typos im changelog korrigiert.
Comment 5 Lukas Walter univentionstaff 2012-11-20 15:45:57 CET
OK: Ist der Status eines Pakets auf "hold" gesetzt bricht das Update auf 3.1-0
ab.
OK: Wenn update31/ignore_hold auf "yes" gesetzt ist wird die Ausführung
forciert.

Changelogeintrag passt,
Verified.
Comment 6 Stefan Gohmann univentionstaff 2012-12-12 21:10:55 CET
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".