Univention Bugzilla – Bug 52813
55user_agent Python syntax error during upgrade
Last modified: 2021-03-10 15:24:57 CET
During the upgrade to UCS 5.0 I see the following error message: File: /etc/apt/apt.conf.d/55user_agent File "<stdin>", line 24 }; ''' % user_agent ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(''' Acquire { http { User-Agent "%s")?
Please cherry-pick 87f6e3d8a704f3035a1b6782fcfab34d65af9e96 if possible
Cherry-Picked git:5a9549f7f0f795678c272c9646011d088793f88f and git:87f6e3d8a704f3035a1b6782fcfab34d65af9e96 from UCS 5. Added an additional commit. univention-updater.yaml 582d9dc72eec | Bug #52813 up: Convert UCR templates to Python 3 univention-updater (14.0.3-9) 3c2c9e7fd294 | Bug #52813 up: Convert UserAgent to Python3 582d9dc72eec | Bug #52813 up: Convert UCR templates to Python 3 582c9bd9332c | Bug #52813 up: Convert UCR template to Python 3
What I tested: apt update -> OK ucr commit /etc/cron.d/univention-updater-check /etc/apt/apt.conf.d/55user_agent /etc/logrotate.d/univention-updater /etc/apt/sources.list.d/15_ucs-online-version.list /etc/apt/sources.list.d/20_ucs-online-component.list -> OK jenkins -> OK -> Verified
<https://errata.software-univention.de/#/?erratum=4.4x909>