Your message dated Fri, 19 May 2023 07:51:21 +0000
with message-id <e1pzutv-007iuy...@fasolo.debian.org>
and subject line Bug#1036070: fixed in boost1.74 1.74.0+ds1-21
has caused the Debian Bug report #1036070,
regarding libboost-thread1.74.0: please add Breaks against 
libboost-regex1.74.0-icu67
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1036070: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1036070
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libboost-thread1.74.0
Version: 1.74.0+ds1-20
Severity: serious
Tags: patch
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

while analyzing piuparts bullseye->bookworm upgrade logs, I noticed
several cases where apt has problems upgrading libboost-regex1.74.0
because obsolete packages depending on the virtual package
libboost-regex1.74.0-icu67 make apt keep the old version installed.
The new version provides libboost-regex1.74.0-icu72, but the score
between the two virtual ones is usually a tie, favoring the installed
one.

While there is no direct dependency relationship between
libboost-regex1.74.0 and libboost-thread1.74.0, in all cases I looked
into libboost-thread1.74.0 was installed, too, and had a higher score,
thus making it an ideal candidate for adding some Breaks.

One prominent example is wesnoth which fails to upgrade:

...
  Starting 2 pkgProblemResolver with broken count: 2
  Investigating (0) wesnoth-1.14-core:amd64 < 1:1.14.15-1 @ii mK Ib >
  Broken wesnoth-1.14-core:amd64 Depends on libboost-regex1.74.0-icu67:amd64 < 
none @un H >
    Considering libboost-regex1.74.0:amd64 1 as a solution to 
wesnoth-1.14-core:amd64 34
    Added libboost-regex1.74.0:amd64 to the remove list
    Fixing wesnoth-1.14-core:amd64 via keep of libboost-regex1.74.0:amd64
  Investigating (0) wesnoth-1.16-core:amd64 < none -> 1:1.16.9-1 @un uN Ib >
  Broken wesnoth-1.16-core:amd64 Depends on libboost-regex1.74.0-icu72:amd64 < 
none @un H >
    Considering libboost-regex1.74.0:amd64 1 as a solution to 
wesnoth-1.16-core:amd64 33
    Holding Back wesnoth-1.16-core:amd64 rather than change 
libboost-regex1.74.0-icu72:amd64
   Try to Re-Instate (0) libboost-regex1.74.0:amd64
  Investigating (0) wesnoth-1.16-utbs:amd64 < none -> 1:1.16.9-1 @un uN Ib >
  Broken wesnoth-1.16-utbs:amd64 Depends on wesnoth-1.16-core:amd64 < none | 
1:1.16.9-1 @un uH > (>= 1:1.16)
    Considering wesnoth-1.16-core:amd64 33 as a solution to 
wesnoth-1.16-utbs:amd64 0
    Holding Back wesnoth-1.16-utbs:amd64 rather than change 
wesnoth-1.16-core:amd64
  Investigating (0) wesnoth-1.16-trow:amd64 < none -> 1:1.16.9-1 @un uN Ib >
  Broken wesnoth-1.16-trow:amd64 Depends on wesnoth-1.16-core:amd64 < none | 
1:1.16.9-1 @un uH > (>= 1:1.16)
    Considering wesnoth-1.16-core:amd64 33 as a solution to 
wesnoth-1.16-trow:amd64 0
    Holding Back wesnoth-1.16-trow:amd64 rather than change 
wesnoth-1.16-core:amd64
  Investigating (0) wesnoth-1.16-dw:amd64 < none -> 1:1.16.9-1 @un uN Ib >
  Broken wesnoth-1.16-dw:amd64 Depends on wesnoth-1.16-core:amd64 < none | 
1:1.16.9-1 @un uH > (>= 1:1.16)
    Considering wesnoth-1.16-core:amd64 33 as a solution to 
wesnoth-1.16-dw:amd64 0
    Holding Back wesnoth-1.16-dw:amd64 rather than change 
wesnoth-1.16-core:amd64
  Investigating (0) wesnoth-1.16-dm:amd64 < none -> 1:1.16.9-1 @un uN Ib >
  Broken wesnoth-1.16-dm:amd64 Depends on wesnoth-1.16-core:amd64 < none | 
1:1.16.9-1 @un uH > (>= 1:1.16)
    Considering wesnoth-1.16-core:amd64 33 as a solution to 
wesnoth-1.16-dm:amd64 0
    Holding Back wesnoth-1.16-dm:amd64 rather than change 
