update-manager stops working when installing python components using invalid versions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aptdaemon (Ubuntu) |
Confirmed
|
High
|
Unassigned | ||
setuptools (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
update-manager (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
Installing syncthing-gtk in Lunar for example is enough to make aptd error out and break update-manager
File "/usr/lib/
raise InvalidVersion(
pkg_resources.
While we should fix syncthing-gtk, the bug shows that other packages also have the issue, including upstream/third party ones. Ideally aptdaemon should be able to keep working or at least surface the problem to the user in a way they can understand
-------
Expected behavior: Display a list of updates.
What happens: Dialog box says "You stopped the check for updates".
Expected behavior: When I choose "Check again" then displays a list of updates.
What happens: Displays "You stopped the check for updates".
apt-get update/upgrade works. But software-updater has same behavior after I run it.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.3
Aptdaemon:
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.04
GsettingsChanges:
b'com.
b'com.
b'com.
InstallationDate: Installed on 2023-02-27 (18 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223)
Package: update-manager 1:22.04.10
PackageArchitec
ProcVersionSign
Tags: wayland-session jammy
Uname: Linux 5.19.0-35-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
affects: | ubuntu → update-manager (Ubuntu) |
tags: | added: rls-nn-incoming |
Changed in update-manager (Ubuntu): | |
importance: | Undecided → High |
Changed in aptdaemon (Ubuntu): | |
importance: | Undecided → High |
summary: |
- Software updater displays "You stopped the check for updates" + update-manager stops working when installing python components using + invalid versions |
description: | updated |
I have seen this behavior on Lunar, but just to be sure, please run 'apport-collect 2012110'.