Package: tcl8.6 Version: 8.6.2+dfsg-1 Severity: serious Tags: patch User: debian...@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
fsl_5.0.7-4.log.gz
Description: application/gzip
diff -Nru tcl8.6-8.6.2+dfsg/debian/changelog tcl8.6-8.6.2+dfsg/debian/changelog --- tcl8.6-8.6.2+dfsg/debian/changelog 2014-08-27 21:02:13.000000000 +0200 +++ tcl8.6-8.6.2+dfsg/debian/changelog 2015-03-13 21:25:52.000000000 +0100 @@ -1,3 +1,10 @@ +tcl8.6 (8.6.2+dfsg-1.1) UNRELEASED; urgency=medium + + * libtcl8.6: Add Breaks: tcl8.4 (<< 8.4.20-2), tk8.4 (<< 8.4.20-2) to + smoothen some upgrade paths from wheezy to jessie. (Closes: #xxxxxx) + + -- Andreas Beckmann <a...@debian.org> Fri, 13 Mar 2015 21:25:10 +0100 + tcl8.6 (8.6.2+dfsg-1) unstable; urgency=low * New upstream release. diff -Nru tcl8.6-8.6.2+dfsg/debian/control tcl8.6-8.6.2+dfsg/debian/control --- tcl8.6-8.6.2+dfsg/debian/control 2014-03-08 05:55:43.000000000 +0100 +++ tcl8.6-8.6.2+dfsg/debian/control 2015-03-13 21:26:23.000000000 +0100 @@ -26,6 +26,7 @@ Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: tzdata, ${shlibs:Depends}, ${misc:Depends} +Breaks: tcl8.4 (<< 8.4.20-2), tk8.4 (<< 8.4.20-2) Conflicts: tcl8.6 (<< 8.6.0-2), tcl74 (<= 7.4p3-2) Replaces: tcl8.6 (<< 8.6.0-2) Suggests: tcl8.6