[Pkg-tcltk-devel] Bug#780439: tcl8.6: upgrade issues switching from tcl8.4/wheezy to tcl/jessie

Andreas Beckmann anbe at debian.org
Fri Mar 13 22:06:59 UTC 2015


Package: tcl8.6
Version: 8.6.2+dfsg-1
Severity: serious
Tags: patch
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

analyzing some piuparts logs in depth showed an issue with fsl being
hold at the wheezy version rather than being upgraded.

This is caused by the switch from tcl8.4 to tcl which requires removal
of the old tcl8.4 package. This seems to work well in most upgrade
paths, but unfortunately in this case the scoring resulted in a tie,
and that is resolved in favor of the already installed package.
There may be more upgrade paths involving other packages hitting this
issue ...

Adding some Breaks to libtcl8.6 (which has a slightly higher score than
tcl due to a higher number of rdepends) will help apt to resolve this
upgrade path in favor of the new tcl package.
The versions I've taken from the Breaks found in the tcl and tk
packages.


Apt problem resolver output before my patch:

[...]
  Investigating (0) gcc-4.9-base [ amd64 ] < none -> 4.9.2-10 > ( libs )
  Broken gcc-4.9-base:amd64 Breaks on gcc-4.7-base [ amd64 ] < 4.7.2-5 > ( libs ) (< 4.7.3)
    Considering gcc-4.7-base:amd64 2 as a solution to gcc-4.9-base:amd64 100
    Added gcc-4.7-base:amd64 to the remove list
    Fixing gcc-4.9-base:amd64 via remove of gcc-4.7-base:amd64
  Investigating (0) tcl [ amd64 ] < none -> 8.6.0+8 > ( interpreters )
  Broken tcl:amd64 Breaks on tcl8.4 [ amd64 ] < 8.4.19-5 > ( interpreters ) (< 8.4.20-2)
    Considering tcl8.4:amd64 1 as a solution to tcl:amd64 1
    Holding Back tcl:amd64 rather than change tcl8.4:amd64
  Investigating (0) fsl-5.0-core [ amd64 ] < none -> 5.0.7-4 > ( non-free/science )
  Broken fsl-5.0-core:amd64 Depends on tcl [ amd64 ] < none -> 8.6.0+8 > ( interpreters ) (>= 8.4.7)
    Considering tcl:amd64 1 as a solution to fsl-5.0-core:amd64 0
    Holding Back fsl-5.0-core:amd64 rather than change tcl:amd64
  Investigating (0) tk [ amd64 ] < none -> 8.6.0+8 > ( interpreters )
  Broken tk:amd64 Depends on tcl [ amd64 ] < none -> 8.6.0+8 > ( interpreters )
    Considering tcl:amd64 1 as a solution to tk:amd64 0
    Holding Back tk:amd64 rather than change tcl:amd64
  Investigating (1) fsl-core [ amd64 ] < none -> 5.0.7-4 > ( non-free/science )
  Broken fsl-core:amd64 Depends on fsl-5.0-core [ amd64 ] < none -> 5.0.7-4 > ( non-free/science )
    Considering fsl-5.0-core:amd64 0 as a solution to fsl-core:amd64 0
    Holding Back fsl-core:amd64 rather than change fsl-5.0-core:amd64
  Investigating (1) fsl [ amd64 ] < 4.1.9-7 -> 5.0.7-4 > ( non-free/science )
  Broken fsl:amd64 Depends on fsl-core [ amd64 ] < none -> 5.0.7-4 > ( non-free/science )
    Considering fsl-core:amd64 0 as a solution to fsl:amd64 0
    Holding Back fsl:amd64 rather than change fsl-core:amd64
   Try to Re-Instate (2) fsl:amd64
  Done
  The following packages will be REMOVED:
    gcc-4.7-base
  The following NEW packages will be installed:
[...]
  The following packages have been kept back:
    fsl
  The following packages will be upgraded:
[...]


Apt problem resolver output after applying my patch:

[...]
  Investigating (0) gcc-4.9-base [ amd64 ] < none -> 4.9.2-10 > ( libs )
  Broken gcc-4.9-base:amd64 Breaks on gcc-4.7-base [ amd64 ] < 4.7.2-5 > ( libs ) (< 4.7.3)
    Considering gcc-4.7-base:amd64 2 as a solution to gcc-4.9-base:amd64 100
    Added gcc-4.7-base:amd64 to the remove list
    Fixing gcc-4.9-base:amd64 via remove of gcc-4.7-base:amd64
  Investigating (0) libtcl8.6 [ amd64 ] < none -> 8.6.2+dfsg-1.1 > ( libs )
  Broken libtcl8.6:amd64 Breaks on tcl8.4 [ amd64 ] < 8.4.19-5 > ( interpreters ) (< 8.4.20-2)
    Considering tcl8.4:amd64 1 as a solution to libtcl8.6:amd64 2
    Added tcl8.4:amd64 to the remove list
  Broken libtcl8.6:amd64 Breaks on tk8.4 [ amd64 ] < 8.4.19-5 > ( libs ) (< 8.4.20-2)
    Considering tk8.4:amd64 0 as a solution to libtcl8.6:amd64 2
    Added tk8.4:amd64 to the remove list
    Fixing libtcl8.6:amd64 via remove of tcl8.4:amd64
    Fixing libtcl8.6:amd64 via remove of tk8.4:amd64
  Investigating (0) fsl-4.1 [ amd64 ] < 4.1.9-7 > ( non-free/science )
  Broken fsl-4.1:amd64 Depends on tk8.4 [ amd64 ] < 8.4.19-5 > ( libs ) (>= 8.4.7)
    Considering tk8.4:amd64 0 as a solution to fsl-4.1:amd64 -1
    Removing fsl-4.1:amd64 rather than change tk8.4:amd64
  Done
  The following packages will be REMOVED:
    fsl-4.1 gcc-4.7-base tcl8.4 tk8.4
  The following NEW packages will be installed:
[...]
  The following packages will be upgraded:
[...]


A tested patch for tcl8.6 is attached, I do *not* intend to NMU it.


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fsl_5.0.7-4.log.gz
Type: application/gzip
Size: 79080 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-tcltk-devel/attachments/20150313/bd31d770/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tcl8.6_8.6.2+dfsg-1.1.dsc.diff
Type: text/x-diff
Size: 1098 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-tcltk-devel/attachments/20150313/bd31d770/attachment-0001.diff>


More information about the Pkg-tcltk-devel mailing list