GNOME Software breaks on Fedora Silverblue when using DNF repo files with repo_gpgcheck=1
Follows from this Fedora Silverblue issue: https://github.com/fedora-silverblue/issue-tracker/issues/295
On Fedora Silverblue 36 which currently has GNOME Software v42.3, using DNF repo files with repo_gpgcheck=1
results in GNOME Software breaking and not listing any applications.
To reproduce:
- Install a
.repo
file that usesrepo_gpgcheck=1
. The Tailscale one is a good example.
$ cd /etc/yum.repos.d
$ curl -O https://pkgs.tailscale.com/stable/fedora/tailscale.repo
- Restart and open GNOME Software. Observe that no software is listed and errors in logs.
$ gnome-software --quit
$ gnome-software
19:38:15:0450 Gs /etc/PackageKit/Vendor.conf file not found
19:38:18:0616 Gs failed to get popular apps: failed to obtain lock 'metadata': Failed to create file “/var/run/dnf-metadata.lock.S0DQO1”: Permission denied
19:38:19:0106 Gs failed to get featured apps: failed to obtain lock 'metadata': Failed to create file “/var/run/dnf-metadata.lock.7C51O1”: Permission denied
19:38:19:0628 Gs failed to get recent apps: failed to obtain lock 'metadata': Failed to create file “/var/run/dnf-metadata.lock.5UTQO1”: Permission denied
19:38:19:0651 Gs ignoring unknown or empty provided item type: font
19:38:19:0887 Gs ignoring unknown or empty provided item type: font
19:38:19:0887 Gs ignoring unknown or empty provided item type: font
19:38:20:0376 Gs Failed to get system: Failed to refine '*/*/*/system/*': failed to obtain lock 'metadata': Failed to create file “/var/run/dnf-metadata.lock.ZKJ6O1”: Permission denied
19:38:22:0390 Gs failed to get installed apps: failed to obtain lock 'metadata': Failed to create file “/var/run/dnf-metadata.lock.4KP7O1”: Permission denied
19:38:23:0736 Gs updates-shell: failed to get updates: failed to obtain lock 'metadata': Failed to create file “/var/run/dnf-metadata.lock.RE6SO1”: Permission denied