[Pkg-tcltk-devel] Bug#892710: {tcl, tk}-i{tcl, tk}4-{dev, doc}: missing Conflicts: i{tcl, tk}-{dev, doc}

Andreas Beckmann anbe at debian.org
Mon Mar 12 05:49:32 UTC 2018


Package: tcl-itcl4-dev,tcl-itcl4-doc,tk-itk4-doc,tk-itk4-dev
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts
Control: found -1 4.1.0-1
Control: found -1 4.1.1-1

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'testing'.
It installed fine in 'testing', then the upgrade to 'sid' 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/#overwriting-files-and-replacing-packages-replaces

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

  Selecting previously unselected package tcl-itcl4-dev:amd64.
  Preparing to unpack .../tcl-itcl4-dev_4.1.1-1_amd64.deb ...
  Unpacking tcl-itcl4-dev:amd64 (4.1.1-1) ...
  dpkg: error processing archive /var/cache/apt/archives/tcl-itcl4-dev_4.1.1-1_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/x86_64-linux-gnu/itclConfig.sh', which is also in package itcl3-dev:amd64 3.4.3-2
  Errors were encountered while processing:
   /var/cache/apt/archives/tcl-itcl4-dev_4.1.1-1_amd64.deb

  Selecting previously unselected package tcl-itcl4-doc.
  Preparing to unpack .../tcl-itcl4-doc_4.1.1-1_all.deb ...
  Unpacking tcl-itcl4-doc (4.1.1-1) ...
  dpkg: error processing archive /var/cache/apt/archives/tcl-itcl4-doc_4.1.1-1_all.deb (--unpack):
   trying to overwrite '/usr/share/man/man3/body.3itcl.gz', which is also in package itcl3-doc 3.4.3-2
  Errors were encountered while processing:
   /var/cache/apt/archives/tcl-itcl4-doc_4.1.1-1_all.deb

  Selecting previously unselected package tcl-itcl4-dev:amd64.
  Preparing to unpack .../3-tcl-itcl4-dev_4.1.1-1_amd64.deb ...
  Unpacking tcl-itcl4-dev:amd64 (4.1.1-1) ...
  dpkg: error processing archive /tmp/apt-dpkg-install-u8Krl5/3-tcl-itcl4-dev_4.1.1-1_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/x86_64-linux-gnu/itclConfig.sh', which is also in package itcl3-dev:amd64 3.4.3-2
  Selecting previously unselected package tk-itk4:amd64.
  Preparing to unpack .../4-tk-itk4_4.1.0-1_amd64.deb ...
  Unpacking tk-itk4:amd64 (4.1.0-1) ...
  Selecting previously unselected package tk-itk4-dev:amd64.
  Preparing to unpack .../5-tk-itk4-dev_4.1.0-1_amd64.deb ...
  Unpacking tk-itk4-dev:amd64 (4.1.0-1) ...
  dpkg: error processing archive /tmp/apt-dpkg-install-u8Krl5/5-tk-itk4-dev_4.1.0-1_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/x86_64-linux-gnu/itkConfig.sh', which is also in package itk3-dev:amd64 3.4.2-2
  Errors were encountered while processing:
   /tmp/apt-dpkg-install-u8Krl5/3-tcl-itcl4-dev_4.1.1-1_amd64.deb
   /tmp/apt-dpkg-install-u8Krl5/5-tk-itk4-dev_4.1.0-1_amd64.deb

  Selecting previously unselected package tk-itk4-doc.
  Preparing to unpack .../tk-itk4-doc_4.1.0-1_all.deb ...
  Unpacking tk-itk4-doc (4.1.0-1) ...
  dpkg: error processing archive /var/cache/apt/archives/tk-itk4-doc_4.1.0-1_all.deb (--unpack):
   trying to overwrite '/usr/share/man/man3/Archetype.3itk.gz', which is also in package itk3-doc 3.4.2-2
  Errors were encountered while processing:
   /var/cache/apt/archives/tk-itk4-doc_4.1.0-1_all.deb

The new packages also need a Conflicts against the old virtual package
names (i{tcl,tk}-*) used in stretch and buster to ensure clean upgrade paths.


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itcl3-dev=3.4.3-2_tcl-itcl4-dev=4.1.1-1.log.gz
Type: application/gzip
Size: 11595 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-tcltk-devel/attachments/20180312/9e8258e3/attachment-0001.bin>


More information about the Pkg-tcltk-devel mailing list