Bug#1034986: xmorph: missing Breaks+Replaces for libmorph when upgrading from bullseye

Andreas Metzler ametzler at bebt.de
Sat Apr 29 17:43:02 BST 2023


On 2023-04-27 Helmut Grohne <helmut at subdivi.de> wrote:
> Package: xmorph
> Version: 1:20150712-1
> Severity: serious
> Justification: dpkg unpack error

> Attempting to unpack xmorph/1:20150712-1 from Debian bookworm
> on a minimal Debian bullseye with libmorph/1:20140707+nmu2.1
> installed, causes an unpack error from dpkg due to
> /usr/share/man/man1/morph.1.gz being contained in both packages.

> | Selecting previously unselected package xmorph.
> | (Reading database ... 4692 files and directories currently installed.)
> | Preparing to unpack .../xmorph_1%3a20150712-1_amd64.deb ...
> | Unpacking xmorph (1:20150712-1) ...
> | dpkg: error processing archive ./xmorph_1%3a20150712-1_amd64.deb (--unpack):
> |  trying to overwrite '/usr/share/man/man1/morph.1.gz', which is also in package libmorph 1:20140707+nmu2.1
> | Errors were encountered while processing:
> |  ./xmorph_1%3a20150712-1_amd64.deb
[...]

Trivial patch:
--- a/debian/control
+++ b/debian/control
@@ -38,6 +38,8 @@ Architecture: any
 Depends: ${misc:Depends},
          ${shlibs:Depends}
 Suggests: imagemagick | netpbm | xmorph-example
+Breaks: libmorph (<< 1:20150712-1~)
+Replaces: libmorph (<< 1:20150712-1~)
 Description: digital image warp and morph (x11)

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the Pkg-phototools-devel mailing list