Debian Bug report logs - #968042
upgrading packet python2 from 2.7.17-2 up to 2.7.18-2 asks packets deletion

version graph

Package: python2; Maintainer for python2 is Matthias Klose <doko@debian.org>; Source for python2 is src:python-defaults (PTS, buildd, popcon).

Reported by: Сергей Фёдоров <serfyod0vr@yandex.ru>

Date: Fri, 7 Aug 2020 10:36:01 UTC

Severity: normal

Tags: a11y

Found in version python-defaults/2.7.17-2

Fixed in version 2.7.18-3+rm

Done: Debian FTP Masters <ftpmaster@ftp-master.debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#968042; Package python2. (Fri, 07 Aug 2020 10:36:03 GMT) (full text, mbox, link).


Acknowledgement sent to Сергей Фёдоров <serfyod0vr@yandex.ru>:
New Bug report received and forwarded. Copy sent to Matthias Klose <doko@debian.org>. (Fri, 07 Aug 2020 10:36:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Сергей Фёдоров <serfyod0vr@yandex.ru>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: upgrading packet python2 from 2.7.17-2 up to 2.7.18-2 asks packets deletion
Date: Fri, 07 Aug 2020 13:27:51 +0300
Package: python2
Version: 2.7.17-2
Severity: normal
Tags: a11y



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.7.0-2-amd64 (SMP w/8 CPU threads)
Locale: LANG=ru_RU.utf8, LC_CTYPE=ru_RU.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python2 depends on:
ii  libpython2-stdlib  2.7.17-2
ii  python2-minimal    2.7.17-2
ii  python2.7          2.7.18-1

python2 recommends no packages.

Versions of packages python2 suggests:
pn  python-tk    <none>
pn  python2-doc  <none>

-- no debconf information

I use synaptic 0.90+nmu1 to manage the packets database.

Upgrading off package python2 from 2.7.17-2 to 2.7.18-2
for some reason, it needs to delete packages:

libpython-stdlib
python
python-minimal
python-talloc   



Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#968042; Package python2. (Fri, 07 Aug 2020 15:18:03 GMT) (full text, mbox, link).


Acknowledgement sent to Vladmimir Stavrinov <vstavrinov@gmail.com>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>. (Fri, 07 Aug 2020 15:18:03 GMT) (full text, mbox, link).


Message #10 received at 968042@bugs.debian.org (full text, mbox, reply):

From: Vladmimir Stavrinov <vstavrinov@gmail.com>
To: Debian Bug Tracking System <968042@bugs.debian.org>
Subject: Re: upgrading packet python2 from 2.7.17-2 up to 2.7.18-2 asks packets deletion
Date: Fri, 07 Aug 2020 18:11:20 +0300
Package: python
Followup-For: Bug #968042

Now there are no problems with python2 but dependencies are still broken for python itself:

apt-get install python
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python : PreDepends: python-minimal (= 2.7.17-2) but it is not going to be installed
          Depends: libpython-stdlib (= 2.7.17-2) but it is not going to be installed
          Depends: python2 (= 2.7.17-2) but 2.7.18-2 is to be installed
E: Unable to correct problems, you have held broken packages.


-- System Information:
Debian Release: bullseye/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.7.0-2-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.utf8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python depends on:
pn  libpython-stdlib  <none>
pn  python-minimal    <none>
ii  python2           2.7.18-2
ii  python2.7         2.7.18-1

python recommends no packages.

Versions of packages python suggests:
pn  python-doc  <none>
ii  python-tk   2.7.18-1



Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#968042; Package python2. (Sat, 12 Sep 2020 16:57:02 GMT) (full text, mbox, link).


Acknowledgement sent to Diederik de Haas <didi.debian@cknow.org>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>. (Sat, 12 Sep 2020 16:57:02 GMT) (full text, mbox, link).


Message #15 received at 968042@bugs.debian.org (full text, mbox, reply):

From: Diederik de Haas <didi.debian@cknow.org>
To: 968042@bugs.debian.org
Subject: Re: upgrading packet python2 from 2.7.17-2 up to 2.7.18-2 asks packets deletion
Date: Sat, 12 Sep 2020 18:54:57 +0200
On Fri, 07 Aug 2020 18:11:20 +0300 Vladmimir Stavrinov <vstavrinov@gmail.com> 
wrote:
> Now there are no problems with python2 but dependencies are still broken for 
> python itself:

It's now a month later and this problem still exists (on my Debian Sid 
system).
Are the following packages supposed to be deleted from the system?
python python-minimal libpython-stdlib

I'd still have the python2 variants of those packages installed btw.





Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#968042; Package python2. (Wed, 23 Sep 2020 03:45:02 GMT) (full text, mbox, link).


Acknowledgement sent to Luc Maisonobe <luc@spaceroots.org>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>. (Wed, 23 Sep 2020 03:45:02 GMT) (full text, mbox, link).


Message #20 received at 968042@bugs.debian.org (full text, mbox, reply):

