Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Software Center not loading anything #327

Closed
vordenken opened this issue Aug 18, 2022 · 6 comments
Closed

Software Center not loading anything #327

vordenken opened this issue Aug 18, 2022 · 6 comments
Labels
bug Something isn't working f36 Related to Fedora 36 f37 Related to Fedora 37 upstream Issue reported, fixed or related to upstream projects

Comments

@vordenken
Copy link

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:

  1. Open software center

Expected behavior
There should be apps listed not just empty thumbnails

Screenshots
Screenshot 2022-08-18 at 13 57 01

OS version:

Version: 36.20220818.0

Additional context

@travier travier added f36 Related to Fedora 36 bug Something isn't working labels Aug 19, 2022
@har7an
Copy link

har7an commented Sep 24, 2022

Hit the same issue on F37 silverblue. When I navigate to the "Updates" tab I also see this:

Screenshot from 2022-09-24 08-58-56

@travier travier added need-info Further information is requested f37 Related to Fedora 37 labels Sep 25, 2022
@travier travier changed the title [BUG] Software Center not loading anything Software Center not loading anything Sep 25, 2022
@mcrha
Copy link

mcrha commented Sep 26, 2022

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] #257

@scottAnselmo
Copy link

scottAnselmo commented Feb 7, 2023

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

@hozza
Copy link

hozza commented Apr 8, 2023

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.

@hozza
Copy link

hozza commented Apr 8, 2023

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.

@mcrha
Copy link

mcrha commented Apr 11, 2023

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

@travier travier added upstream Issue reported, fixed or related to upstream projects and removed need-info Further information is requested labels Apr 11, 2023
@travier travier closed this as completed Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working f36 Related to Fedora 36 f37 Related to Fedora 37 upstream Issue reported, fixed or related to upstream projects
Projects
None yet
Development

No branches or pull requests

6 participants