stable
FEDORA-2022-1ed936a3ac created by otaylor 8 months ago for Fedora 36

This update fixes a number of problems with the fedora-third-party package which is used to manage third-party RPM and Flatpak repositories.

  • Fixes a regression in fedora-third-party-0.9.1 where fedora-third-party would crash frequently on some systems when run by GNOME Software to list repositories.
  • Fixes crashes that occured if the Flatpak installation was corrupted (the installation will still need to be fixed separately.)
  • Fixes a problem where if the system was installed with Fedora 35 and the user opted out from Third Party Repositories, the "Fedora Flathub Selection" repository wouldn't be available in the third-party repository dialog.

Testing instructions

  • To test fix for bz#2071250:
    • install this package
    • install the full Flathub remote from flathub.org
    • check that 'fedora-third-party list' doesn't crash
  • To check robustness improvements from bz#2035611 (on a scratch install)
    • install package from this update
    • flatpak remote-delete flathub
    • rm /var/lib/fedora-third-party/state
    • break the flatpak installation by mv /var/lib/flatpak/repo/objects /var/lib/flatpak/repo/objects.bak
    • check that fedora-third-party list doesn't crash
    • check that fedora-third-party enable doesn't crash, but warns
    • unbreak the flatpak installation by mv /var/lib/flatpak/repo/object.bak /var/lib/flatpak/repo/objects
    • fedora-third-party refresh
    • Check that flatpak remote-list now shows a filtered flathub repository
  • To test the improvement to bz#2011274,
    • install a system with Fedora 35, opting out from third-party repositories, note that "Fedora Flathub Selection" does not appear in the GNOME Software repositories dialog
    • Upgrade to Fedora 36 and the repository should still be missing.
    • Install the package from this update
    • run 'dnf reinstall fedora-flathub-remoteto to triggerfedora-third-party refresh` - the repository should now be present.

How to install

sudo dnf upgrade --refresh --advisory=FEDORA-2022-1ed936a3ac

This update has been submitted for testing by otaylor.

8 months ago

This update's test gating status has been changed to 'ignored'.

8 months ago
User Icon kparal commented & provided feedback 8 months ago
karma

I tested upgrading from F36 Beta and from F35. In both cases, just installing fedora-third-party-0.10-1.fc36 created the "Fedora Flathub Selection" option in gnome-software. It was not needed to run "dnf reinstall fedora-flathub-remote" as the update description claims.

BZ#2011274 flathub filtered repo seems missing from F35 install

This update has been pushed to testing.

8 months ago
User Icon andilinux commented & provided feedback 8 months ago
karma

works for me great

This update can be pushed to stable now if the maintainer wishes

8 months ago
User Icon lruzicka commented & provided feedback 8 months ago
karma

ok

This update has been submitted for stable by bodhi.

8 months ago

This update has been pushed to stable.

8 months ago

Please login to add feedback.

Metadata
Type
bugfix
Severity
high
Karma
3
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
7 days
Dates
submitted
8 months ago
in testing
8 months ago
in stable
8 months ago
BZ#2011274 flathub filtered repo seems missing from F35 install
0
1
BZ#2035611 Gracefully handle failure of `flatpak remotes` due to corrupted Flatpak directories
0
0
BZ#2071250 [abrt] fedora-third-party: get_flatpak_remotes(): repository.py:74:get_flatpak_remotes:ValueError: not enough values to unpack (expected 3, got 2)
0
0

Automated Test Results