Bug 40704 - Adjust preup.sh / postup.sh for UCS 3.3
Adjust preup.sh / postup.sh for UCS 3.3
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Update - Release updates
UCS 3.3
Other Linux
: P5 normal (vote)
: UCS 3.3
Assigned To: Felix Botner
Stefan Gohmann
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-17 07:17 CET by Stefan Gohmann
Modified: 2016-06-07 21:35 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 Stefan Gohmann univentionstaff 2016-02-17 07:17:08 CET
pre- and postup.sh should be adjusted for UCS 3.3.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2016-02-17 10:42:57 CET
The preup.sh has to assert that the errata packages for 3.2-8 have been installed (the errata packages contain a modified version of the updater).
Comment 2 Felix Botner univentionstaff 2016-03-04 10:15:36 CET
remove (or at least make sure the update to 3.3 with both packages works)

 * php5-suhosin
 * amarok 

before the update (php5-suhosin no longer available with new php5 version, new mysql version breaks amarok)
Comment 3 Stefan Gohmann univentionstaff 2016-03-10 08:46:03 CET
r68024:
* preup.sh: Replace update32 with update33 otherwise the upgrade in
  Jenkins fails (Bug #40704)
Comment 4 Felix Botner univentionstaff 2016-03-15 18:22:57 CET
script/postup.sh:
   - enable 3.3-0-errata
   - reinstall apps in update/ucs33/installedapps
   - purge php5-suhosin

script/preup.sh:
   - added check_for_minimum_errata
   - save packages status
   - save auto installed packages
   - mark known apps as installed
   - added apt-get dist-upgrade Debug::pkgProblemResolver=yes dry run
Comment 5 Felix Botner univentionstaff 2016-03-18 09:40:18 CET
TODO:
 * check_for_minimum_errata set correct minimum errata version (see Bug #40909)
Comment 6 Felix Botner univentionstaff 2016-04-21 10:21:13 CEST
(In reply to Felix Botner from comment #5)
> TODO:
>  * check_for_minimum_errata set correct minimum errata version (see Bug
> #40909)

see #41068
Comment 7 Stefan Gohmann univentionstaff 2016-05-26 20:48:28 CEST
Code review: OK

Different updates: OK

Jenkins tests: OK
Comment 8 Stefan Gohmann univentionstaff 2016-06-07 21:35:44 CEST
UCS 3.3 has been released:
 https://docs.software-univention.de/release-notes-3.3-0-en.html
 https://docs.software-univention.de/release-notes-3.3-0-de.html

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