[Pkg-tcltk-devel] Bug#720464: lib{tcl, tk}-dev: fails to upgrade from 'sid' - trying to overwrite /usr/lib/tkConfig.sh /usr/share/man/man1/tcltk-depends.1.gz

Andreas Beckmann anbe at debian.org
Thu Aug 22 09:56:58 UTC 2013


Package: libtk-dev,libtcl-dev
Version: 8.6.0+3
Severity: serious
User: debian-qa at 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
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

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

  Selecting previously unselected package tcl8.6.
  Unpacking tcl8.6 (from .../tcl8.6_8.6.0-4_amd64.deb) ...
  Selecting previously unselected package libtcl8.6-dev:amd64.
  Unpacking libtcl8.6-dev:amd64 (from .../libtcl8.6-dev_8.6.0-4_amd64.deb) ...
  Selecting previously unselected package libtcl-dev:amd64.
  Unpacking libtcl-dev:amd64 (from .../libtcl-dev_8.6.0+3_amd64.deb) ...
  dpkg: error processing /var/cache/apt/archives/libtcl-dev_8.6.0+3_amd64.deb (--unpack):
   trying to overwrite '/usr/share/man/man1/tcltk-depends.1.gz', which is also in package tcl-dev 8.5.0-2.1
  Selecting previously unselected package libxt-dev:amd64.
  Unpacking libxt-dev:amd64 (from .../libxt-dev_1%3a1.1.4-1_amd64.deb) ...
  Selecting previously unselected package tk8.6.
  Unpacking tk8.6 (from .../tk8.6_8.6.0-4_amd64.deb) ...
  Selecting previously unselected package libtk8.6-dev:amd64.
  Unpacking libtk8.6-dev:amd64 (from .../libtk8.6-dev_8.6.0-4_amd64.deb) ...
  Selecting previously unselected package libtk-dev:amd64.
  Unpacking libtk-dev:amd64 (from .../libtk-dev_8.6.0+3_amd64.deb) ...
  dpkg: error processing /var/cache/apt/archives/libtk-dev_8.6.0+3_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/tkConfig.sh', which is also in package tk-dev 8.5.0-2.1
  Preparing to replace tk-dev 8.5.0-2.1 (using .../tk-dev_8.6.0+3_amd64.deb) ...
  Unpacking replacement tk-dev:amd64 ...
  Errors were encountered while processing:
   /var/cache/apt/archives/libtcl-dev_8.6.0+3_amd64.deb
   /var/cache/apt/archives/libtk-dev_8.6.0+3_amd64.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tk-dev_8.6.0+3.log.gz
Type: application/x-gzip
Size: 12628 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-tcltk-devel/attachments/20130822/66d416e4/attachment.bin>


More information about the Pkg-tcltk-devel mailing list