wesnoth-1.16-core:amd64
  Investigating (0) wesnoth-1.16-sof:amd64 < none -> 1:1.16.9-1 @un uN Ib >
  Broken wesnoth-1.16-sof:amd64 Depends on wesnoth-1.16-core:amd64 < none | 
1:1.16.9-1 @un uH > (>= 1:1.16)
    Considering wesnoth-1.16-core:amd64 33 as a solution to 
wesnoth-1.16-sof:amd64 0
    Holding Back wesnoth-1.16-sof:amd64 rather than change 
wesnoth-1.16-core:amd64
  Investigating (0) wesnoth-1.16-ei:amd64 < none -> 1:1.16.9-1 @un uN Ib >
  Broken wesnoth-1.16-ei:amd64 Depends on wesnoth-1.16-core:amd64 < none | 
1:1.16.9-1 @un uH > (>= 1:1.16)
    Considering wesnoth-1.16-core:amd64 33 as a solution to 
wesnoth-1.16-ei:amd64 0
    Holding Back wesnoth-1.16-ei:amd64 rather than change 
wesnoth-1.16-core:amd64
  Investigating (0) wesnoth-1.16-nr:amd64 < none -> 1:1.16.9-1 @un uN Ib >
  Broken wesnoth-1.16-nr:amd64 Depends on wesnoth-1.16-core:amd64 < none | 
1:1.16.9-1 @un uH > (>= 1:1.16)
    Considering wesnoth-1.16-core:amd64 33 as a solution to 
wesnoth-1.16-nr:amd64 0
    Holding Back wesnoth-1.16-nr:amd64 rather than change 
wesnoth-1.16-core:amd64
  Investigating (0) wesnoth-1.16-tsg:amd64 < none -> 1:1.16.9-1 @un uN Ib >
  Broken wesnoth-1.16-tsg:amd64 Depends on wesnoth-1.16-core:amd64 < none | 
1:1.16.9-1 @un uH > (>= 1:1.16)
    Considering wesnoth-1.16-core:amd64 33 as a solution to 
wesnoth-1.16-tsg:amd64 0
    Holding Back wesnoth-1.16-tsg:amd64 rather than change 
wesnoth-1.16-core:amd64
  Investigating (0) wesnoth-1.16-ttb:amd64 < none -> 1:1.16.9-1 @un uN Ib >
  Broken wesnoth-1.16-ttb:amd64 Depends on wesnoth-1.16-core:amd64 < none | 
1:1.16.9-1 @un uH > (>= 1:1.16)
    Considering wesnoth-1.16-core:amd64 33 as a solution to 
wesnoth-1.16-ttb:amd64 0
    Holding Back wesnoth-1.16-ttb:amd64 rather than change 
wesnoth-1.16-core:amd64
  Investigating (0) wesnoth-1.16-sotbe:amd64 < none -> 1:1.16.9-1 @un uN Ib >
  Broken wesnoth-1.16-sotbe:amd64 Depends on wesnoth-1.16-core:amd64 < none | 
1:1.16.9-1 @un uH > (>= 1:1.16)
    Considering wesnoth-1.16-core:amd64 33 as a solution to 
wesnoth-1.16-sotbe:amd64 0
    Holding Back wesnoth-1.16-sotbe:amd64 rather than change 
wesnoth-1.16-core:amd64
  Investigating (0) wesnoth-1.16-did:amd64 < none -> 1:1.16.9-1 @un uN Ib >
  Broken wesnoth-1.16-did:amd64 Depends on wesnoth-1.16-core:amd64 < none | 
1:1.16.9-1 @un uH > (>= 1:1.16)
    Considering wesnoth-1.16-core:amd64 33 as a solution to 
wesnoth-1.16-did:amd64 0
    Holding Back wesnoth-1.16-did:amd64 rather than change 
wesnoth-1.16-core:amd64
  Investigating (0) wesnoth-1.16-low:amd64 < none -> 1:1.16.9-1 @un uN Ib >
  Broken wesnoth-1.16-low:amd64 Depends on wesnoth-1.16-core:amd64 < none | 
1:1.16.9-1 @un uH > (>= 1:1.16)
    Considering wesnoth-1.16-core:amd64 33 as a solution to 
wesnoth-1.16-low:amd64 0
    Holding Back wesnoth-1.16-low:amd64 rather than change 
wesnoth-1.16-core:amd64
  Investigating (0) wesnoth-1.16:amd64 < none -> 1:1.16.9-1 @un uN Ib >
  Broken wesnoth-1.16:amd64 Depends on wesnoth-1.16-core:amd64 < none | 
