Univention Bugzilla – Bug 43173
Debian-Jessie packages for UCS-4.2: Broken updates due to bug in conffile handling in dpkg
Last modified: 2016-12-15 12:46:21 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+++
r16987 | Bug #41965: Fix update of diverted conffile moved between packages r75229 | Bug #43173: dpkg.yaml
Ok, the patched dpkg package works with the example provided at the Debian bug. Advisory is ok too.
<http://errata.software-univention.de/ucs/4.1/356.html>