[Bug 2012110] Re: update-manager stops working when installing python components using invalid versions
Asif Rahaman
2012110 at bugs.launchpad.net
Sun May 19 16:37:47 UTC 2024
*** This bug is a duplicate of bug 2008430 ***
https://bugs.launchpad.net/bugs/2008430
****************************Easy fix
*********************************************
Hey there so it happened for me.
Use the following two line step.
$ find /usr/lib/python3/dist-packages -iname bcc-*
Whatever are the list of files you get just delete them
For example
$ sudo rm -R sudo rm -R /usr/lib/python3/dist-packages/bcc-0.29.1.egg-
info
** Attachment added: "WhatsApp Image 2024-05-19 at 21.54.20.jpeg"
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2012110/+attachment/5779854/+files/WhatsApp%20Image%202024-05-19%20at%2021.54.20.jpeg
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptdaemon in Ubuntu.
https://bugs.launchpad.net/bugs/2012110
Title:
update-manager stops working when installing python components using
invalid versions
Status in aptdaemon package in Ubuntu:
Confirmed
Status in setuptools package in Ubuntu:
Confirmed
Status in update-manager package in Ubuntu:
Confirmed
Bug description:
Installing syncthing-gtk in Lunar for example is enough to make aptd
error out and break update-manager
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/version.py", line 266, in __init__
raise InvalidVersion(f"Invalid version: '{version}'")
pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: 'v0.9.4.4-ds-git20221205-12a9702d29ab'
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
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.04
GsettingsChanges:
b'com.ubuntu.update-manager' b'first-run' b'false'
b'com.ubuntu.update-manager' b'launch-count' b'67'
b'com.ubuntu.update-manager' b'launch-time' b'int64 1679093993'
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
PackageArchitecture: all
ProcVersionSignature: Ubuntu 5.19.0-35.36~22.04.1-generic 5.19.17
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/2012110/+subscriptions
More information about the foundations-bugs
mailing list