Bug 43173

Summary: Debian-Jessie packages for UCS-4.2: Broken updates due to bug in conffile handling in dpkg
Product: UCS Reporter: Philipp Hahn <hahn>
Component: GeneralAssignee: Philipp Hahn <hahn>
Status: CLOSED FIXED QA Contact: Arvid Requate <requate>
Severity: normal    
Priority: P5 CC: gohmann, requate
Version: UCS 4.1   
Target Milestone: UCS 4.1-4-errata   
Hardware: Other   
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:    
Bug Blocks: 41965, 43184    

Description Philipp Hahn univentionstaff 2016-12-13 08:48:58 CET
(In reply to Philipp Hahn from comment #7)
> > Vorbereitung zum Ersetzen von python2.7-minimal 2.7.3-6.7.201608291252 (durch .../python2.7-minimal_2.7.9-2_amd64.deb) ...
> > Ersatz für python2.7-minimal wird entpackt ...
> ...
> > Vormals nicht ausgewähltes Paket libpython2.7-minimal:amd64 wird gewählt.
> > Unpacking libpython2.7-minimal:amd64 (from libpython2.7-minimal_2.7.9-2_amd64.deb) ...
> > dpkg: error processing libpython2.7-minimal_2.7.9-2_amd64.deb (--install):
> >  trying to overwrite '/etc/python2.7/sitecustomize.py', which is also in package python2.7-minimal 2.7.9-2
> 
> $ apt-cache show libpython2.7-minimal
> Package: libpython2.7-minimal
> Replaces: libpython2.7-stdlib (<< 2.7.8-7), python2.7 (<< 2.7.4-2),
> python2.7-minimal (<< 2.7.3-10)
> 
> $ dpkg -s python2.7-minimal 
> Package: python2.7-minimal
> Version: 2.7.9-2
> Config-Version: 2.7.3-6.7.201608291252
> 
> # dpkg-query -W -f
> '${Package}\n${Version}\n${Config-Version}\n${Conffiles}\n\n'
> python2.7-minimal libpython2.7-minimal
> libpython2.7-minimal
> ...
> python2.7-minimal
> 2.7.9-2
> 2.7.3-6.7.201608291252
>  /etc/python2.7/sitecustomize.py d6b276695157bde06a56ba1b2bc53670 obsolete
> 
> 
> This is caused by the dpkg-divert done by UCR: I files a bug against dpkg:
> <http://bugs.debian.org/837051>

+++ This bug was initially created as a clone of Bug #41965 comment 7+++
Comment 1 Philipp Hahn univentionstaff 2016-12-13 08:51:28 CET
r16987 | Bug #41965: Fix update of diverted conffile moved between packages
r75229 | Bug #43173: dpkg.yaml
Comment 2 Arvid Requate univentionstaff 2016-12-13 14:00:43 CET
Ok, the patched dpkg package works with the example provided at the Debian bug.
Advisory is ok too.
Comment 3 Janek Walkenhorst univentionstaff 2016-12-14 12:36:52 CET
<http://errata.software-univention.de/ucs/4.1/356.html>