From: Luc Maisonobe <luc@spaceroots.org>
To: 968042@bugs.debian.org
Subject: Re: upgrading packet python2 from 2.7.17-2 up to 2.7.18-2 asks packets deletion
Date: Wed, 23 Sep 2020 05:36:44 +0200
On Sat, 12 Sep 2020 18:54:57 +0200 Diederik de Haas
<didi.debian@cknow.org> wrote:
> On Fri, 07 Aug 2020 18:11:20 +0300 Vladmimir Stavrinov <vstavrinov@gmail.com> 
> wrote:
> > Now there are no problems with python2 but dependencies are still broken for 
> > python itself:
> 
> It's now a month later and this problem still exists (on my Debian Sid 
> system).
> Are the following packages supposed to be deleted from the system?
> python python-minimal libpython-stdlib
> 
> I'd still have the python2 variants of those packages installed btw.

I got a similar problem on Debian testing, but with even more weird
consequences.

I did accept to delete the packages, then the packages installation
failed with an error:

Removing update-manager-core (0.200.5-2.1) ...
  File "/usr/sbin/update-python-modules", line 52
    print x
          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(x)?
dpkg: error processing package update-manager-core (--remove):
 installed update-manager-core package pre-removal script subprocess
returned error exit status 1
dpkg: too many errors, stopping

I tried to add the missing parentheses to update-python-modules, but
the installation failed at a later stage, with another syntax error.

I guessed it was a python2/python3 difference, indeed
/etc/alternatives/python points to python3, perhaps python2 was
half-removed?

So I ended up changing the link back semi-manually using

update-alternatives --install /usr/bin/python python /usr/bin/python2 20

and then

aptitude install update-manager-core

to finish reconfiguring the half-installed package.




Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#968042; Package python2. (Wed, 21 Oct 2020 16:39:03 GMT) (full text, mbox, link).


Acknowledgement sent to Oswald Buddenhagen <oswald.buddenhagen@gmx.de>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>. (Wed, 21 Oct 2020 16:39:03 GMT) (full text, mbox, link).


Message #25 received at 968042@bugs.debian.org (full text, mbox, reply):

From: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
To: 968042@bugs.debian.org
Subject: Re: upgrading packet python2 from 2.7.17-2 up to 2.7.18-2 asks packets deletion
Date: Wed, 21 Oct 2020 18:31:06 +0200
this bug is duplicated by #970430, from which i learned that the 
unversioned packages are indeed supposed to be deleted (see also 
#937695).

this resolution appears satisfactory:

  --\ Remove the following packages:
    libpython-dev
    libpython-stdlib
    python-dev
    python-minimal
    python
  --\ Install the following packages:
    python-dev-is-python2
    python-is-python2

however, that's not what apt or aptitude will propose by default, so the 
upgrade experience is anything but optimal. not quite as bad as #970375, 
though. ;-)



Reply sent to Debian FTP Masters <ftpmaster@ftp-master.debian.org>:
You have taken responsibility. (Tue, 27 Dec 2022 23:30:32 GMT) (full text, mbox, link).


Notification sent to Сергей Фёдоров <serfyod0vr@yandex.ru>:
Bug acknowledged by developer. (Tue, 27 Dec 2022 23:30:32 GMT) (full text, mbox, link).


Message #30 received at 968042-done@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 38984-done@bugs.debian.org,41556-done@bugs.debian.org,96111-done@bugs.debian.org,259628-done@bugs.debian.org,289603-done@bugs.debian.org,396840-done@bugs.debian.org,397111-done@bugs.debian.org,422604-done@bugs.debian.org,451697-done@bugs.debian.org,471171-done@bugs.debian.org,474345-done@bugs.debian.org,495991-done@bugs.debian.org,550999-done@bugs.debian.org,609020-done@bugs.debian.org,630848-done@bugs.debian.org,633093-done@bugs.debian.org,638679-done@bugs.debian.org,639101-done@bugs.debian.org,680422-done@bugs.debian.org,689454-done@bugs.debian.org,697402-done@bugs.debian.org,699491-done@bugs.debian.org,702677-done@bugs.debian.org,702955-done@bugs.debian.org,726607-done@bugs.debian.org,737418-done@bugs.debian.org,739275-done@bugs.debian.org,791635-done@bugs.debian.org,802883-done@bugs.debian.org,810559-done@bugs.debian.org,814624-done@bugs.debian.org,849106-done@bugs.debian.org,854795-done@bugs.debian.org,893520-done@bugs.debian.org,907977-done@bugs.debian.org,926781-done@bugs.debian.org,937695-done@bugs.debian.org,968042-done@bugs.debian.org,970375-done@bugs.debian.org,970430-done@bugs.debian.org,972648-done@bugs.debian.org,993420-done@bugs.debian.org,1007078-done@bugs.debian.org,
Cc: python-defaults@packages.debian.org
Subject: Bug#1027107: Removed package(s) from unstable
Date: Tue, 27 Dec 2022 23:24:11 +0000
Version: 2.7.18-3+rm

Dear submitter,

as the package python-defaults has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1027107

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

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

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 25 Jan 2023 07:32:13 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jun 4 06:43:51 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.