1:1.16.9-1 @un uH > (>= 1:1.16.9-1)
    Considering wesnoth-1.16-core:amd64 33 as a solution to wesnoth-1.16:amd64 0
    Holding Back wesnoth-1.16:amd64 rather than change wesnoth-1.16-core:amd64
  Investigating (0) wesnoth-1.16-l:amd64 < none -> 1:1.16.9-1 @un uN Ib >
  Broken wesnoth-1.16-l:amd64 Depends on wesnoth-1.16-core:amd64 < none | 
1:1.16.9-1 @un uH > (>= 1:1.16)
    Considering wesnoth-1.16-core:amd64 33 as a solution to 
wesnoth-1.16-l:amd64 0
    Holding Back wesnoth-1.16-l:amd64 rather than change wesnoth-1.16-core:amd64
  Investigating (0) wesnoth-1.16-thot:amd64 < none -> 1:1.16.9-1 @un uN Ib >
  Broken wesnoth-1.16-thot:amd64 Depends on wesnoth-1.16-core:amd64 < none | 
1:1.16.9-1 @un uH > (>= 1:1.16)
    Considering wesnoth-1.16-core:amd64 33 as a solution to 
wesnoth-1.16-thot:amd64 0
    Holding Back wesnoth-1.16-thot:amd64 rather than change 
wesnoth-1.16-core:amd64
  Investigating (0) wesnoth-1.16-httt:amd64 < none -> 1:1.16.9-1 @un uN Ib >
  Broken wesnoth-1.16-httt:amd64 Depends on wesnoth-1.16-core:amd64 < none | 
1:1.16.9-1 @un uH > (>= 1:1.16)
    Considering wesnoth-1.16-core:amd64 33 as a solution to 
wesnoth-1.16-httt:amd64 0
    Holding Back wesnoth-1.16-httt:amd64 rather than change 
wesnoth-1.16-core:amd64
  Investigating (0) wesnoth-1.16-sota:amd64 < none -> 1:1.16.9-1 @un uN Ib >
  Broken wesnoth-1.16-sota:amd64 Depends on wesnoth-1.16-core:amd64 < none | 
1:1.16.9-1 @un uH > (>= 1:1.16)
    Considering wesnoth-1.16-core:amd64 33 as a solution to 
wesnoth-1.16-sota:amd64 0
    Holding Back wesnoth-1.16-sota:amd64 rather than change 
wesnoth-1.16-core:amd64
  Investigating (0) libsemanage1:amd64 < 3.1-1+b2 @ii mK Ib >
  Broken libsemanage1:amd64 Depends on libsemanage-common:amd64 < 3.1-1 -> 
3.4-1 @ii umU > (= 3.1-1)
    Considering libsemanage-common:amd64 1 as a solution to libsemanage1:amd64 
-2
    Removing libsemanage1:amd64 rather than change libsemanage-common:amd64
  Investigating (1) wesnoth:amd64 < 1:1.14.15-1 -> 1:1.16.9-1 @ii umU Ib >
  Broken wesnoth:amd64 Depends on wesnoth-1.16:amd64 < none | 1:1.16.9-1 @un uH 
> (>= 1:1.16.9-1)
    Considering wesnoth-1.16:amd64 0 as a solution to wesnoth:amd64 0
    Holding Back wesnoth:amd64 rather than change wesnoth-1.16:amd64
   Try to Re-Instate (2) wesnoth:amd64
  Done
  
  The following packages were automatically installed and are no longer 
required:
    libflac8 libfluidsynth2 libtiff5 libwebp6 libwrap0 libxinerama1 libxxf86vm1
    ucf
  Use 'sudo apt autoremove' to remove them.
  The following packages will be REMOVED:
    libsemanage1
  The following NEW packages will be installed:
    gcc-12-base libcap2 libdecor-0-0 libffi8 libfile-find-rule-perl libflac12
    libfluidsynth3 libgdbm-compat4 libgdbm6 libgomp1 libicu72 liblerc4
    libmp3lame0 libnumber-compare-perl libperl5.36 libsemanage2 libsepol2
    libssl3 libtext-glob-perl libtiff6 libwebp7 libx11-xcb1 perl
    perl-modules-5.36 usrmerge util-linux-extra
  The following packages have been kept back:
    libboost-regex1.74.0 wesnoth
  The following packages will be upgraded:
...

While with the Breaks in place, apt finally decides to remove all the
wesnoth-1.14-* packages to allow wesnoth-1.16-* to be installed:

...
  Investigating (3) libboost-thread1.74.0:amd64 < 1.74.0-9 -> 
