snap incorrectly reports all snaps up to date

Bug #1992663 reported by Al
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
snapd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

snap refresh lists all pacakges as being up to date if the app (firefox) is open.

If I close firefox, then suddenly snap says it requires an update.

it'd also be nice if snap would remove the notification in KDE that firefox needs to be updated after running the update, but that's probably out of scope.

snap ideally would say "firefox has a pending update, but must be closed first"

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: snap (not installed)
ProcVersionSignature: Ubuntu 5.15.0-48.54-generic 5.15.53
Uname: Linux 5.15.0-48-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Wed Oct 12 08:36:15 2022
InstallationDate: Installed on 2021-06-11 (488 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: snap
UpgradeStatus: Upgraded to jammy on 2022-04-22 (172 days ago)

Revision history for this message
Al (derpderpderp) wrote :
Dylan Aïssi (daissi)
affects: snap (Ubuntu) → snapd (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in snapd (Ubuntu):
status: New → Confirmed
Revision history for this message
Heinrich Schuchardt (xypron) wrote (last edit ):

On Ubuntu Lunar:

$ sudo snap refresh
All snaps up to date.

At this point messages were shown in KDE that multipass and firefox need refresh within 13 days. After closing both:

$ sudo snap refresh
firefox 106.0.3-1 from Mozilla✓ refreshed
multipass 1.10.1 from Canonical✓ refreshed

tags: added: lunar
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.