Bug 43569 - univention-upgrade cli ignores RequiredAppVersionUpgrade
univention-upgrade cli ignores RequiredAppVersionUpgrade
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-4-errata
Assigned To: Dirk Wiesenthal
Stefan Gohmann
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-02-17 11:47 CET by Erik Damrose
Modified: 2017-03-15 17:07 CET (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.171
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 Erik Damrose univentionstaff 2017-02-17 11:47:13 CET
univention-upgrade must respect RequiredAppVersionUpgrade and provide the same update path as the umc-appcenter.

Reproduce: univention-app install owncloud82=8.2.9
switch to test appcenter
univention-upgrade: ownCloud 8.2: Version 8.2.9 can be upgraded to 9.1.1-20170120

Should be: ".. can be upgraded to 9.0.6"
Comment 1 Dirk Wiesenthal univentionstaff 2017-02-17 13:08:01 CET
Seems to be only a display issue - the very latest App is shown, not the candidate. But when it comes to upgrading the App, the correct one is chosen.

Bad enough though.
Comment 2 Dirk Wiesenthal univentionstaff 2017-02-17 14:30:49 CET
Fixed in
  univention-updater 11.0.11-16.1502.201702171356
Comment 3 Stefan Gohmann univentionstaff 2017-02-21 21:06:03 CET
Tests: OK, now it is shown correctly.

Old version:
----------------------------------------------------------------
Checking for app updates:                               found

The following apps can be upgraded:

ownCloud 8.2: Version 8.2.1-1 can be upgraded to 9.1.1-20170120

Starting app upgrade
Do you want to upgrade ownCloud 8.2 [Y|n]? n

done
Checking for release updates:                           none
----------------------------------------------------------------

New version:
----------------------------------------------------------------
Checking for app updates:                               found

The following apps can be upgraded:

ownCloud 8.2: Version 8.2.1-1 can be upgraded to 8.2.9

Starting app upgrade
Do you want to upgrade ownCloud 8.2 [Y|n]? y

File: /etc/univention/service.info/services/univention-appcenter.cfg
File: /var/www/ucs-overview/entries.json
done
Checking for release updates:                           none
----------------------------------------------------------------

Code review: OK

UCS 4.2 merge: OK

YAML: OK
Comment 4 Janek Walkenhorst univentionstaff 2017-03-15 17:07:03 CET
<http://errata.software-univention.de/ucs/4.1/407.html>