Unable to update com.jetbrains.IntelliJ-IDEA-Community

For some time now I’m unable to update com.jetbrains.IntelliJ-IDEA-Community:

$ flatpak info com.jetbrains.IntelliJ-IDEA-Community

IntelliJ IDEA Community - Capable and Ergonomic Java IDE

          ID: com.jetbrains.IntelliJ-IDEA-Community
         Ref: app/com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 2023.3.1
     License: Apache-2.0
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 2.5 GB
     Runtime: org.freedesktop.Sdk/x86_64/23.08
         Sdk: org.freedesktop.Sdk/x86_64/23.08

      Commit: 86f29a8dd09f14c1991140646765ad58aa4ee46b355057bfd3dbbbc795ccfaf0
      Parent: 36d7405ce7583557f296009cddaa45b2b3757fff505d1c75406339ccf633b987
     Subject: Update IntelliJ IDEA to version 2023.3.1 (083b5292)
        Date: 2023-12-12 18:51:32 +0000

$ flatpak update -vy com.jetbrains.IntelliJ-IDEA-Community
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/christian/.local/share/flatpak
Looking for updates…
F: Fetching summary index file for remote ‘flathub’
F: Loading https://dl.flathub.org/repo/summary.idx using curl
F: Received 10001 bytes
F: Loaded indexed summary file 03536a341c0ea87e641b0d12c849db7f41f661c06a33198c2b39350242a68950 from cache for remote ‘flathub’
F: Transaction: update flathub:app/com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable[*]
F: Looking for remote metadata updates for flathub
F: marking op update:app/com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable resolved to d3f609b3c54fdcf1827636278e4d27b6be5e3f8a82302a106193c5c0f96688da
F: Updating dependency org.freedesktop.Sdk/x86_64/23.08 of com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable
F: Transaction: update flathub:runtime/org.freedesktop.Sdk/x86_64/23.08[$old]
F: marking op update:runtime/org.freedesktop.Sdk/x86_64/23.08 resolved to 2f00425aee448b08810bf671103aef1140d844be0cc88bac7a8c6b6145d16455
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/23.08[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/23.08-extra[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Sdk.Locale/x86_64/23.08[/en]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/23.08[*]
F: marking op install/update:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/23.08 resolved to 2e1d072ca0cb30a7823377765ce9d9a081e4b97f88b14cde1c4c6f932242e048
F: marking op install/update:runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0 resolved to bf24f23f3ba385f6e8c9215ed94d979db99814b0b614504a23a6d0751dc5f063
F: marking op install/update:runtime/org.freedesktop.Sdk.Locale/x86_64/23.08 resolved to 4e1f988e5f4eeb80c65d3f490f5e79711dedce6ed6be4ed6ba13e4bbd8d14b39
F: marking op install/update:runtime/org.freedesktop.Platform.GL.default/x86_64/23.08-extra resolved to e437b679eda2d7eb9f73f5a735a6f323c74c5f3f6758380bded07013eac64192
F: marking op install/update:runtime/org.freedesktop.Platform.GL.default/x86_64/23.08 resolved to d095240fc8e7a7c0889cef1ab561726b0a94304292024f66771fbf1c3d6c3088
F: Checking installation ‘system’ for EOL unused refs
F: Checking installation ‘system’ by checking for dependent refs in ‘user’
F: Checking installation ‘system’ for EOL unused refs
F: Checking installation ‘system’ by checking for dependent refs in ‘user’


 1.             com.jetbrains.IntelliJ-IDEA-Community   stable  u       flathub < 801.5 MB


Updating…
F: Calling system helper: GetRevokefsFd
F: Calling system helper: GetRevokefsFd
F: flatpak_dir_pull: Using commit d3f609b3c54fdcf1827636278e4d27b6be5e3f8a82302a106193c5c0f96688da for pull of ref app/com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable from remote flathub
Updating…                        0%  0 bytes/s
Updating…                        0%
Updating… █▌                     8%
Updating… ██                    10%  882.5 kB/s
F: Calling system helper: CancelPull
F: Calling system helper: CancelPull
Error: While pulling app/com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable from remote flathub: Server returned HTTP 404
Updates complete.
error: There were one or more errors

Does anybody know what’s up with that? flatpak repair comes back with RC 0, so I’d assume that everything is OK. Other applications (e.g. chat.schildi.desktop) could be updated just fine. And com.jetbrains.IntelliJ-IDEA-Community did update fine before, it’s only now that it’s not updating from 2023.3.1 to 2023.3.2.

Short of uninstalling and trying to re-install that application, does anybody have an idea what’s going on here?

Gaah! And minutes after posting this I ran the same through strace(1) which made it progress even further, and exited with a slightly different message:

$ sudo sysctl kernel.yama.ptrace_scope=0
$ strace -tt -s1024 -f -o /tmp/foo flatpak update -vy com.jetbrains.IntelliJ-IDEA-Community
[...]
Updating…
F: Calling system helper: GetRevokefsFd
F: Calling system helper: GetRevokefsFd
fusermount3: mount failed: Operation not permitted
F: flatpak_dir_pull: Using commit d3f609b3c54fdcf1827636278e4d27b6be5e3f8a82302a106193c5c0f96688da for pull of ref app/com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable from remote flathub
Updating…                        0%  0 bytes/s
Updating…                        0%
Updating… █▌                     8%
Updating… █▌                     8%  426.3 kB/s
Updating… ██▊                   14%  8.2 MB/s  00:30
Updating… ███▍                  17%  8.8 MB/s  00:29
Updating… ████                  20%  11.0 MB/s  00:24
Updating… ████                  20%  9.7 MB/s  00:28
Updating… ████▊                 24%  11.3 MB/s  00:22
Updating… █████                 25%  13.1 MB/s  00:21
Updating… █████▍                27%  14.7 MB/s  00:18
Updating… █████▌                28%  11.4 MB/s  00:23
Updating… ██████                30%  11.4 MB/s  00:21
fusermount: failed to unmount /var/tmp/flatpak-cache-TDEZG2/com.jetbrains.IntelliJ-IDEA-Community-KJEZG2: Operation not permitted
Warning: Could not unmount revokefs-fuse filesystem at /var/tmp/flatpak-cache-TDEZG2/com.jetbrains.IntelliJ-IDEA-Community-KJEZG2: Child process exited with code 1
F: Calling system helper: CancelPull
F: Calling system helper: CancelPull
Error: While pulling app/com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable from remote flathub: URI https://dl.flathub.org/repo/deltas/hv/KajdCfFMGZEUBkZ2WtWKpO5Gs1UFe_09u7x5XM+vA-0_YJs8VP3PGCdjYnjk0ntr5eP4qCMCoQYZPFwPlmiNo/4 exceeded maximum size of 2693773 bytes
Updates complete.
error: There were one or more errors

Aha! Downloading that delta worked just fine, so maybe something was wrong with the delta download?

$ flatpak update -vy --no-static-deltas com.jetbrains.IntelliJ-IDEA-Community
[...]
Updating… ███████████████████▏  96%  29.1 MB/s  00:00
Updating… ███████████████████▊  99%  25.9 MB/s  00:00
Updating… ████████████████████ 100%  25.9 MB/s  00:00
F: Calling system helper: Deploy
F: Calling system helper: RunTriggers
F: Calling system helper: PruneLocalRepo
Updates complete.

Did someone say Heisenbug? :slight_smile:

1 Like

I am in a similar situation with Intellij Community, for some reason all my other packages update except for Intellij. It’s been going on for quite a while now, but I’ve been exceedingly lazy about updating, and mostly chocked it up to my trash internet having some weird timeout, since it is probably the largest package I have installed through flatpak. It’s not uncommon, for reasons outside of my control, for large updates to need a few attempts to pass through my absolutely anemic connection.

flatpak info
~> flatpak info com.jetbrains.IntelliJ-IDEA-Community                                                                                                                                                                                                             1  01/25/2024 06:20:11 PM

IntelliJ IDEA Community - Capable and Ergonomic Java IDE

          ID: com.jetbrains.IntelliJ-IDEA-Community
         Ref: app/com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 2023.3.1
     License: Apache-2.0
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 2.5 GB
     Runtime: org.freedesktop.Sdk/x86_64/23.08
         Sdk: org.freedesktop.Sdk/x86_64/23.08

      Commit: 86f29a8dd09f14c1991140646765ad58aa4ee46b355057bfd3dbbbc795ccfaf0
      Parent: 36d7405ce7583557f296009cddaa45b2b3757fff505d1c75406339ccf633b987
     Subject: Update IntelliJ IDEA to version 2023.3.1 (083b5292)
        Date: 2023-12-12 18:51:32 +0000
flatpak update -vy com.jetbrains.IntelliJ-IDEA-Community
~> flatpak update -vy com.jetbrains.IntelliJ-IDEA-Community                                                                                                                                                                                                          01/25/2024 06:24:18 PM
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/monkey/.local/share/flatpak
Looking for updates…
F: Fetching summary index file for remote ‘flathub’
F: Loading https://dl.flathub.org/repo/summary.idx using curl
F: Received 10001 bytes
F: Loading https://dl.flathub.org/repo/summaries/25b60d3dfc822dc70efd58c8c8ba9128cc01b68fd3ec7666b24a2c71bd57fe9c.idx.sig using curl
F: Received 592 bytes
F: Fetching indexed summary delta 5a690fd1a94cd763a9f5045b2b21e9816ab77425641b6ba0ca7b647d7e24cb67-69b3281661813a19ca6f16f731a0a189c201538e0fd75439ad58daf8763879fc.delta for remote ‘flathub’
F: Loading https://dl.flathub.org/repo/summaries/5a690fd1a94cd763a9f5045b2b21e9816ab77425641b6ba0ca7b647d7e24cb67-69b3281661813a19ca6f16f731a0a189c201538e0fd75439ad58daf8763879fc.delta using curl
F: Received 782 bytes
F: Transaction: update flathub:app/com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable[*]
F: Looking for remote metadata updates for flathub
F: marking op update:app/com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable resolved to d3f609b3c54fdcf1827636278e4d27b6be5e3f8a82302a106193c5c0f96688da
F: Updating dependency org.freedesktop.Sdk/x86_64/23.08 of com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable
F: Transaction: update flathub:runtime/org.freedesktop.Sdk/x86_64/23.08[$old]
F: marking op update:runtime/org.freedesktop.Sdk/x86_64/23.08 resolved to 2f00425aee448b08810bf671103aef1140d844be0cc88bac7a8c6b6145d16455
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/23.08[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/23.08-extra[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.GL.nvidia-545-29-06/x86_64/1.4[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Sdk.Locale/x86_64/23.08[/en]
F: Transaction: install/update flathub:runtime/org.gtk.Gtk3theme.Arc-Dark/x86_64/3.22[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Sdk.Compat.i386/x86_64/23.08[*]
F: marking op install/update:runtime/org.freedesktop.Sdk.Compat.i386/x86_64/23.08 resolved to 6844e7bd2677bc6cffeba2af3b7cc81f598a79542a884ed17810d4aabb33b3e5
F: marking op install/update:runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0 resolved to bf24f23f3ba385f6e8c9215ed94d979db99814b0b614504a23a6d0751dc5f063
F: marking op install/update:runtime/org.gtk.Gtk3theme.Arc-Dark/x86_64/3.22 resolved to 7daa4bc08f45b5e9e6dc5907f6f69dd35af43207615c8536da3899cff94e5b8d
F: marking op install/update:runtime/org.freedesktop.Sdk.Locale/x86_64/23.08 resolved to 4e1f988e5f4eeb80c65d3f490f5e79711dedce6ed6be4ed6ba13e4bbd8d14b39
F: marking op install/update:runtime/org.freedesktop.Platform.GL.nvidia-545-29-06/x86_64/1.4 resolved to e1ed69479de573a16992c9379565a5eab47c1aaddf0302374213cd51b1e604ec
F: marking op install/update:runtime/org.freedesktop.Platform.GL.default/x86_64/23.08-extra resolved to e437b679eda2d7eb9f73f5a735a6f323c74c5f3f6758380bded07013eac64192
F: marking op install/update:runtime/org.freedesktop.Platform.GL.default/x86_64/23.08 resolved to d095240fc8e7a7c0889cef1ab561726b0a94304292024f66771fbf1c3d6c3088
F: Checking installation ‘system’ for EOL unused refs
F: Checking installation ‘system’ by checking for dependent refs in ‘user’
F: Checking installation ‘system’ for EOL unused refs
F: Checking installation ‘system’ by checking for dependent refs in ‘user’


 1.	   	com.jetbrains.IntelliJ-IDEA-Community	stable	u	flathub	< 801.5 MB


Updating…
F: Calling system helper: GetRevokefsFd
F: Calling system helper: GetRevokefsFd
F: flatpak_dir_pull: Using commit d3f609b3c54fdcf1827636278e4d27b6be5e3f8a82302a106193c5c0f96688da for pull of ref app/com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable from remote flathub
Updating…                        0%  0 bytes/s
[snip progress bars]
Updating… █████▊                29%  213.6 kB/s  19:08
F: Calling system helper: CancelPull
F: Calling system helper: CancelPull
Error: While pulling app/com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable from remote flathub: Server returned HTTP 404
Updates complete.
error: There were one or more errors
flatpak update -vy --no-static-deltas com.jetbrains.IntelliJ-IDEA-Community
~> flatpak update -vy --no-static-deltas com.jetbrains.IntelliJ-IDEA-Community                                                                                                                                                                                    1  01/25/2024 06:33:27 PM
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/monkey/.local/share/flatpak
Looking for updates…
F: Fetching summary index file for remote ‘flathub’
F: Loading https://dl.flathub.org/repo/summary.idx using curl
F: Received 10001 bytes
F: Loading https://dl.flathub.org/repo/summaries/9a1e80d31ec0e40e7f39080b8e9b296478c704d29e91496bbdc39bd3cbe03632.idx.sig using curl
F: Received 592 bytes
F: Fetching indexed summary delta 69b3281661813a19ca6f16f731a0a189c201538e0fd75439ad58daf8763879fc-712c57e21ec70e56a18c849e512d3b599df64c3b14cef84cc1c7695426ac802b.delta for remote ‘flathub’
F: Loading https://dl.flathub.org/repo/summaries/69b3281661813a19ca6f16f731a0a189c201538e0fd75439ad58daf8763879fc-712c57e21ec70e56a18c849e512d3b599df64c3b14cef84cc1c7695426ac802b.delta using curl
F: Received 608 bytes
F: Transaction: update flathub:app/com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable[*]
F: Looking for remote metadata updates for flathub
F: marking op update:app/com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable resolved to d3f609b3c54fdcf1827636278e4d27b6be5e3f8a82302a106193c5c0f96688da
F: Updating dependency org.freedesktop.Sdk/x86_64/23.08 of com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable
F: Transaction: update flathub:runtime/org.freedesktop.Sdk/x86_64/23.08[$old]
F: marking op update:runtime/org.freedesktop.Sdk/x86_64/23.08 resolved to 2f00425aee448b08810bf671103aef1140d844be0cc88bac7a8c6b6145d16455
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/23.08[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/23.08-extra[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.GL.nvidia-545-29-06/x86_64/1.4[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Sdk.Locale/x86_64/23.08[/en]
F: Transaction: install/update flathub:runtime/org.gtk.Gtk3theme.Arc-Dark/x86_64/3.22[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Sdk.Compat.i386/x86_64/23.08[*]
F: marking op install/update:runtime/org.freedesktop.Sdk.Compat.i386/x86_64/23.08 resolved to 6844e7bd2677bc6cffeba2af3b7cc81f598a79542a884ed17810d4aabb33b3e5
F: marking op install/update:runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0 resolved to bf24f23f3ba385f6e8c9215ed94d979db99814b0b614504a23a6d0751dc5f063
F: marking op install/update:runtime/org.gtk.Gtk3theme.Arc-Dark/x86_64/3.22 resolved to 7daa4bc08f45b5e9e6dc5907f6f69dd35af43207615c8536da3899cff94e5b8d
F: marking op install/update:runtime/org.freedesktop.Sdk.Locale/x86_64/23.08 resolved to 4e1f988e5f4eeb80c65d3f490f5e79711dedce6ed6be4ed6ba13e4bbd8d14b39
F: marking op install/update:runtime/org.freedesktop.Platform.GL.nvidia-545-29-06/x86_64/1.4 resolved to e1ed69479de573a16992c9379565a5eab47c1aaddf0302374213cd51b1e604ec
F: marking op install/update:runtime/org.freedesktop.Platform.GL.default/x86_64/23.08-extra resolved to e437b679eda2d7eb9f73f5a735a6f323c74c5f3f6758380bded07013eac64192
F: marking op install/update:runtime/org.freedesktop.Platform.GL.default/x86_64/23.08 resolved to d095240fc8e7a7c0889cef1ab561726b0a94304292024f66771fbf1c3d6c3088
F: Checking installation ‘system’ for EOL unused refs
F: Checking installation ‘system’ by checking for dependent refs in ‘user’
F: Checking installation ‘system’ for EOL unused refs
F: Checking installation ‘system’ by checking for dependent refs in ‘user’


 1.	   	com.jetbrains.IntelliJ-IDEA-Community	stable	u	flathub	< 801.5 MB


Updating…
F: Calling system helper: GetRevokefsFd
F: Calling system helper: GetRevokefsFd
F: flatpak_dir_pull: Using commit d3f609b3c54fdcf1827636278e4d27b6be5e3f8a82302a106193c5c0f96688da for pull of ref app/com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable from remote flathub
Updating…                        0%  0 bytes/s
[snip progress bars]
Updating… ████████████████████ 100%  449.1 kB/s  00:00
F: Calling system helper: Deploy
F: Calling system helper: RunTriggers
F: Calling system helper: PruneLocalRepo
Updates complete.

The similarities seem to be in us having updated on the same day/version.
Considering identical download percentage failures and the exact same update version, the cause seems to be a missing update delta on the flathub’s end. Which, to be totally honest, is very strange. Why is that update delta missing?

1 Like

I can reproduce this here by installing that app and downgrading to that commit. Attempting to upgrade back yields the same errors you’re getting unless I add --no-static-deltas.

# First attempt:
Error: While pulling app/com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable from remote flathub: URI https://dl.flathub.org/repo/deltas/hv/KajdCfFMGZEUBkZ2WtWKpO5Gs1UFe_09u7x5XM+vA-0_YJs8VP3PGCdjYnjk0ntr5eP4qCMCoQYZPFwPlmiNo/4 exceeded maximum size of 2693773 bytes

# Subsequent attempts:
Error: While pulling app/com.jetbrains.IntelliJ-IDEA-Community/x86_64/stable from remote flathub: Server returned HTTP 404

It’s been reported at:

and:

I agree that this is probably a Flathub infrastructure issue. Should we open a new issue in the main flathub/flathub repo? Or is there a better place?

1 Like

Yeah, reporting this upstream is probably a good idea, I just wanted to ask around if anybode else experiences this before whining in the using the bug tracker. Thanks for the Github links!