flathub / flathub

Issue tracker and new submissions
https://docs.flathub.org/docs/for-app-authors/submission
GNU Lesser General Public License v2.1
1.15k stars 2.16k forks source link

Flatpak is failing to update #4993

Open MichaelLieberman opened 8 months ago

MichaelLieberman commented 8 months ago

Some things update, and others do not. This has been getting over over the last week. Is Flatpak dying?


1. [✗] io.github.amit9838.mousam.Locale                          stable             u              flathub              1.0 kB / 12.3 kB
 2. [✓] md.obsidian.Obsidian.Locale                               stable             u              flathub              6.7 kB / 3.7 MB
 3. [✓] org.freedesktop.Platform.GL.nvidia-470-161-03             1.4                u              flathub            272.4 MB / 273.3 MB
 4. [✓] org.freedesktop.Platform.GL.nvidia-470-182-03             1.4                u              flathub            271.7 MB / 272.6 MB
 5. [✓] org.freedesktop.Platform.GL.nvidia-470-199-02             1.4                u              flathub            273.3 MB / 274.2 MB
 6. [✓] org.freedesktop.Platform.GL.nvidia-470-223-02             1.4                u              flathub            270.6 MB / 271.5 MB
 7. [✗] io.github.amit9838.mousam                                 stable             u              flathub              3.8 MB / 5.6 MB
 8. [✓] md.obsidian.Obsidian                                      stable             u              flathub             13.5 MB / 192.2 MB
 9. [/] com.brave.Browser                                         stable             u              flathub             30.6 MB / 173.2 MB
10. [ ] org.remmina.Remmina.Locale                                stable             u              flathub            < 1.6 MB (partial)
11. [ ] org.remmina.Remmina                                       stable             u              flathub            < 9.2 MB

warning: While pulling runtime/io.github.amit9838.mousam.Locale/x86_64/stable from remote flathub: While fetching https://dl.flathub.org/repo/config: [28] Timeout was reached
Error: While pulling app/io.github.amit9838.mousam/x86_64/stable from remote flathub: While fetching https://dl.flathub.org/repo/deltas/Av/i7GTn0rPBuE56hRKaPOhCCvRm2Rjwdsgp+N+e8Fkk-Hgin5HCafXsjT5u_E+d2CZmnTkTrItSnoq8VzHso3l4/0: [92] Stream error in the HTTP/2 framing layer
.....
razzeee commented 8 months ago

You probably need to include more infos, like a detailed log, as this might be specific to where you are in the world

MichaelLieberman commented 8 months ago

I am in General Santos Philippines, on a 200MB fiber connection . Here is the syslog portion that I think relates to the attempts yesterday. If you need different logs, please be more specific;

