Univention Bugzilla – Bug 43177
univention-app upgrade for docker app updates only default packages
Last modified: 2017-01-18 13:58:24 CET
see univention-docker-container-mode/usr/share/univention-docker-container-mode/update_app_version only the apps default packages is upgraded this is different to the non-Docker app upgrade where all the errata packages are upgraded as well
In update_app_version, /usr/share/univention-updater/univention-updater-check is run. Replacing it with univention-upgrade should be enough? Not sure whether or not it should install release updates at this point. If not, update/available should be set, just in case.
added univention-upgrade --noninteractive --updateto "$(ucr get version/version)-$(ucr get version/patchlevel)" --disable-app-updates to univention-docker-container-mode/update_app_version no release update at this point. univention-docker-container-mode: r75284 merged to 4.2-0
Instead of running univention-upgrade directly, could you please use /usr/share/univention-docker-container-mode/update_packages (also runs univention-run-joinscripts!)? Seems a bit better as update_app_version will benefit from update_package fixes. Also: 'die "Could not update the app packages"' is not completely wrong. But the script is also used for the initial package installation. That's why is was 'die "Could not install the app"'. You can leave it as is if you think the error message is okayish for "univention-app install". I don't mind, just wanted to let you know.
(In reply to Dirk Wiesenthal from comment #3) > Instead of running univention-upgrade directly, could you please use > /usr/share/univention-docker-container-mode/update_packages (also runs > univention-run-joinscripts!)? Seems a bit better as update_app_version will > benefit from update_package fixes. > > Also: 'die "Could not update the app packages"' is not completely wrong. But > the script is also used for the initial package installation. That's why is > was 'die "Could not install the app"'. You can leave it as is if you think > the error message is okayish for "univention-app install". I don't mind, > just wanted to let you know. OK, remove univention-upgrade and added ...ainer-mode/update_packages "$@" r75467 merged to 4.2-0 yaml updated
Works. If you compare the initial version to this one, update_app_version lost /usr/share/univention-updater/univention-updater-check. Can you add it to update_packages? Would make sense anyway. I like to have set update/available to the correct value as soon as possible.
readded univention-updater-check univention-docker-container-mode: 1.0.14-7.68.201701161330 merged to 4.2-0
Changeset: OK YAML: OK 4.2: OK
<http://errata.software-univention.de/ucs/4.1/378.html>