Univention Bugzilla – Full Text Bug Listing |
Summary: | app upgrade in univention-upgrade fails if started without proper terminal (via ssh) | ||
---|---|---|---|
Product: | UCS | Reporter: | Felix Botner <botner> |
Component: | App Center | Assignee: | Dirk Wiesenthal <wiesenthal> |
Status: | CLOSED FIXED | QA Contact: | Felix Botner <botner> |
Severity: | normal | ||
Priority: | P5 | CC: | best, wiesenthal |
Version: | UCS 4.1 | ||
Target Milestone: | UCS 4.2-2-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 7: Crash: Bug causes crash or data loss |
Who will be affected by this bug?: | 1: Will affect a very few installed domains | How will those affected feel about the bug?: | 4: A User would return the product |
User Pain: | 0.160 | 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: | updater.log |
Description
Felix Botner
2016-12-21 15:02:31 CET
Created attachment 8319 [details]
updater.log
This breaks the package status, should be fixed for 4.2 and 4.1. best solution so far remove '-o', 'APT::Status-Fd=1' from python/appcenter/actions/install_base.py _apt_get() The code exists since UCS 4.0 docker component svn r61049 Bug #38194. Fixed in univention-appcenter 6.0.10-17A~4.2.0.201710191114 Could not reproduce, though. i get now 3695 actions.upgrade 17-10-20 11:06:45 [ ERROR]: _install_packages() got multiple values for keyword argument 'update' Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/__init__.py", line 226, in call_with_namespace result = self.main(namespace) File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/upgrade.py", line 75, in main return self.do_it(args) File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/install_base.py", line 98, in do_it self._do_it(app, args) File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_upgrade.py", line 96, in _do_it return super(Upgrade, self)._do_it(app, args) File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_install.py", line 66, in _do_it ret = super(Install, self)._do_it(app, args) File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/install.py", line 88, in _do_it if self._install_app(app, args): File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_install.py", line 54, in _install_app return super(Install, self)._install_app(app, args) File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/install.py", line 161, in _install_app self._install_master_packages(app) File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/install.py", line 103, in _install_master_packages ret = self._install_packages(app.default_packages_master) File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/upgrade.py", line 99, in _install_packages super(Upgrade, self)._install_packages(packages, 0, update=update) TypeError: _install_packages() got multiple values for keyword argument 'update' 4.2-2 with an old ox app started update via ssh with -> sshpass -p univention ssh -o StrictHostKeyChecking=no root@10.200.7.150 'univention-upgrade --noninteractive --ignoressh --ignoreterm' Fixed in univention-appcenter 6.0.10-19A~4.2.0.201710201120 OK - update via ssh works OK - yaml |