1.74.0+ds1-20.1~deb12anbe1 @ii umU Ib >
  Broken libboost-thread1.74.0:amd64 Breaks on libboost-regex1.74.0-icu67:amd64 
< none @un H >
    Considering libboost-regex1.74.0:amd64 34 as a solution to 
libboost-thread1.74.0:amd64 38
    Upgrading libboost-regex1.74.0:amd64 due to Breaks field in 
libboost-thread1.74.0:amd64
  Investigating (3) wesnoth-1.14-core:amd64 < 1:1.14.15-1 @ii mK Ib >
  Broken wesnoth-1.14-core:amd64 Depends on libboost-regex1.74.0-icu67:amd64 < 
none @un H >
    Considering libboost-regex1.74.0:amd64 34 as a solution to 
wesnoth-1.14-core:amd64 34
    Removing wesnoth-1.14-core:amd64 rather than change 
libboost-regex1.74.0-icu67:amd64
  Investigating (3) wesnoth-1.14-sota:amd64 < 1:1.14.15-1 @ii mK Ib >
  Broken wesnoth-1.14-sota:amd64 Depends on wesnoth-1.14-core:amd64 < 
1:1.14.15-1 @ii mR > (>= 1:1.14)
    Considering wesnoth-1.14-core:amd64 34 as a solution to 
wesnoth-1.14-sota:amd64 -1
    Removing wesnoth-1.14-sota:amd64 rather than change wesnoth-1.14-core:amd64
  Investigating (3) wesnoth-1.14-low:amd64 < 1:1.14.15-1 @ii mK Ib >
  Broken wesnoth-1.14-low:amd64 Depends on wesnoth-1.14-core:amd64 < 
1:1.14.15-1 @ii mR > (>= 1:1.14)
    Considering wesnoth-1.14-core:amd64 34 as a solution to 
wesnoth-1.14-low:amd64 -1
    Removing wesnoth-1.14-low:amd64 rather than change wesnoth-1.14-core:amd64
  Investigating (3) wesnoth-1.14-httt:amd64 < 1:1.14.15-1 @ii mK Ib >
  Broken wesnoth-1.14-httt:amd64 Depends on wesnoth-1.14-core:amd64 < 
1:1.14.15-1 @ii mR > (>= 1:1.14)
    Considering wesnoth-1.14-core:amd64 34 as a solution to 
wesnoth-1.14-httt:amd64 -1
    Removing wesnoth-1.14-httt:amd64 rather than change wesnoth-1.14-core:amd64
  Investigating (3) wesnoth-1.14-ttb:amd64 < 1:1.14.15-1 @ii mK Ib >
  Broken wesnoth-1.14-ttb:amd64 Depends on wesnoth-1.14-core:amd64 < 
1:1.14.15-1 @ii mR > (>= 1:1.14)
    Considering wesnoth-1.14-core:amd64 34 as a solution to 
wesnoth-1.14-ttb:amd64 -1
    Removing wesnoth-1.14-ttb:amd64 rather than change wesnoth-1.14-core:amd64
...

This was not an issue in previous Debian releases since there was always
a boost version bump, thus all library package names changed and old and
new versions were co-installable.

Please consider applying the attached patch.


Andreas
diff -Nru boost1.74-1.74.0+ds1/debian/changelog 
boost1.74-1.74.0+ds1/debian/changelog
--- boost1.74-1.74.0+ds1/debian/changelog       2023-01-30 18:20:12.000000000 
+0100
+++ boost1.74-1.74.0+ds1/debian/changelog       2023-05-10 22:35:56.000000000 
+0200
@@ -1,3 +1,10 @@
+boost1.74 (1.74.0+ds1-21) UNRELEASED; urgency=medium
+
+  * libboost-thread1.74.0: Add Breaks: libboost-regex1.74.0-icu67 for smoother
+    upgrades from bullseye.
+
+ -- Andreas Beckmann <a...@debian.org>  Wed, 10 May 2023 22:35:56 +0200
+
 boost1.74 (1.74.0+ds1-20) unstable; urgency=medium
 
   * [dc6fadf] Better handling of the upstream version number.
diff -Nru boost1.74-1.74.0+ds1/debian/control 
boost1.74-1.74.0+ds1/debian/control
--- boost1.74-1.74.0+ds1/debian/control 2023-01-30 06:41:56.000000000 +0100
+++ boost1.74-1.74.0+ds1/debian/control 2023-05-10 22:35:46.000000000 +0200
@@ -1342,6 +1342,7 @@
 Multi-Arch: same
 Depends: ${misc:Depends}, ${shlibs:Depends}
 Pre-Depends: ${misc:Pre-Depends}
