update-manager tries to update snaps even if snaps are not installed

Bug #1878454 reported by Ferdi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

On my laptop running Ubuntu 20.04 Focal Fossa, the update manager tries for several minutes to update snaps every time the update-manager is used.

This operation is pointless, because I have removed all snaps from my installation and do not run the snapd deamon.

The update manager should check whether snapd is running at all, and if not, it should not try to update snaps, because they are apparently not in use.

Currently resorting to not using the update manager, because it never ends...
apt works perfectly.

Tags: focal
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

Currently for update-manager to skip over snap updates you'll need to have snapd uninstalled entirely.

Revision history for this message
Ferdi (ferdi-sttc-nlp) wrote :

I had not removed snapd because of it being a dependency of ubuntu-desktop.

However, removing snapd did not also remove ubuntu-desktop (seem to remember it did do so in previous versions) and sort of kept it also for possible future use of snaps if applicable for my usecases. In order to be able to use update-manager i have now removed snapd from my system.

Still I think that if snapd is not running, update-manager should not try to update snaps. Currently update manager tries to update snaps that I had already removed before stopping snapd. The process takes about a minute for every snap that was removed, resulting in an error message in the log, because the snap obviously cannot be found.

May 13 19:24:17 Biodanza01 update-notifier.desktop[7502]: error: no snap found for "core18"
May 13 19:25:57 Biodanza01 update-notifier.desktop[7535]: error: no snap found for "gnome-3-34-1804"
May 13 19:27:37 Biodanza01 update-notifier.desktop[7899]: error: no snap found for "gtk-common-themes"
May 13 19:29:17 Biodanza01 update-notifier.desktop[7957]: error: no snap found for "snap-store"
May 13 19:30:57 Biodanza01 update-notifier.desktop[7992]: error: no snap found for "gnome-3-28-1804"
May 13 19:32:37 Biodanza01 update-notifier.desktop[8019]: error: no snap found for "gnome-calculator"
May 13 19:34:17 Biodanza01 update-notifier.desktop[8041]: error: no snap found for "gnome-characters"
May 13 19:35:57 Biodanza01 update-notifier.desktop[8058]: error: no snap found for "gnome-logs"

Leading to the question, why is it trying to update snaps that have been removed.

tags: added: focal
Ferdi (ferdi-sttc-nlp)
summary: - update-manager tries to update snaps even is snaps are not installed
+ update-manager tries to update snaps even if snaps are not installed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.