Discussion:
Bug#940491: libmeep16: missing Breaks+Replaces: libmeep12
Add Reply
Andreas Beckmann
2019-09-16 12:30:01 UTC
Reply
Permalink
Package: libmeep16
Version: 1.11.0-1
Severity: serious
User: debian-***@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'sid' to 'experimental'.
It installed fine in 'sid', then the upgrade to 'experimental' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.

See policy 7.6 at
https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-and-replacing-packages-replaces

From the attached log (scroll to the bottom...):

Preparing to unpack .../libmeep16_1.11.0-1_amd64.deb ...
Unpacking libmeep16 (1.11.0-1) ...
dpkg: error processing archive /var/cache/apt/archives/libmeep16_1.11.0-1_amd64.deb (--unpack):
trying to overwrite '/usr/share/meep/casimir.scm', which is also in package libmeep12 1.7.0-3+b1
Errors were encountered while processing:
/var/cache/apt/archives/libmeep16_1.11.0-1_amd64.deb


cheers,

Andreas
Andreas Beckmann
2019-10-09 15:30:02 UTC
Reply
Permalink
Followup-For: Bug #940491
Control: found -1 1.11.0-2

Hi,

this seems to be more complicated and requires more B+R, since
/usr/share/meep/casimir.scm was shipped by multiple packages:

Unpacking libmeep16 (1.11.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/libmeep16_1.11.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/share/meep/casimir.scm', which is also in package libmeep-lam4-12 1.7.0-3+b1

Unpacking libmeep16 (1.11.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/libmeep16_1.11.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/share/meep/casimir.scm', which is also in package libmeep-mpi-default12 1.7.0-3+b1

Unpacking libmeep16 (1.11.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/libmeep16_1.11.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/share/meep/casimir.scm', which is also in package libmeep-mpich2-12 1.7.0-3+b1

Unpacking libmeep16 (1.11.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/libmeep16_1.11.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/share/meep/casimir.scm', which is also in package libmeep-openmpi12 1.7.0-3+b1

and other files in other packages, too:

Unpacking meep (1.11.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/meep_1.11.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/bin/meep', which is also in package meep-lam4 1.7.0-3+b1

Unpacking meep (1.11.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/meep_1.11.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/bin/meep', which is also in package meep-mpi-default 1.7.0-3+b1

Unpacking meep (1.11.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/meep_1.11.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/bin/meep', which is also in package meep-mpich2 1.7.0-3+b1

Unpacking meep (1.11.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/meep_1.11.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/bin/meep', which is also in package meep-openmpi 1.7.0-3+b1

Unpacking python-meep (1.11.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/python-meep_1.11.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python2.7/dist-packages/meep/__init__.py', which is also in package python-meep-lam4 1.7.0-3+b1

Unpacking python-meep (1.11.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/python-meep_1.11.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python2.7/dist-packages/meep/__init__.py', which is also in package python-meep-mpi-default 1.7.0-3+b1

Unpacking python-meep (1.11.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/python-meep_1.11.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python2.7/dist-packages/meep/__init__.py', which is also in package python-meep-mpich2 1.7.0-3+b1

Unpacking python-meep (1.11.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/python-meep_1.11.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python2.7/dist-packages/meep/__init__.py', which is also in package python-meep-openmpi 1.7.0-3+b1


Andreas

Loading...