On Mon, 18 Jul 2016 06:24:20 +0200 Helmut Grohne <hel...@subdivi.de> wrote: > Package: cross-config > Version: 2.6.14 > Severity: serious > User: helm...@debian.org > Usertags: rebootstrap > > Given an installation of dpkg-cross (<= 2.6.13), unpacking cross-config > fails: > > | Preparing to unpack .../cross-config_2.6.14_all.deb ... > | Unpacking cross-config (2.6.14) ... > | dpkg: error processing archive > /var/cache/apt/archives/cross-config_2.6.14_all.deb (--unpack): > | trying to overwrite '/etc/dpkg-cross/cmake/CMakeCross.txt', which is also > in package dpkg-cross 2.6.13 > > Looks like cross-config lacks: > > Breaks: dpkg-cross (<< 2.6.14) > Replaces: dpkg-cross (<< 2.6.14) > > For added fun, the moved files are conffiles so this also becomes funky > with e.g. installing an old dpkg-cross, removing but not purging it, and > installing cross-config. So I'm not sure that breaks+replaces is > sufficient.
It is sufficient. Tested in a clean chroot. Setting up libdebian-dpkgcross-perl (2.6.13) ... Setting up dpkg-cross (2.6.13) ... root@sylvester:/home# apt-get remove libdebian-dpkgcross-perl dpkg-cross ... Setting up libdebian-dpkgcross-perl (2.6.15) ... Setting up cross-config (2.6.15) ... Setting up dpkg-cross (2.6.15) ... root@sylvester:/home# also tested with just cross-config installed on removed dpkg-cross: Unpacking cross-config (2.6.15) ... Setting up cross-config (2.6.15) ... root@sylvester:/home# ii cross-config 2.6.15 all autotools support for cross-compilation rc dpkg-cross 2.6.13 all tools for cross compiling Debian packages rc libdebian-dpkgcross-perl 2.6.13 all functions to aid cross-compiling Debian packages -- Neil Williams ============= http://www.linux.codehelp.co.uk/
pgprGNroSVZDh.pgp
Description: OpenPGP digital signature