Aptdaemon crashes when there are any non-PEP-440 packages on the system due to setuptools 66.x.x
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aptdaemon (Ubuntu) |
Confirmed
|
High
|
Unassigned | ||
Lunar |
Confirmed
|
Undecided
|
Unassigned | ||
setuptools (Ubuntu) |
Confirmed
|
High
|
Unassigned | ||
Lunar |
Confirmed
|
Undecided
|
Unassigned | ||
update-manager (Ubuntu) |
Confirmed
|
High
|
Unassigned | ||
Lunar |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
"Software Updater" stopped working, it shows message "You stopped the check for updates".
update-
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.
org.debian.
org.debian.
org.debian.
org.debian.
org.debian.
org.debian.
There is an upstream ticket against setuptools: https:/
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-
ProcVersionSign
Uname: Linux 5.19.0-29-generic x86_64
ApportVersion: 2.24.0-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Fri Feb 24 00:16:28 2023
PackageArchitec
SourcePackage: aptdaemon
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in aptdaemon (Ubuntu): | |
importance: | Undecided → High |
tags: | added: rls-nn-incoming |
Changed in update-manager (Ubuntu): | |
importance: | Undecided → High |
description: | updated |
Changed in setuptools (Ubuntu): | |
importance: | Undecided → High |
tags: |
added: rls-ll-incoming removed: rls-nn-incoming |
tags: |
added: foundations-todo removed: rls-ll-incoming |
I opened bug #2008898 which may be a duplicate.