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

Flatpak is failing to update #4993

Open
MichaelLieberman opened this issue Feb 25, 2024 · 13 comments
Open

Flatpak is failing to update #4993

MichaelLieberman opened this issue Feb 25, 2024 · 13 comments

Comments

@MichaelLieberman
Copy link

MichaelLieberman commented Feb 25, 2024

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
Copy link
Member

razzeee commented Feb 25, 2024

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

@MichaelLieberman
Copy link
Author

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
Copy link
Member

razzeee commented Feb 25, 2024

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

and your flatpak version

@MichaelLieberman
Copy link
Author

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
Copy link
Author

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
Copy link
Member

razzeee commented Mar 2, 2024

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

@MichaelLieberman
Copy link
Author

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
Copy link
Member

razzeee commented Mar 2, 2024

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

@hfiguiere
Copy link
Contributor

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
Copy link
Author

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
Copy link
Member

razzeee commented Mar 3, 2024

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
Copy link
Author

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants