Univention Bugzilla – Bug 36525
Update breaks: ifupdown from 4.0-0 overwrites files in netbase inherited from 3.0-0
Last modified: 2014-11-26 06:55:04 CET
$ dpkg -I ucs_4.0-0/amd64/ifupdown_0.7.8.19.201403201259_amd64.deb Replaces: netbase (<< 5.0) Breaks: dhcp-client (<< 3.0), netbase (<< 5.0) ... $ dpkg -c ucs_4.0-0/amd64/ifupdown_0.7.8.19.201403201259_amd64.deb -rwxr-xr-x root/root 4322 2013-03-14 10:02 ./etc/init.d/networking ... $ dpkg -c ucs_4.0-0/all/netbase_5.0.14.201403180315_all.deb drwxr-xr-x root/root 0 2014-03-18 03:17 ./ drwxr-xr-x root/root 0 2014-03-18 03:17 ./etc/ -rw-r--r-- root/root 2933 2014-03-18 03:17 ./etc/protocols drwxr-xr-x root/root 0 2014-03-18 03:17 ./etc/network/ -rw-r--r-- root/root 887 2014-03-18 03:17 ./etc/rpc -rw-r--r-- root/root 19398 2014-03-18 03:17 ./etc/services drwxr-xr-x root/root 0 2014-03-18 03:17 ./usr/ drwxr-xr-x root/root 0 2014-03-18 03:17 ./usr/share/ drwxr-xr-x root/root 0 2014-03-18 03:17 ./usr/share/doc/ drwxr-xr-x root/root 0 2014-03-18 03:17 ./usr/share/doc/netbase/ -rw-r--r-- root/root 7508 2014-03-18 03:16 ./usr/share/doc/netbase/changelog.gz -rw-r--r-- root/root 535 2009-12-06 17:14 ./usr/share/doc/netbase/copyright But on upgrade the file is inherited from a the previous revision and they are not removed by any maintainer script: $ dpkg -c ucs_3.0-0/all/netbase_4.45.12.201104270712_all.deb ... -rwxr-xr-x root/root 2451 2010-04-19 00:52 ./etc/init.d/networking $ dpkg-deb -e ucs_4.0-0/all/netbase_5.0.14.201403180315_all.deb /tmp/xxx ; grep init /tmp/xxx/* Solution 1: Remove the " (<< 5.0)" from "Replaces: netbase" in ifupdown Solution 2: echo 'rm_conffile /etc/init.d/networking 5.0~' > debian/netbase.maintscript
r14038 | Bug #36525 netbase: Remove init script Fix netbase to remove its init script on upgrades as ifupdown is not essential. This alone doesn't work, as /etc/init.d/networking is diverted by UCR which breaks the removal. As such reverted. r14039 | Bug #36525 ifupdown: Remove init script Change the Replaces in ifupdown to unversioned. Package: netbase Version: 5.0.16.201411071848 Branch: ucs_4.0-0 Package: ifupdown Version: 0.7.8.20.201411071853 Branch: ucs_4.0-0
OK: UCS 3.2: dpkg -S /etc/init.d/networking [...] netbase: /etc/init.d/networking UCS 4.0: dpkg -S /etc/init.d/networking [...] ifupdown: /etc/init.d/networking Reopen: As this is a change compared to UCS 3 a changelog entry is required.
r55627 | Bug #36525: Yet another Debian Wheezy upgrade fallout
Verified
UCS 4.0-0 has been released: http://docs.univention.de/release-notes-4.0-0-en.html http://docs.univention.de/release-notes-4.0-0-de.html If this error occurs again, please use "Clone This Bug".