Bug 49145

Summary: Migrate management/univention-appcenter to dh_python2
Product: UCS Reporter: Florian Best <best>
Component: GeneralAssignee: Dirk Wiesenthal <wiesenthal>
Status: CLOSED FIXED QA Contact: Daniel Tröder <troeder>
Severity: normal    
Priority: P5 CC: hahn, wiesenthal
Version: UCS 4.4   
Target Milestone: UCS 4.4-0-errata   
Hardware: All   
OS: Linux   
What kind of report is it?: Development Internal 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:
Bug Depends on: 49140, 49147, 49161    
Bug Blocks: 28497, 50425    

Description Florian Best univentionstaff 2019-03-28 10:26:17 CET
The package management/univention-appcenter should be migrated to use dh_python instead of python-support.

Migration-Guide: https://hutten.knut.univention.de/mediawiki/index.php/Python_DebHelper_Migration
Comment 1 Dirk Wiesenthal univentionstaff 2019-04-11 16:59:14 CEST
Not merged into 4.4-0 yet as we need univention-python-legacy

[dtroeder/dh-python-4.4-0 a9af74ba6b] Bug #49145 - Migrate to dh_python2
Comment 2 Dirk Wiesenthal univentionstaff 2019-04-24 12:36:18 CEST
Fixed in
  univention-appcenter 8.0.11-14A~4.4.0.201904241125

Following up [dtroeder/dh-python-4.4-0 a9af74ba6b] Bug #49145 - Migrate to dh_python2, I had to change the dependencies as the package python-univention-legacy will not be built and Breaks/Replaces was needed because two files changed ownership regarding their binary package
Comment 3 Dirk Wiesenthal univentionstaff 2019-04-30 14:55:46 CEST
Cleanup here:
  [4.4-0 89458fdc0e] Bug #49145: Migrate to dh_python2
Comment 4 Daniel Tröder univentionstaff 2019-05-15 09:53:15 CEST
OK: updates without problems:
root@m66:~# dpkg -l univention-appcenter
ii  univention-appcenter          8.0.11-8A~4.4.0.201 all                 Tools for Univention App Center

# start upgrade via UMC
# other terminal: tail -f /var/log/univention/updater.log /var/log/univention/appcenter.log
# upgrade without problems

root@m66:~# dpkg -l univention-appcenter
ii  univention-appcenter          8.0.11-19A~4.4.0.20 all                 Tools for Univention App Center

# after the package updates, appcenter-updates are checked -> no problem
# UMC requests restart and relogin, after that update module and appcenter module are fine
# command line univention-app commands work without problems

OK: apt-cache show looks fine for python-univention-appcenter, univention-appcenter, univention-management-console-module-appcenter
OK: jenkins tests
OK: advisory
Comment 5 Arvid Requate univentionstaff 2019-05-15 14:52:24 CEST
<http://errata.software-univention.de/ucs/4.4/96.html>
Comment 6 Florian Best univentionstaff 2020-07-02 11:06:02 CEST
*** Bug 45427 has been marked as a duplicate of this bug. ***