[Bug 1914640] Re: unneccessary message "Snaps werden aktualisiert"

Hans Joachim Desserud 1914640 at bugs.launchpad.net
Fri Feb 12 16:16:54 UTC 2021


Thanks for taking your time to report this issue and help making Ubuntu
better.

As you say, it shouldn't need to check snaps if none exists. I took a
quick look at the source code to see how it decides whether this is
needed.

The "Updating snaps" message is set in the update_snaps method [1],
which is only called if "/usr/bin/snap" exists. With `snapd` purged,
that should be gone, so I'm not sure why it is still checking.

Could you please take a look to see what
$ ls /usr/bin/snap
reports, and if the file exists, run
$  dpkg -S /usr/bin/snap
(this will tell us which package owns the file)

[1] https://git.launchpad.net/ubuntu/+source/update-manager/tree/UpdateManager/backend/__init__.py?h=applied/ubuntu/focal-updates#n265
[2] https://git.launchpad.net/ubuntu/+source/update-manager/tree/UpdateManager/backend/__init__.py?h=applied/ubuntu/focal-updates#n335

-- 
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/1914640

Title:
  unneccessary message "Snaps werden aktualisiert"

Status in update-manager package in Ubuntu:
  New

Bug description:
  Hi, 
  although I have purged snapd in the terminal `sudo apt purge snapd`, I get regularly a wrong/unneccessary message.

  After updating packages, there is the hint "Snaps werden
  aktualisiert".

  In terminal:
  `~$ snap list
  Es sind noch keine Snaps installiert. Versuchen Sie »snap install hello-world«.
  `
  There should be no attempt to update snaps, which takes some time, and no message.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: update-manager 1:20.04.10.5
  ProcVersionSignature: Ubuntu 5.8.0-41.46~20.04.1-generic 5.8.18
  Uname: Linux 5.8.0-41-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu27.16
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Feb  4 19:03:34 2021
  ExecutablePath: /usr/bin/update-manager
  InstallationDate: Installed on 2021-01-08 (27 days ago)
  InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
  InterpreterPath: /usr/bin/python3.8
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, user)
   XDG_RUNTIME_DIR=<set>
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
  PythonDetails: N/A
  SourcePackage: update-manager
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1914640/+subscriptions



More information about the foundations-bugs mailing list