Problem Description:
Chromium browser disappeared from system. Snapd reports the snap is broken.
Relevant System Information:
Last used the morning (EDT) of Monday, May 26.
Screenshots or Error Messages:
From snap list:
chromium - 3137 latest/stable canonical✓ broken
What I’ve Tried:
$ sudo snap refresh
error: cannot refresh: cannot find installed snap "chromium" at revision 3137:
missing file /snap/chromium/3137/meta/snap.yaml
$ snap remove chromium; snap install chromium
error: cannot perform the following tasks:
- Save data of snap "chromium" in automatic snapshot set #3 (sync /var/lib/snapd/snapshots/3_chromium__3137.zip.hBSLF9HWWlV7~: input/output error)
snap "chromium" is already installed, see 'snap help refresh'
Have you looked at /snap/chromium yet ? This is where the .snap file should get mounted under its respectively versioned mount point…
Also snap changes (and for details snap change <ID>) and snap warnings might be interesting…
Did you change the kernel to something unsupported or is your disk full (or read only due to filesystem errors) by any chance ? These two could also cause a snap breakage.
Snapd is not “reporting the snap is broken”.
Snapd is telling you it encountered an unrecoverable fault while trying to communicate with your storage device.
Interestingly, snap list is still showing rev 3125 as latest/stable and sudo snap refresh reports all snaps up to date. So what happened to this failed rev 3137 whose directory is now partially populated, but has obviously fewer files than the 3125 directory?