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

Backport rpm-ostree, gnome-software patches to fix upgrade blocking bug in time for 43.4 #412

Closed
scottAnselmo opened this issue Feb 5, 2023 · 4 comments
Labels
bug Something isn't working f37 Related to Fedora 37 need-info Further information is requested

Comments

@scottAnselmo
Copy link

scottAnselmo commented Feb 5, 2023

Describe the bug
gnome-software is using libdnf directly and trying to access rpm-ostree's caches which prevents gnome-software from getting updates currently and will block users from easily upgrading with gnome-software from 43 to 44

Screenshots
image

image
(Metadata screenshot not taken by me, but the "failed to obtain lock 'metadata'" error string is what can be displayed)

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

Theoretically any version that has this commit: https://gitlab.gnome.org/GNOME/gnome-software/-/commit/e6c3d4d616ec5575b6400221d5613505029debf6

Additional context

There are already patches for this bug, but they are only included in 44 with no plans by Gnome contributors to patch into 43.x. General recommendation by Philip Withnall (and others): "If it’s an important fix for Silverblue users, then the Fedora distro packagers might want to consider backporting it in their packaging." 1 month ago
The gnome-software bug is recorded here:
https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1793
Based on my understanding of the patch writers the following three patches would need to be backported to Silverblue running 43.x:

@scottAnselmo scottAnselmo added the bug Something isn't working label Feb 5, 2023
@travier
Copy link
Member

travier commented Feb 5, 2023

It's not clear from your report which version of Silverblue is impacted.

@travier travier added the need-info Further information is requested label Feb 5, 2023
@scottAnselmo
Copy link
Author

Updated ticket to have more specific Silverblue version info, not just the bug inducing commit in gnome-software

@travier
Copy link
Member

travier commented Feb 6, 2023

This looks a lot like:

Is this an error that you are experiencing right now? Again, it's not clear from your report.

@travier travier added the f37 Related to Fedora 37 label Feb 6, 2023
@scottAnselmo
Copy link
Author

scottAnselmo commented Feb 7, 2023

I am still seeing the issue which is why I'm trying to raise it before the last point release of 43.x making it more difficult to have a patch in 43.x that allows for easy upgrades to 44 via gnome-software. Thanks for catching this being a duplicate; looks like I missed because the key text I was using to search: "failed to obtain lock 'metadata'" wasn't used in that open issue.

Closing and moving info including the known, documented solution (backporting the patches found in 44's planned release) to the older open issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working f37 Related to Fedora 37 need-info Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants