For some time GNOME Software is completely empty for me – there aren’t any apps in any category. The logs mentions a failure to create a lockfile; I tried to report that upstream, but was told that it’s just a system error, some kind of corruption or something.
I tried cleaning up/refreshing the rpmdb, no luck. This is the full log:
❯ rpm -qi gnome-software |grep Version
Version : 3.32.1
❯ killall gnome-software
❯ env LANG=en_US gnome-software
07:52:11:0955 Gs enabled plugins: desktop-categories, fwupd, os-release, shell-extensions, appstream, fedora-pkgdb-collections, desktop-menu-path, epiphany, flatpak, hardcoded-blacklist, hardcoded-featured, hardcoded-popular, modalias, rewrite-resource, rpm-ostree, odrs, provenance, repos, generic-updates, provenance-license, icons, key-colors, key-colors-metadata
07:52:11:0955 Gs disabled plugins: dummy, packagekit, packagekit-local, packagekit-offline, packagekit-proxy, packagekit-refresh, packagekit-upgrade, packagekit-url-to-app, packagekit-refine, packagekit-history, systemd-updates, packagekit-refine-repos
07:52:14:0693 Gs not GsPlugin error DnfError:26: failed to obtain lock 'metadata': Failed to create file ?/var/run/dnf-metadata.lock.V4ZV0Z?: Permission denied
07:52:14:0693 Gs not handling error failed for action refresh: failed to obtain lock 'metadata': Failed to create file ?/var/run/dnf-metadata.lock.V4ZV0Z?: Permission denied
07:52:14:0718 Gs Only 0 apps for recent list, hiding
07:52:14:0904 Gs hiding category productivity featured applications: found only 0 to show, need at least 9
07:52:15:0059 Gs failed to get featured apps: no apps to show
07:52:15:0206 Gs hiding category games featured applications: found only 0 to show, need at least 9
07:52:15:0383 Gs Only 0 apps for popular list, hiding
07:52:15:0570 GLib g_variant_get_double: assertion 'g_variant_is_of_type (value, G_VARIANT_TYPE_DOUBLE)' failed
Any idea what might be wrong?