'Discover' updates hang, all flatpak updates slow

I know nothing about what flatpak actually is, but it seems that when I try to update Bazzite on my Ally X via the terminal, the process hang on the portion where it’s looking for flatpak updates. I assume that’s also why updating apps through the desktop mode ‘discover’ window also hangs at like 99%. Started a few days ago.

At one point, there was some sort of ‘time-out’ error, and it said something to the effect of not being to resolve a long URL, so I assumed it was my DNS. I changed it to Google (8.8.8.8) and no luck. Then, I tried it over tethering on my phone rather than my home WiFi, and things seemed to work. I don’t have any website restrictions on my home router, and firmware for it hasn’t been updated in a few months. Started happening after an update earlier last week on my device.

Anyone have a clue as to what the heck is going on?? If not, think I’m just gonna wipe and go back to Windows on the Ally X until a steamOS iso comes out. Just not worth the time.

There is no need to update applications through Discover. The update in Steam Gaming Mode, System Update application, or ujust update command also upgrades them.

If you want an output, try: flatpak update if an application is failing to upgrade.

Thanks so much for your response! I just did the u just update method yesterday and it always seems to hang at the flatpak steps on my home WiFi, but for some reason not on other WiFi networks like my phone. I can only think that somehow the network traffic is being flagged as malicious on a firmware level on my router, which is crazy. Otherwise, is there some terminal command you can suggest for me to wipe any and all traces of saved networks configurations and broken flatpak-related files, to kinda start afresh with both?

Again, thanks so much for your help! I’m very new obviously, but can follow directions decently well.

I’ll post whatever readout comes from the flatpak command you suggested, by the way, in case anyone else has this issue.

Here’s the output when I try to update:

"── 19:39:41 - Flatpak User Packages ────────────────────────────────────────────
Looking for updates…
ID Branch Op Remote Download

  1. [✗] it.mijorus.gearlever.Locale stable u flathub 1.0 kB / 67.1 kB
  2. [✓] org.gnome.Platform.Locale 47 u flathub 2.7 kB / 386.3 MB
  3. [✓] org.gnome.Platform 47 u flathub 9.6 kB / 384.0 MB
  4. it.mijorus.gearlever stable u flathub 1.0 kB / 6.8 MB

Warning: While pulling runtime/it.mijorus.gearlever.Locale/x86_64/stable from remote flathub: While fetching https://dl.flathub.org/repo/config: [28] Timeout was reached
Updating 4/4… 0% 0 bytes/sFlatpak failed:
0: Command failed: /usr/bin/flatpak update --system -y
1: /usr/bin/flatpak failed: exit status: 1

This seems to be a network issue between you and Flatpak.

I’m also having this issue, I have a 28 MB/s connection with my ISP, with Steam being able to handily use it, but flatpak downloads are ridiculously slow, sitting at 78 kB/s.

I’ve also had the issue as described above where flatpak just timesout when download.

I’m noticing this might be specifically happening with the openGL packages

org.freedesktop.Platform.GL.nvidia-565-77

see:

flatpak update
Looking for updates…

Info: (pinned) runtime org.gnome.Platform branch 45 is end-of-life, with reason:
   The GNOME 45 runtime is no longer supported as of September 18, 2024. Please ask your application developer to migrate to a supported platform.


        ID                                                         Branch             Op             Remote             Download
 1. [|] org.freedesktop.Platform.GL32.nvidia-565-57-01             1.4                u              flathub              377.4 kB / 340.4 MB
 2. [ ] org.freedesktop.Platform.GL32.nvidia-565-77                1.4                u              flathub            < 340.3 MB

Updating 1/2… █▌                     8%  188.7 kB/s

While installing something like OnlyOffice is lightning fast

flatpak install flathub org.onlyoffice.desktopeditors
Looking for matches…
Remote ‘flathub’ found in multiple installations:

   1) system
   2) user

Which do you want to use (0 to abort)? [0-2]: 2

org.onlyoffice.desktopeditors permissions:
    ipc     network    pulseaudio    wayland    x11    dri    file access [1]    dbus access [2]

    [1] /tmp, host, xdg-run/gvfs, xdg-run/gvfsd, ~/.local/share/gtk-3.0
    [2] org.gtk.vfs.*


        ID                                      Branch           Op           Remote           Download
 1. [—] org.onlyoffice.desktopeditors           stable           i            flathub          341.5 MB / 404.9 MB

Installing… █████████████████▌    88%  22.8 MB/s  00:02