Bug 40060 - univention-upgrade: unvention-app upgrade does not always work
univention-upgrade: unvention-app upgrade does not always work
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-0-errata
Assigned To: Dirk Wiesenthal
Florian Best
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-21 23:51 CET by Dirk Wiesenthal
Modified: 2016-02-04 14:09 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 Dirk Wiesenthal univentionstaff 2015-11-21 23:51:30 CET
univention-app upgrade only does
  apt-get install $default_packages

just as univention-app install

This does not work for apps that consist of multiple packages with most of them being dependencies of a meta package.

So, version 1.0:
DefaultPackges=myapp-meta
myapp-meta 1.0, Depends myapp-logic
myapp-logic 1.0

Version 1.1:
DefaultPackges=myapp-meta
myapp-meta 1.1, Depends myapp-logic (not myapp-logic=1.1)
myapp-logic 1.1

=> myapp-logic is not upgraded during univention-app upgrade

Currently, this is only a problem for univention-upgrade as only that uses the univention-app upgrade mechanism.

And there it is not critical as after the apps are (not really) upgraded, at least the components are registered. And then univention-upgrade explicitely checks for package updates again and finds it.

Still a bug.
Comment 1 Dirk Wiesenthal univentionstaff 2015-12-18 10:39:59 CET
Fixed in
  univention-appcenter 5.0.19-34.92.201512181038
Comment 2 Florian Best univentionstaff 2016-01-25 12:44:26 CET
Fix: OK
YAML: OK
Comment 3 Janek Walkenhorst univentionstaff 2016-02-04 14:09:55 CET
<http://errata.software-univention.de/ucs/4.1/79.html>