[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#831641: cross-config: missing breaks+replaces for dpkg-cross 2.6.13



Package: cross-config
Version: 2.6.14
Severity: serious
User: helmutg@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. The apache2.4 transition has been a lot of fun in this
regard.

Helmut


Reply to: