Self-Update not working (for a while) because of permissions issue. first issue because /etc/systemd/system was immutable, second yet to found
I didn’t find other logs that may explain issue. The system works fine. I plan to get upgraded to latest LTS but not immediately.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.5 LTS
Release: 22.04
Codename: jammy
$ snap version
snap 2.77.1+ubuntu22.04.1
snapd 2.77.1+ubuntu22.04.1
series 16
ubuntu 22.04
kernel 5.15.0-198-generic
architecture amd64
$ sudo snap refresh
error: cannot perform the following tasks:
- Mount snap "snapd" (28254) (open /etc/systemd/system/snap-snapd-28254.mount.438385185~: operation not permitted)
$ snap changes
ID Status Spawn Ready Summary
1910 Error today at 09:40 UTC today at 09:40 UTC Refresh snaps "canonical-livepatch", "core", "core18", "core20", "core22", "lxd", "nextcloud", "snapd"
1911 Error today at 09:43 UTC today at 09:43 UTC Refresh snaps "canonical-livepatch", "core", "core18", "core20", "core22", "lxd", "nextcloud", "snapd"
$ snap list
Name Version Rev Tracking Publisher Notes
canonical-livepatch 10.11.9 364 latest/stable canonical** -
core 16-2.61.4-20250626 17247 latest/stable canonical** core
core18 20251001 2959 latest/stable canonical** base
core20 20250822 2682 latest/stable canonical** base
core22 20250923 2139 latest/stable canonical** base
lxd 4.0.10-d342340 32662 4.0/stable/_ canonical** -
snapd 2.72 25577 latest/stable canonical** snapd
$ sudo snap refresh
error: cannot perform the following tasks:
- Mount snap "snapd" (28254) (open /etc/systemd/system/snap-snapd-28254.mount.1126087939~: operation not permitted)
$ sudo chattr -i /etc/systemd/system
$ sudo snap refresh
error: cannot perform the following tasks:
- Mount snap "snapd" (28254) (systemctl command [--no-reload enable snap-snapd-28254.mount] failed with exit status 1: stderr:
Failed to enable unit: Access denied)
$ systemctl status snap-snapd-28254.mount
Unit snap-snapd-28254.mount could not be found.
$ sudo snap refresh
error: cannot perform the following tasks:
- Mount snap "snapd" (28254) (systemctl command [--no-reload enable snap-snapd-28254.mount] failed with exit status 1: stderr:
Failed to enable unit: Access denied)
same error message present in journald snapd without anything more. no verbose option for snap refresh