Bug 39589 - univention-app install returns 0 if app can not be installed
univention-app install returns 0 if app can not be installed
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1
Assigned To: Dirk Wiesenthal
Stefan Gohmann
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-10-19 13:52 CEST by Felix Botner
Modified: 2015-11-17 12:12 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 Felix Botner univentionstaff 2015-10-19 13:52:17 CEST
-> univention-app  install --noninteractive zarafa
Going to install Zarafa Collaboration Platform (7.1.13-51032)
(must_have_no_conflicts_packages) The application conflicts with the following packages: ['univention-mail-server', 'univention-mail-dovecot', 'dovecot-imapd']
(must_have_no_conflicts_apps) The application conflicts with the following applications:
                        [{'id': 'horde', 'name': 'Horde Groupware Webmail Edition'}]
(shall_have_enough_ram) The application requires 256 MB of free RAM but only
                225 MB are available.
Unable to install zarafa. Aborting...

->echo $?
0
Comment 1 Dirk Wiesenthal univentionstaff 2015-10-19 15:32:22 CEST
Fixed in
  univention-management-console-module-appcenter 5.0.6-32.479.201510191526
Comment 2 Stefan Gohmann univentionstaff 2015-10-28 08:32:57 CET
root@master441:~# univention-app install horde; echo $?
Going to install Horde Groupware Webmail Edition (5.2.7-1)
(must_have_valid_license) For the installation of this application, a UCS license key
                with a key identification (Key ID) is required
Unable to install horde. Aborting...
1
root@master441:~#

root@master441:~# univention-app install horde; echo $?
[...]
0
root@master441:~#

root@master441:~# univention-app install zarafa; echo $?
Going to install Zarafa Collaboration Platform (7.1.13-51032)
(must_have_no_conflicts_packages) The application conflicts with the following packages: ['univention-mail-server', 'univention-mail-dovecot', 'dovecot-imapd']
(must_have_no_conflicts_apps) The application conflicts with the following applications:
                        [{'id': 'horde', 'name': 'Horde Groupware Webmail Edition'}]
Unable to install zarafa. Aborting...
1
root@master441:~#
Comment 3 Stefan Gohmann univentionstaff 2015-11-17 12:12:02 CET
UCS 4.1 has been released:
 https://docs.software-univention.de/release-notes-4.1-0-en.html
 https://docs.software-univention.de/release-notes-4.1-0-de.html

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