+Breaks: libboost-regex1.74.0-icu67,
 Description: portable C++ multi-threading
  This package forms part of the Boost C++ Libraries collection.
  .

--- End Message ---
--- Begin Message ---
Source: boost1.74
Source-Version: 1.74.0+ds1-21
Done: Anton Gladky <gl...@debian.org>

We believe that the bug you reported is fixed in the latest version of
boost1.74, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1036...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Anton Gladky <gl...@debian.org> (supplier of updated boost1.74 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 19 May 2023 09:24:56 +0200
Source: boost1.74
Architecture: source
Version: 1.74.0+ds1-21
Distribution: unstable
Urgency: medium
Maintainer: Debian Boost Team <team+bo...@tracker.debian.org>
Changed-By: Anton Gladky <gl...@debian.org>
Closes: 1036070
Changes:
 boost1.74 (1.74.0+ds1-21) unstable; urgency=medium
 .
   [ Andreas Beckmann ]
   * [f41f9a1] libboost-thread1.74.0: Add Breaks: libboost-regex1.74.0-icu67 for
               smoother upgrades from bullseye. (Closes: #1036070)
Checksums-Sha1:
 e92c06ae398d08f3412bfaa10dc0193dda9f790e 8487 boost1.74_1.74.0+ds1-21.dsc
 7582fcd82ef6f66955c13233ec16dff6fa3d4522 373640 
boost1.74_1.74.0+ds1-21.debian.tar.xz
 924b0b159cf469961ea4f0404b3fae3ba9f408d3 10278 
boost1.74_1.74.0+ds1-21_source.buildinfo
Checksums-Sha256:
 864ad1a08599ac878b277acbd55cd29602ca575951a986f5f3e5a63f423fef04 8487 
boost1.74_1.74.0+ds1-21.dsc
 6549dab4824c781e0510272ac352f9e0367d4d47c16c94989e5ec7447fd8f0d8 373640 
boost1.74_1.74.0+ds1-21.debian.tar.xz
 6b61b0089805764628a94d43426db02669e917c575c8e9c0dc5261e7faaaf289 10278 
boost1.74_1.74.0+ds1-21_source.buildinfo
Files:
 d0ba4b863eb1d94b3c6827b5cbdf350e 8487 libs optional boost1.74_1.74.0+ds1-21.dsc
 b1a83749d0e1d5a3003196e10c965449 373640 libs optional 
boost1.74_1.74.0+ds1-21.debian.tar.xz
 26e7fa958e81506dda1a3649d39b4b37 10278 libs optional 
boost1.74_1.74.0+ds1-21_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEu71F6oGKuG/2fnKF0+Fzg8+n/wYFAmRnJ48ACgkQ0+Fzg8+n
/wZDrA//b+F/CHBb65u5BVhC/QK4nddSA5foNdCFlFIigilPEROtX0ha0xgLE0zt
7W8Y9VeG9/zUDYSTGNg2UhsL+9hYM3qd3c4/II5ci6Bqpa0dgL7huFeKWkhxzNQN
cOu0yizyYSTrO8U2P6IYOfchkBIc0KDZ54ZpYw4CxV2xDx6oIaAk/HPGTVQ6t8DP
EqVL3rRYmcHFM2KMcY2U2xrULN428/XEDDiV+Rgm/avlhv/zRxQ9qXQtkONio7yx
EqX+dtSpFpMm/9XjmP6K1wCKybNyApbLF/vb698fHl1CvW3kzRt+LbrEe0dFA19Q
f5g7eilGxs5LArbDr4/PE3QfutB5TyXzgFW08eeoPlQccBdhRLRHzwSLR7x7RLst
7GjAMK02AFYIT/utkcajwV3UozgyZEdevKVSGRDOdOORWZAmWOCBw/GqlnKQh0Uy
TM9C6lYeu2+WASq+L2FZM59RptCUcd+FmFVfXrv2Pnoic3mMH6rJbJ+7+ejFd3g8
FCHq0kNoAfusR6YeH2q4UITc77ymXx+HSu0PMRX1Oyzt9VPMJGs4LK1GzapY+SVG
cWgD9mClgX2mW0RleoE06/NL0S0yUf2L8jGRrrxjIbf8PgxqRZ0g1/0WnsxIEu0i
l6uj7NgfOvVI5Lke5sIXaSQ8udEBsmqC6zPVzvCpDTzSd5IkGJE=
=dxiw
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to