Bug 30172 - Errata updates are installed during an app installation
Errata updates are installed during an app installation
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - App-Center
UCS 3.1
Other Linux
: P3 normal (vote)
: UCS 3.1-0-errata
Assigned To: Dirk Wiesenthal
Stefan Gohmann
:
: 30768 (view as bug list)
Depends on: 30791
Blocks: 30707
  Show dependency treegraph
 
Reported: 2013-01-25 07:03 CET by Stefan Gohmann
Modified: 2013-03-25 11:00 CET (History)
3 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): Troubleshooting, Usability
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 2013-01-25 07:03:11 CET
If an app will be installed the UMC module calls 'apt-get upgrade' or 'apt-get dist-upgrade'. This installs all available errata updates.

Either the upgrade should be removed or a pop-up should be displayed which shows informations about the upgrade.
Comment 1 Stefan Gohmann univentionstaff 2013-02-26 07:18:59 CET
(In reply to comment #0)
> Either the upgrade should be removed or a pop-up should be displayed which
> shows informations about the upgrade.

A short Popup seems to be the best.
Comment 2 Dirk Wiesenthal univentionstaff 2013-03-05 11:26:16 CET
Seen in Ticket#: 2013030521000618: Installing errata updates may confuse the App Center, especially when the errata updates are installed remotely on a Master or Backup.

If errata updates were installed on the slave but not on the master and an app is to be installed on the slave, the App Center versions may differ which may lead to some really undesired problems.

Safest way would be blocking the installation of applications until all errata updates are installed.
Comment 3 Dirk Wiesenthal univentionstaff 2013-03-05 11:30:42 CET
Another problem: After updating UMC-Modules (or -Frontend or -Server) a UMC restart is required. The Updater Module and the App Center block this during the update and ask the user to do so after it is complete. If the errata updates are installed remotely, UMC is not restarted.
Comment 4 Dirk Wiesenthal univentionstaff 2013-03-06 18:50:03 CET
Not knowing that (and which) errata updates will be installed is something really unwanted. I added a complete dry_run, i.e. list also to-be-installed/updated packages and also list changes on remote machines.

Fixed in
  univention-management-console-module-appcenter 2.0.91-1.102.201303061834
and
  univention-management-console-module-appcenter 2.0.131-1.103.201303061843

YAML and Changelog updated.

This is the popup-solution. Problems with left out restarts are untouched.
Comment 5 Dirk Wiesenthal univentionstaff 2013-03-06 20:10:02 CET
For the restart problem, there is Bug#30707
Comment 6 Stefan Gohmann univentionstaff 2013-03-14 17:44:44 CET
As discussed, the detail view in the pop-up should be more like the traceback dialog. so with a green details link.
Comment 7 Dirk Wiesenthal univentionstaff 2013-03-15 07:50:13 CET
*** Bug 30768 has been marked as a duplicate of this bug. ***
Comment 8 Dirk Wiesenthal univentionstaff 2013-03-15 13:42:22 CET
(In reply to comment #6)
> As discussed, the detail view in the pop-up should be more like the traceback
> dialog. so with a green details link.

Fixed in:
  univention-management-console-module-appcenter 2.0.91-1.115.201303151337
Comment 9 Stefan Gohmann univentionstaff 2013-03-15 16:27:06 CET
OK, a really nice pop-up is shown with the info which package will be installed on which server.

YAML + Changelog: OK
Comment 10 Moritz Muehlenhoff univentionstaff 2013-03-25 11:00:57 CET
http://errata.univention.de/3.1-errata76.html