Your message dated Tue, 09 Mar 2021 18:48:42 +0000 with message-id <e1ljhpo-000ddd...@fasolo.debian.org> and subject line Bug#984777: fixed in python2.7 2.7.18-6 has caused the Debian Bug report #984777, regarding python2.7: please add Breaks against unversioned python packages 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.) -- 984777: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984777 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Source: python2.7 Version: 2.7.18-1 Severity: serious Tags: patch Hi, while analyzing piuparts buster->bullseye tests, I found some cases where the Python 2 stack was not completely upgraded (some packages were kept at the buster version even if a newer version was available in bullseye). This happened because apt tried to keep some of the unversioned python packages installed. I've tried adding some Breaks and the attached patch fixed all of the previously incomplete upgrades I tested. I'm adding Breaks against python-minimal (<< 2.7.18) and libpython-stdlib (<< 2.7.18), which are at the bottom of the unversioned python stack. The version is chosen such that unversioned packages based on the current version could still be built and installed locally ... (Just after upgrading a clean buster system to bullseye the unversioned python should be gone.) I'm adding these Breaks to libpython2.7-minimal because it is the bottom of the python2.7 stack still available in bullseye. (And I assume that won't go away.) I'm also adding these same Breaks to python2.7 which gets a higher score by apt and therefore the removal of cruft packages more easily wins over their preservation. I'm attaching upgrade logs (with apt debug output if someone is interested in scores and preoblem resolution) from ceph-common which is one example affected by this. Here are some excepts: Summary: apt tries to keep the cruft libpython-stdlib and python-minimal packages installed and therefore cannot upgrade some python2 packages. Reference: some relevant apt scores: 14 python2.7:amd64 < 2.7.16-2+deb10u1 -> 2.7.18-1 @ii umU > 10 libpython2.7-minimal:amd64 < 2.7.16-2+deb10u1 -> 2.7.18-1 @ii umU > 9 python2:amd64 < 2.7.16-1 -> 2.7.18-2 @ii umU > 7 python:amd64 < 2.7.16-1 @ii mK Ib > 6 libpython-stdlib:amd64 < 2.7.16-1 @ii mK Ib > 6 python-minimal:amd64 < 2.7.16-1 @ii mK Ib > 2 python2-minimal:amd64 < 2.7.16-1 -> 2.7.18-2 @ii umU > 2 libpython2-stdlib:amd64 < 2.7.16-1 -> 2.7.18-2 @ii umU > The following packages will be REMOVED: python python-cephfs python-certifi python-chardet python-idna python-prettytable python-rados python-rbd python-requests python-urllib3 The following NEW packages will be installed: [...] * The following packages have been kept back: *** * libpython2-stdlib python2 python2-minimal *** The following packages will be upgraded: [...] 125 upgraded, 51 newly installed, 10 to remove and 3 not upgraded. With this change applied: some relevant apt scores: 14 python2.7:amd64 < 2.7.16-2+deb10u1 -> 2.7.18-5.1 @ii umU Ib > 14 libpython2.7-stdlib:amd64 < 2.7.16-2+deb10u1 -> 2.7.18-5.1 @ii umU > 9 python2:amd64 < 2.7.16-1 -> 2.7.18-2 @ii umU > 7 python:amd64 < 2.7.16-1 @ii mK Ib > 4 python-minimal:amd64 < 2.7.16-1 @ii mK Ib > 4 libpython-stdlib:amd64 < 2.7.16-1 @ii mK Ib > 2 libpython2-stdlib:amd64 < 2.7.16-1 -> 2.7.18-2 @ii umU > 2 python2-minimal:amd64 < 2.7.16-1 -> 2.7.18-2 @ii umU > The following packages will be REMOVED: libpython-stdlib python python-cephfs python-certifi python-chardet python-idna python-minimal python-prettytable python-rados python-rbd python-requests python-urllib3 The following NEW packages will be installed: [...] The following packages will be upgraded: [...] 129 upgraded, 51 newly installed, 12 to remove and 0 not upgraded. Andreasdiff -u python2.7-2.7.18/debian/changelog python2.7-2.7.18/debian/changelog --- python2.7-2.7.18/debian/changelog +++ python2.7-2.7.18/debian/changelog @@ -1,3 +1,12 @@ +python2.7 (2.7.18-5.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * python2.7, libpython2.7-minimal: Add Breaks: python-minimal (<< 2.7.18), + libpython-stdlib (<< 2.7.18) to ensure removal of the unversioned python + packages on upgrades from buster. Closes: #xxxxxx. + + -- Andreas Beckmann <a...@debian.org> Fri, 05 Mar 2021 22:03:36 +0100 + python2.7 (2.7.18-5) unstable; urgency=medium * Use the posix_prefix layout when inside a virtualenv (Stefano Rivera). diff -u python2.7-2.7.18/debian/control python2.7-2.7.18/debian/control --- python2.7-2.7.18/debian/control +++ python2.7-2.7.18/debian/control @@ -34,6 +34,7 @@ Suggests: python2.7-doc, binutils Conflicts: python-profiler (<= 2.7.1-2) Breaks: python-virtualenv (<< 1.7.1.2-2~), vim-nox (<< 2:7.3.547-4), vim-gtk (<< 2:7.3.547-4), vim-gnome (<< 2:7.3.547-4), vim-athena (<< 2:7.3.547-4) + , python-minimal (<< 2.7.18), libpython-stdlib (<< 2.7.18) Replaces: python-profiler (<= 2.7.1-2), python2.7-minimal (<< 2.7.3-7~) Description: Interactive high-level object-oriented language (version 2.7) Python is a high-level, interactive, object-oriented language. Its 2.7 version @@ -81,6 +82,7 @@ Recommends: libpython2.7-stdlib Replaces: python2.7 (<< 2.7.4-2), python2.7-minimal (<< 2.7.3-10), libpython2.7-stdlib (<< 2.7.8-7) Breaks: python2.7-minimal (<< 2.7.4~rc1-1~) + , python-minimal (<< 2.7.18), libpython-stdlib (<< 2.7.18) Conflicts: binfmt-support (<< 1.1.2) Description: Minimal subset of the Python language (version 2.7) This package contains some essential modules. It is normally not diff -u python2.7-2.7.18/debian/control.in python2.7-2.7.18/debian/control.in --- python2.7-2.7.18/debian/control.in +++ python2.7-2.7.18/debian/control.in @@ -34,6 +34,7 @@ Suggests: @PVER@-doc, binutils Conflicts: python-profiler (<= 2.7.1-2) Breaks: python-virtualenv (<< 1.7.1.2-2~), vim-nox (<< 2:7.3.547-4), vim-gtk (<< 2:7.3.547-4), vim-gnome (<< 2:7.3.547-4), vim-athena (<< 2:7.3.547-4) + , python-minimal (<< 2.7.18), libpython-stdlib (<< 2.7.18) Replaces: python-profiler (<= 2.7.1-2), @PVER@-minimal (<< 2.7.3-7~) Description: Interactive high-level object-oriented language (version @VER@) Python is a high-level, interactive, object-oriented language. Its @VER@ version @@ -81,6 +82,7 @@ Recommends: lib@PVER@-stdlib Replaces: @PVER@ (<< 2.7.4-2), @PVER@-minimal (<< 2.7.3-10), lib@PVER@-stdlib (<< 2.7.8-7) Breaks: @PVER@-minimal (<< 2.7.4~rc1-1~) + , python-minimal (<< 2.7.18), libpython-stdlib (<< 2.7.18) Conflicts: binfmt-support (<< 1.1.2) Description: Minimal subset of the Python language (version @VER@) This package contains some essential modules. It is normally not
ceph-common_14.2.16-2.log.gz
Description: application/gzip
ceph-common_14.2.16-2.fixed.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---Source: python2.7 Source-Version: 2.7.18-6 Done: Matthias Klose <d...@debian.org> We believe that the bug you reported is fixed in the latest version of python2.7, 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 984...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Matthias Klose <d...@debian.org> (supplier of updated python2.7 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: SHA256 Format: 1.8 Date: Tue, 09 Mar 2021 12:09:26 +0100 Source: python2.7 Architecture: source Version: 2.7.18-6 Distribution: unstable Urgency: medium Maintainer: Matthias Klose <d...@debian.org> Changed-By: Matthias Klose <d...@debian.org> Closes: 984777 Changes: python2.7 (2.7.18-6) unstable; urgency=medium . * python2.7, libpython2.7-minimal: Add Breaks: python-minimal (<< 2.7.18), libpython-stdlib (<< 2.7.18) to ensure removal of the unversioned python packages on upgrades from buster (Andreas Beckmann). Closes: #984777. Checksums-Sha1: 201c4208bc012a3074fa82f4ffafc1aaade6a1fc 3313 python2.7_2.7.18-6.dsc e4016d1f60b8faddf117a39c4cf203ad18e2394f 289940 python2.7_2.7.18-6.diff.gz dcfc41807b1ff1478d40e5272caf244b26f70dca 10171 python2.7_2.7.18-6_source.buildinfo Checksums-Sha256: 47870fdb1ac0107258b3967ef37a17fb4b679f5432bb70018a1ff32bc3dd8332 3313 python2.7_2.7.18-6.dsc 0b4cb68e6aa0d4756718f3adec58b95bc32065933e8c05ed63f5660b572d5894 289940 python2.7_2.7.18-6.diff.gz b8bef56ce3c737f404019c290507f40dc36c648e1d561006a77ef5aca86be7b3 10171 python2.7_2.7.18-6_source.buildinfo Files: f0b0d182a1ae523c66925e901be96cd5 3313 python optional python2.7_2.7.18-6.dsc b69ad3a58fc2611e1732aad978b7945d 289940 python optional python2.7_2.7.18-6.diff.gz 75d54c538b94f5e0dbe5011a2da7721c 10171 python optional python2.7_2.7.18-6_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmBHt38QHGRva29AZGVi aWFuLm9yZwAKCRC9fqpgd4+m9RZ/D/wNkZHOi1VWvzXdnKCOvnDLRyQcE/rtizVh YlHA43XMyf5qlUOXfJsTGMNSyPHTbS3X87ji4baq3ONt9W/hUmJjFrfwFmKfhRyx 5tuGYVrMw9AJUig+KyciVtT+wFo/UzcONDVSJB1+46YxgtqOHx+RAs3ftvsd+GaD 5IVzpJ2l04qdxVpzNrUo5BIGAOnoxS71eUkCdbmF36H8IOWwSAJ40RZCvE27ymQK tUygXDqqNUUgWM5UDJqTLJCbhHD0zlakJaeXIhEUx6DyTQbzTuwDZbS9djMK//LF m6vf2apv/FPws/CBrZGBT4B2kKL2oAVTUp1T2Wx00Aan/AdmiEy5lTqD+/G5IvWi kfIWQ5t7/6Xh8oziBkqg0zk0itaDAVW9va1ohWlZ9ySCSngmdJ8OPqhx8xyUR4Yr 1NV6VbzMF3fxz8ZP8FZhb9Q/QLoOLmGbp9JyC/tgGBF7MrCWp5UK0mZMWEikno8g 2y70tCvezE9HfyhZp4+zpXPbEbuuDF0vbaC9+QF0O3wEZhGwSrfxmZvLgttYHdJh VjgW5mx7gdscq2M6q80o/TzZilNnPNgDJmAV9mdzleAfHAuPBIZ6c4eIknmUEWBk uwCzcnnHOtGhUf9XS+G9CdmCiL+zzjTB7UmbSxZMWrxF19/qo+l5a8LRw20uN0yJ NpA4u5ay0Q== =BvNf -----END PGP SIGNATURE-----
--- End Message ---