2024-02-23T23:29:06.873875+08:00 blackbox systemd[3054]: Starting flatpak-session-helper.service - flatpak session helper... 2024-02-23T23:29:06.888699+08:00 blackbox dbus-daemon[3086]: [session uid=1000 pid=3086] Successfully activated service 'org.freedesktop.Flatpak' 2024-02-23T23:29:06.888951+08:00 blackbox systemd[3054]: Started flatpak-session-helper.service - flatpak session helper. 2024-02-23T23:29:06.903351+08:00 blackbox systemd[3054]: Started app-flatpak-org.gnome.Evolution-3500.scope. 2024-02-24T01:40:48.730979+08:00 blackbox systemd[3054]: flatpak-session-helper.service: Main process exited, code=exited, status=1/FAILURE 2024-02-24T01:40:48.731235+08:00 blackbox systemd[3054]: flatpak-session-helper.service: Failed with result 'exit-code'. 2024-02-24T01:40:48.882772+08:00 blackbox systemd[3054]: app-flatpak-org.gnome.Evolution-3500.scope: Consumed 26.874s CPU time. 2024-02-24T10:13:26.573233+08:00 blackbox /usr/libexec/gdm-x-session[3377]: dbus-update-activation-environment: setting XDG_DATA_DIRS=/usr/share/mate:/usr/share/gnome:/home/mike/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop 2024-02-24T10:13:26.800115+08:00 blackbox systemd[3140]: Starting xdg-document-portal.service - flatpak document portal service... 2024-02-24T10:13:26.810218+08:00 blackbox systemd[3140]: Started xdg-document-portal.service - flatpak document portal service. 2024-02-24T10:13:28.083481+08:00 blackbox dbus-daemon[3172]: [session uid=1000 pid=3172] Activating via systemd: service name='org.freedesktop.Flatpak' unit='flatpak-session-helper.service' requested by ':1.67' (uid=1000 pid=3596 comm="/usr/bin/flatpak run --branch=stable --arch=x86_64") 2024-02-24T10:13:28.115206+08:00 blackbox systemd[3140]: Starting flatpak-session-helper.service - flatpak session helper... 2024-02-24T10:13:28.133361+08:00 blackbox dbus-daemon[3172]: [session uid=1000 pid=3172] Successfully activated service 'org.freedesktop.Flatpak' 2024-02-24T10:13:28.133527+08:00 blackbox systemd[3140]: Started flatpak-session-helper.service - flatpak session helper. 2024-02-24T10:13:28.148711+08:00 blackbox systemd[3140]: Started app-flatpak-org.gnome.Evolution-3596.scope. 2024-02-24T18:29:35.256964+08:00 blackbox systemd[3140]: Started app-flatpak-net.codeindustry.MasterPDFEditor-17008.scope. 2024-02-24T18:29:35.807174+08:00 blackbox flatpak[17026]: Qt: Session management error: Could not open network socket 2024-02-24T18:29:35.960732+08:00 blackbox flatpak[17026]: OpenSSL version number "300000c0" 2024-02-24T18:29:36.245673+08:00 blackbox flatpak[17026]: 18:29:36 24.02.24 Main: Main window initilization finished 2024-02-24T18:30:08.942422+08:00 blackbox flatpak[17026]: 18:30:08 24.02.24 Autosave Manager: Autosave off, no file was added. 2024-02-24T18:31:36.268451+08:00 blackbox flatpak[17026]: 18:31:36 24.02.24 QDocTab: Saving current document. 2024-02-24T18:31:37.908980+08:00 blackbox flatpak[17026]: 18:31:37 24.02.24 Autosave Manager: Autosave off, no file was added. 2024-02-24T18:31:37.909135+08:00 blackbox flatpak[17026]: 18:31:37 24.02.24 QDocTab: Save successful. 2024-02-24T18:32:12.066635+08:00 blackbox flatpak[17026]: 18:32:12 24.02.24 Autosave Manager: Autosave off, no file was added. 2024-02-24T18:33:11.573757+08:00 blackbox flatpak[17026]: 18:33:11 24.02.24 QDocTab: Saving current document. 2024-02-24T18:33:12.943353+08:00 blackbox flatpak[17026]: 18:33:12 24.02.24 Autosave Manager: Autosave off, no file was added. 2024-02-24T18:33:12.943507+08:00 blackbox flatpak[17026]: 18:33:12 24.02.24 QDocTab: Save successful. 2024-02-24T18:33:16.862177+08:00 blackbox flatpak[17026]: Logger: Logger out 2024-02-24T18:33:16.917980+08:00 blackbox systemd[3140]: app-flatpak-net.codeindustry.MasterPDFEditor-17008.scope: Consumed 7.691s CPU time. 2024-02-24T22:02:57.849536+08:00 blackbox systemd[3140]: flatpak-session-helper.service: Main process exited, code=exited, status=1/FAILURE 2024-02-24T22:02:57.850414+08:00 blackbox systemd[3140]: flatpak-session-helper.service: Failed with result 'exit-code'.

razzeee commented 8 months ago

I guess you were trying to install, so running that with a -vv is probably helpful

and your flatpak version

MichaelLieberman commented 8 months ago

All that didn't update for the last week, updated thirty minutes ago. So though I ran the -vv it really did provide anything useful.

