Activity log for bug #2008430

Date Who What changed Old value New value Message
2023-02-23 23:30:03 Eugene Crosser bug added bug
2023-03-07 13:23:44 Launchpad Janitor aptdaemon (Ubuntu): status New Confirmed
2023-03-07 13:23:57 Amberelle Mason bug added subscriber Amberelle Mason
2023-05-09 17:49:49 Dan Andreșan bug added subscriber Dan Andreșan
2023-06-02 09:12:00 Sebastien Bacher aptdaemon (Ubuntu): importance Undecided High
2023-06-02 09:12:12 Sebastien Bacher tags amd64 apport-bug lunar wayland-session amd64 apport-bug lunar rls-nn-incoming wayland-session
2023-06-02 09:12:19 Sebastien Bacher bug task added update-manager (Ubuntu)
2023-06-02 09:12:24 Sebastien Bacher update-manager (Ubuntu): importance Undecided High
2023-06-02 09:12:30 Sebastien Bacher bug task added setuptools (Ubuntu)
2023-06-02 09:27:02 Benjamin Drung description "Software Updater" stopped working, it shows message "You stopped the check for updates". update-manager.desktop[22442]: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying Analysis shows that this is the result of aptdaemon crash when it tries to load plugins, and pkg_resources module refuses to parse non PEP-440 compliant Python package versions. There are many such python packages, one of them "devscripts", as shown in this log, but if I remove devscripts, it crashes on other packages. org.debian.apt[22501]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2679, in parsed_version org.debian.apt[22501]: self._parsed_version = parse_version(self.version) org.debian.apt[22501]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ org.debian.apt[22501]: File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/version.py", line 266, in __init__ org.debian.apt[22501]: raise InvalidVersion(f"Invalid version: '{version}'") org.debian.apt[22501]: pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: '2.22.2ubuntu5' org.debian.apt[22501]: (package: devscripts) There is an upstream ticket against setuptools: https://github.com/pypa/setuptools/issues/3772 It looks like either setuptools has to be fixed or downgraded, or aptdaemon modified to not use pkg_resources module. ProblemType: Bug DistroRelease: Ubuntu 23.04 Package: aptdaemon 1.1.1+bzr982-0ubuntu42 ProcVersionSignature: Ubuntu 5.19.0-29.30-generic 5.19.17 Uname: Linux 5.19.0-29-generic x86_64 ApportVersion: 2.24.0-0ubuntu2 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Fri Feb 24 00:16:28 2023 PackageArchitecture: all SourcePackage: aptdaemon UpgradeStatus: No upgrade log present (probably fresh install) "Software Updater" stopped working, it shows message "You stopped the check for updates". update-manager.desktop[22442]: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying Analysis shows that this is the result of aptdaemon crash when it tries to load plugins, and pkg_resources module refuses to parse non PEP-440 compliant Python package versions. There are many such python packages, one of them "devscripts", as shown in this log, but if I remove devscripts, it crashes on other packages. org.debian.apt[22501]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2679, in parsed_version org.debian.apt[22501]: self._parsed_version = parse_version(self.version) org.debian.apt[22501]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ org.debian.apt[22501]: File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/version.py", line 266, in __init__ org.debian.apt[22501]: raise InvalidVersion(f"Invalid version: '{version}'") org.debian.apt[22501]: pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: '2.22.2ubuntu5' org.debian.apt[22501]: (package: devscripts) There is an upstream ticket against setuptools: https://github.com/pypa/setuptools/issues/3772 It looks like either setuptools has to be fixed or downgraded, or aptdaemon modified to not use pkg_resources module. There is a main ticket for fixing those non-PEP-440 packages: bug #1991606 ProblemType: Bug DistroRelease: Ubuntu 23.04 Package: aptdaemon 1.1.1+bzr982-0ubuntu42 ProcVersionSignature: Ubuntu 5.19.0-29.30-generic 5.19.17 Uname: Linux 5.19.0-29-generic x86_64 ApportVersion: 2.24.0-0ubuntu2 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Fri Feb 24 00:16:28 2023 PackageArchitecture: all SourcePackage: aptdaemon UpgradeStatus: No upgrade log present (probably fresh install)
2023-06-02 09:27:06 Sebastien Bacher setuptools (Ubuntu): importance Undecided High
2023-06-02 10:16:39 Sebastien Bacher tags amd64 apport-bug lunar rls-nn-incoming wayland-session amd64 apport-bug lunar rls-ll-incoming wayland-session
2023-06-05 06:58:43 Dan Andreșan attachment added failure_and_success.log https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/2008430/+attachment/5677829/+files/failure_and_success.log
2023-06-08 15:23:23 Benjamin Drung nominated for series Ubuntu Lunar
2023-06-08 15:23:23 Benjamin Drung bug task added update-manager (Ubuntu Lunar)
2023-06-08 15:23:23 Benjamin Drung bug task added aptdaemon (Ubuntu Lunar)
2023-06-08 15:23:23 Benjamin Drung bug task added setuptools (Ubuntu Lunar)
2023-06-08 15:24:07 Benjamin Drung tags amd64 apport-bug lunar rls-ll-incoming wayland-session amd64 apport-bug foundations-todo lunar wayland-session
2023-06-08 15:24:21 Benjamin Drung bug added subscriber Ubuntu Foundations Bugs
2023-07-01 16:31:49 Launchpad Janitor setuptools (Ubuntu): status New Confirmed
2023-07-01 16:31:49 Launchpad Janitor update-manager (Ubuntu): status New Confirmed
2023-07-01 16:31:49 Launchpad Janitor aptdaemon (Ubuntu Lunar): status New Confirmed
2023-07-01 16:31:49 Launchpad Janitor setuptools (Ubuntu Lunar): status New Confirmed
2023-07-01 16:31:49 Launchpad Janitor update-manager (Ubuntu Lunar): status New Confirmed
2023-08-31 14:04:50 Norman Rieß bug added subscriber Norman Rieß
2023-10-24 13:36:28 Benjamin Drung update-manager (Ubuntu): status Confirmed Fix Released
2023-10-24 13:36:33 Benjamin Drung setuptools (Ubuntu): status Confirmed Fix Released
2023-10-24 13:36:38 Benjamin Drung aptdaemon (Ubuntu): status Confirmed Invalid
2023-10-24 13:36:41 Benjamin Drung aptdaemon (Ubuntu Lunar): status Confirmed Invalid
2023-10-24 13:36:54 Benjamin Drung aptdaemon (Ubuntu): status Invalid Fix Released
2023-10-24 14:01:03 Benjamin Drung setuptools (Ubuntu Lunar): assignee Benjamin Drung (bdrung)
2023-10-24 14:07:24 Benjamin Drung update-manager (Ubuntu Lunar): status Confirmed Invalid
2023-10-25 13:36:29 Benjamin Drung description "Software Updater" stopped working, it shows message "You stopped the check for updates". update-manager.desktop[22442]: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying Analysis shows that this is the result of aptdaemon crash when it tries to load plugins, and pkg_resources module refuses to parse non PEP-440 compliant Python package versions. There are many such python packages, one of them "devscripts", as shown in this log, but if I remove devscripts, it crashes on other packages. org.debian.apt[22501]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2679, in parsed_version org.debian.apt[22501]: self._parsed_version = parse_version(self.version) org.debian.apt[22501]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ org.debian.apt[22501]: File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/version.py", line 266, in __init__ org.debian.apt[22501]: raise InvalidVersion(f"Invalid version: '{version}'") org.debian.apt[22501]: pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: '2.22.2ubuntu5' org.debian.apt[22501]: (package: devscripts) There is an upstream ticket against setuptools: https://github.com/pypa/setuptools/issues/3772 It looks like either setuptools has to be fixed or downgraded, or aptdaemon modified to not use pkg_resources module. There is a main ticket for fixing those non-PEP-440 packages: bug #1991606 ProblemType: Bug DistroRelease: Ubuntu 23.04 Package: aptdaemon 1.1.1+bzr982-0ubuntu42 ProcVersionSignature: Ubuntu 5.19.0-29.30-generic 5.19.17 Uname: Linux 5.19.0-29-generic x86_64 ApportVersion: 2.24.0-0ubuntu2 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Fri Feb 24 00:16:28 2023 PackageArchitecture: all SourcePackage: aptdaemon UpgradeStatus: No upgrade log present (probably fresh install) [ Impact ] "Software Updater" stopped working, it shows message "You stopped the check for updates". update-manager.desktop[22442]: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying Analysis shows that this is the result of aptdaemon crash when it tries to load plugins, and pkg_resources module refuses to parse non PEP-440 compliant Python package versions. There are many such python packages, one of them "devscripts", as shown in this log, but if I remove devscripts, it crashes on other packages. org.debian.apt[22501]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2679, in parsed_version org.debian.apt[22501]: self._parsed_version = parse_version(self.version) org.debian.apt[22501]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ org.debian.apt[22501]: File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/version.py", line 266, in __init__ org.debian.apt[22501]: raise InvalidVersion(f"Invalid version: '{version}'") org.debian.apt[22501]: pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: '2.22.2ubuntu5' org.debian.apt[22501]: (package: devscripts) There is an upstream ticket against setuptools: https://github.com/pypa/setuptools/issues/3772 [ Test Plan ] 1. Perform all required updates using Software Updater. 2. 'sudo apt install rmlint-gui' 3. Reboot (without reboot the bug did not reproduce) 4. Launch Software Updater: 'update-manager' 5. It will crash, see logs (08:38:56) related to apt daemon. 6. Upgrade the python3-pkg-resources 7. reboot 8. Launch Software Updater 9. Success [ Where problems could occur ] Building Python projects could start failing since the code is part of setuptools. [ Other Info ] There is a main ticket for fixing those non-PEP-440 packages: bug #1991606 ProblemType: Bug DistroRelease: Ubuntu 23.04 Package: aptdaemon 1.1.1+bzr982-0ubuntu42 ProcVersionSignature: Ubuntu 5.19.0-29.30-generic 5.19.17 Uname: Linux 5.19.0-29-generic x86_64 ApportVersion: 2.24.0-0ubuntu2 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Fri Feb 24 00:16:28 2023 PackageArchitecture: all SourcePackage: aptdaemon UpgradeStatus: No upgrade log present (probably fresh install)
2023-10-25 13:45:41 Benjamin Drung attachment added setuptools_66.1.1-1ubuntu0.1.debdiff https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/2008430/+attachment/5713201/+files/setuptools_66.1.1-1ubuntu0.1.debdiff
2023-10-25 15:53:57 Ubuntu Archive Robot bug added subscriber Benjamin Drung
2023-11-17 13:48:39 Timo Aaltonen setuptools (Ubuntu Lunar): status Confirmed Fix Committed
2023-11-17 13:48:40 Timo Aaltonen bug added subscriber Ubuntu Stable Release Updates Team
2023-11-17 13:48:43 Timo Aaltonen bug added subscriber SRU Verification
2023-11-17 13:48:45 Timo Aaltonen tags amd64 apport-bug foundations-todo lunar wayland-session amd64 apport-bug foundations-todo lunar verification-needed verification-needed-lunar wayland-session
2023-11-24 10:55:34 Benjamin Drung tags amd64 apport-bug foundations-todo lunar verification-needed verification-needed-lunar wayland-session amd64 apport-bug foundations-todo lunar verification-done verification-done-lunar wayland-session
2023-11-27 15:01:59 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2023-11-27 15:02:35 Launchpad Janitor setuptools (Ubuntu Lunar): status Fix Committed Fix Released