[Bug 2012110] Re: Software updater displays "You stopped the check for updates"

Sebastien Bacher 2012110 at bugs.launchpad.net
Fri Jun 2 09:02:23 UTC 2023


*** This bug is a duplicate of bug 2008430 ***
    https://bugs.launchpad.net/bugs/2008430

** Tags added: rls-nn-incoming

** Changed in: update-manager (Ubuntu)
   Importance: Undecided => High

** Also affects: aptdaemon (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: aptdaemon (Ubuntu)
   Importance: Undecided => High

** Also affects: setuptools (Ubuntu)
   Importance: Undecided
       Status: New

** Summary changed:

- Software updater displays "You stopped the check for updates"
+ update-manager stops working when installing python components using invalid versions

** Description changed:

+ 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'
+  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

** This bug has been marked a duplicate of bug 2008430
   Aptdaemon crashes when there are any non-PEP-440 packages on the system due to setuptools 66.x.x

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager 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:
  New
Status in setuptools package in Ubuntu:
  New
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