Unable to get list of updates: Failed to obtain lock 'metadata'
Last few days I'm getting this issue, which prevents me to update Fedora Silverblue 30. Flatpak updates are working fine.
Here is the image of the error, which is shown each time I'm trying to search for updates:
In the journal I see this:
Jun 17 12:59:36 localhost rpm-ostree[2519]: Initiated txn RefreshMd for client(id:gnome-software dbus:1.461 unit:session-2.scope uid:1000): /org/projectatomic/rpmostree1/fedora_workstation
Jun 17 12:59:39 localhost rpm-ostree[2519]: Txn RefreshMd on /org/projectatomic/rpmostree1/fedora_workstation successful
Jun 17 12:59:39 localhost gnome-software[2332]: not GsPlugin error DnfError:26: failed to obtain lock 'metadata': Failed to create file “/var/run/dnf-metadata.lock.8Q0A3Z”: Permission denied
Some investigation:
/var/run
is pointing to /run
, which according to Silverblue documentation is not writable.