Debian Bug report logs -
#968042
upgrading packet python2 from 2.7.17-2 up to 2.7.18-2 asks packets deletion
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
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):
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):
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):
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):
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):
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):
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.