Package: fpc Version: 2.6.4+dfsg-4 Severity: serious Tags: patch User: debian...@lists.debian.org Usertags: piuparts
Hi, during a test with piuparts I noticed your package prevents binutils from being upgraded automatically. It installed fine in 'wheezy', but during the upgrade to 'jessie' apt prefers to keep the obsolete fp-compiler-2.6.0 installed and holds back the wheezy version of binutils. fp-compiler-2.6.0 has Breaks: binutils-gold, but in jessie binutils-gold is a virtual package provided by binutils. fp-compiler-2.6.4 no longer "cares" about binutils-gold. >From the attached log (scroll to the bottom...): 20 fp-units-rtl-2.6.0 [ amd64 ] < 2.6.0-9 > ( devel ) 20 fp-units-rtl-2.6.4 [ amd64 ] < none -> 2.6.4+dfsg-4 > ( devel ) 15 fp-compiler-2.6.0 [ amd64 ] < 2.6.0-9 > ( devel ) 15 fp-compiler-2.6.4 [ amd64 ] < none -> 2.6.4+dfsg-4 > ( devel ) 4 binutils [ amd64 ] < 2.22-8 -> 2.24.90.20141023-1 > ( devel ) -1 fpc-2.6.0 [ amd64 ] < 2.6.0-9 > ( devel ) Starting 2 Investigating (0) fp-compiler-2.6.0 [ amd64 ] < 2.6.0-9 > ( devel ) Broken fp-compiler-2.6.0:amd64 Conflicts on binutils-gold [ amd64 ] < none > ( none ) Considering binutils:amd64 4 as a solution to fp-compiler-2.6.0:amd64 15 Added binutils:amd64 to the remove list Fixing fp-compiler-2.6.0:amd64 via keep of binutils:amd64 Try to Re-Instate (0) binutils:amd64 Done The following NEW packages will be installed: [...] The following packages have been kept back: binutils The following packages will be upgraded: [...] 239 upgraded, 108 newly installed, 0 to remove and 1 not upgraded. Adding the Breaks to fp-units-rtl-2.6.4 is sufficient since it has a higher score than fp-compiler-2.6.0 (20 vs. 15). In all my piuparts upgrade tests with the changes from the attached patch binutils was always upgraded. cheers, Andreas
diff -Nru fpc-2.6.4+dfsg/debian/changelog fpc-2.6.4+dfsg/debian/changelog --- fpc-2.6.4+dfsg/debian/changelog 2014-10-13 21:19:22.000000000 +0200 +++ fpc-2.6.4+dfsg/debian/changelog 2015-02-04 05:35:57.000000000 +0100 @@ -1,3 +1,10 @@ +fpc (2.6.4+dfsg-5) UNRELEASED; urgency=medium + + * fp-units-rtl-2.6.4: Add Breaks: fp-compiler-2.6.0 which otherwise would + prevent upgrading binutils. (Closes: #xxxxxx) + + -- Andreas Beckmann <a...@debian.org> Wed, 04 Feb 2015 05:35:25 +0100 + fpc (2.6.4+dfsg-4) unstable; urgency=low * Let "Select manually" be translatable in debconf questions and update diff -Nru fpc-2.6.4+dfsg/debian/control fpc-2.6.4+dfsg/debian/control --- fpc-2.6.4+dfsg/debian/control 2014-09-27 19:36:19.000000000 +0200 +++ fpc-2.6.4+dfsg/debian/control 2015-01-29 04:44:28.000000000 +0100 @@ -149,7 +149,7 @@ Depends: ${misc:Depends} Recommends: fp-compiler-2.6.4 (= ${binary:Version}) Provides: fp-units-rtl, fpc-abi-2.6.4 -Breaks: fp-units-rtl (<= 2.4.0-3) +Breaks: fp-units-rtl (<= 2.4.0-3), fp-compiler-2.6.0 Replaces: fp-units-rtl (<= 2.4.0-3) Description: Free Pascal - runtime libraries The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi diff -Nru fpc-2.6.4+dfsg/debian/control.in fpc-2.6.4+dfsg/debian/control.in --- fpc-2.6.4+dfsg/debian/control.in 2014-09-27 19:36:01.000000000 +0200 +++ fpc-2.6.4+dfsg/debian/control.in 2015-01-29 04:44:20.000000000 +0100 @@ -149,7 +149,7 @@ Depends: ${misc:Depends} Recommends: fp-compiler${PACKAGESUFFIX} (= ${binary:Version}) Provides: fp-units-rtl, fpc-abi${PACKAGESUFFIX} -Breaks: fp-units-rtl (<= 2.4.0-3) +Breaks: fp-units-rtl (<= 2.4.0-3), fp-compiler-2.6.0 Replaces: fp-units-rtl (<= 2.4.0-3) Description: Free Pascal - runtime libraries The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi
fpc_2.6.4+dfsg-4.log.gz
Description: application/gzip