Flatpak 1.14.4

   ID                                         Branch           Op           Remote            Download
  1. [✓] io.github.amit9838.mousam.Locale stable u flathub 1.7 kB / 12.3 kB
  2. [✓] io.github.amit9838.mousam stable u flathub 4.5 MB / 5.6 MB
  3. [✓] com.brave.Browser stable u flathub 135.9 MB / 173.2 MB
  4. [✓] org.remmina.Remmina.Locale stable u flathub 8.6 kB / 1.6 MB
  5. [✓] org.remmina.Remmina stable u flathub 6.9 MB / 9.2 MB
MichaelLieberman commented 7 months ago

You know, even when it is updating, it takes far too slow. When I run apt, I get all I need in less than two or three minutes. Flatpak takes hours.

flatpak

razzeee commented 7 months ago

You should update to the latest version, as that might already solve this

MichaelLieberman commented 7 months ago

My distro is Debian. Do you any upgrade for my distro from this page? https://www.flatpak.org/setup/

I have the most current available via Debian as far as I know.

razzeee commented 7 months ago

Ask debian to update to https://github.com/flatpak/flatpak/releases/tag/1.14.5

hfiguiere commented 7 months ago

Ask debian to update to https://github.com/flatpak/flatpak/releases/tag/1.14.5

likely they WONTFIX. Debian stable is kinda frozen in time.

MichaelLieberman commented 7 months ago

Exactly right. IF Flatpak wants Debian users to upgrade it needs to provide its own way of doing that... Just as Flathub allows for software that it not in the Debian repository or less current ones to be used, it needs to do the same for itself. This is a problem, but in all honestly, I doubt the newer version will fix the speed of update problem.

razzeee commented 7 months ago

Exactly right. IF Flatpak wants Debian users to upgrade it needs to provide its own way of doing that... Just as Flathub allows for software that it not in the Debian repository or less current ones to be used, it needs to do the same for itself. This is a problem, but in all honestly, I doubt the newer version will fix the speed of update problem.

The new version should kill too slow downloads, as you can read in the patch notes...

  /* Abort the download if it’s slower than 10KB/sec for 60 seconds. An example
   * compressed summary file is 1.5MB in size, so anything slower than this rate
   * will mean it takes over 2.5 minutes to download just the summary file. */

So it will at least change things. It's very hard to analyze bugs, if people are running old versions with potentially fixed issues. That's why most projects expect you to also test with the latest version.

MichaelLieberman commented 7 months ago

Sorry but I don't have the requisite skill set to compile the 1.14.5 build as the install-sh require added values and autogen.sh also isn't right. README.md is of no help.

So, no.

BrycensRanch commented 7 months ago

Author

You're right, the lack of support is reprehensible. How dare they not bail you out from your distro's shortcomings. Here's the way to get the package updated. https://wiki.debian.org/DebianTesting

bbhtt commented 1 month ago

Is this still an issue? If it's timing out it's likely an issue with your network or Flathub's CDN provider Fastly in your region.

MichaelLieberman commented 1 month ago

bbhtt, It's sort of hit and miss. Sometimes it's really fast, other times it dribbles in at maybe 12kb/sec for gigabytes worth of updates. It hasn't timed out completely lately. I'm in the Philippines, so, OK, maybe that's an issue, but if there was a better answer than Flatpak I would use it. Just about every time the paks come with warnings such as:

```

Info: runtime org.gnome.Platform branch 44 is end-of-life, with reason: The GNOME 44 runtime is no longer supported as of March 20, 2024. Please ask your application developer to migrate to a supported platform.

razzeee commented 1 month ago

That's not a warning, that's an info, as it says at the start

MichaelLieberman commented 1 month ago

OK, but I get warnings at other times, and that misses the main point of my answer... It's not fast too much of the time.

hfiguiere commented 1 month ago

The speed issue can be many problems, including your government, telcos, poor connectivity in general, etc. The abundance of details (or lack thereof) make it very very difficult to even begin.

MichaelLieberman commented 1 month ago

hfiguiere, True but I have a good FTTH connection, an though there are times my Telco/ISP has problems, I am in fact referencing when all is good and apt upgrades are fast (and this is pretty much all the time) , yet Flatpak is slow.