`snap refresh` doesn't show progress when checking for a large number of snaps

Bug #1658719 reported by Jorge Castro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd (Ubuntu)
Expired
Medium
Unassigned

Bug Description

I have over 50 snaps now installed, doing a `snap refresh` now takes a long time to return a prompt, during this time it's non-obvious that snapd is doing anything, perhaps an indication that snapd is doing a remote request?

Revision history for this message
John Lenton (chipaca) wrote :

`snap refresh` speed should be mostly independent of number of installed snaps (there are components of the time that are linearly proportional to the number, but most of the times should be independent of it). When there is an update you get the progress bar so I'm assuming you're not talking about the time spent because of an update being there.

What snapd version are you using? Could you enable debug in snapd, run a refresh, and show me the logs?

Revision history for this message
John Lenton (chipaca) wrote :

Just to be clear:

 $ snap list | wc -l
 51
 $ time snap refresh
 All snaps up to date.

 real 0m3.953s
 user 0m0.008s
 sys 0m0.008s

is this the "long time" you're talking about?

Michael Vogt (mvo)
Changed in snapd (Ubuntu):
status: New → Incomplete
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for snapd (Ubuntu) because there has been no activity for 60 days.]

Changed in snapd (Ubuntu):
status: Incomplete → Expired
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.