Closed vordenken closed 1 year ago
Hit the same issue on F37 silverblue. When I navigate to the "Updates" tab I also see this:
I cannot tell whether the 'Permission denied' is the same thing as the original report, that might be seen on the gnome-software's terminal, which can be started as these two commands: gnome-software --quit
(to close the current session, if it won't work, then "kill -9 pidof gnome-software
") followed by simple gnome-software
.
The problem with the 'Permission denied' is that the libdnf cache version is outdated and needs rebuilding, but the gnome-software process doesn't have access to the necessary directory/files, because it's not running as a privileged user. It's filled upstream as [1] and it also references [2].
[1] https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1793 [2] https://github.com/fedora-silverblue/issue-tracker/issues/257
The 1793 issue noted by mcrha has been patched. However, it will be in GNOME 44, not any 43.x releases according to contributors in that issue.
So in order for this issue here in Silverblue to be patched... in 43.x to make general day to day updates and upgrades possible to 44 or whatever version is out when 43.x is EOL via gnome-software the Silverblue maintainers will need to pull in what looks like a total of three patches going by the 1793 comments:
I too have the "failed to obtain lock 'metadata'" error string and GUI issues. For what it's worth:
OS version:
BootedDeployment:
● fedora:fedora/37/x86_64/silverblue
Version: 37.20230205.0 (2023-02-05T00:43:31Z)
BaseCommit: 0c6c7982a70b6fec67b9d51c1676f13f86605570f8333ff2f48fa2d0d56a8f47
GPGSignature: Valid signature by ACB5EE4E831C74BB7C168D27F55AD3FB5323552A
LayeredPackages: gnome-shell-extension-appindicator gnome-tweaks ibus-table-code
libappindicator-gtk3 protonvpn
LocalPackages: protonvpn-stable-release-1.0.1-1.noarch
I get this same issue, a broken Software Center as shown in the OP.
This happened immediately after installing/layering a Local Package (Dropbox rpm in this case) on Silverblue. I also notice @sanecito has a local package of proton vpn - perhaps this local package related.
OS version:
Deployments:
● fedora:fedora/37/x86_64/silverblue
Version: 37.20230406.0 (2023-04-06T00:43:29Z)
BaseCommit: ae60887a4bc16a185e680c0de7c9f8c3d6d2172abaf544cf8c945efcb00ebb1a
GPGSignature: Valid signature by ACB5EE4E831C74BB7C168D27F55AD3FB5323552A
LayeredPackages: cascadia-code-fonts distrobox kmod-nvidia langpacks-en_GB xorg-x11-drv-nvidia
LocalPackages: nautilus-dropbox-2022.12.05-1.fc37.x86_64
Running killall gnome-software
then gnome-software --verbose
showed errors:
19:57:17:172 Gs failed to get updates: failed to obtain lock 'metadata': Failed to create file “/var/run/dnf-metadata.lock.19S521”: Permission denied
I fixed this by running rpm-ostree refresh-md
then killall gnome-software
then gnome-software --verbose
again, no errors.
Now Software Center / gnome-software works as expected.
19:57:17:172 Gs failed to get updates: failed to obtain lock 'metadata': Failed to create file “/var/run/dnf-metadata.lock.19S521”: Permission denied
That's fixed in gnome-software 44.0, which is part of Fedora 38, by https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1793
Describe the bug After opening the software center nothing loads - no app names, no thumbnails etc.
To Reproduce Please describe the steps needed to reproduce the bug:
Expected behavior There should be apps listed not just empty thumbnails
Screenshots
OS version:
Additional context