dynobo/normcap

[Linux, FlatPak] Trying to update form Flathub. Corrupted checksum

Opened this issue · 3 comments

What happened?

I'm on Nobara v38 KDE. When trying to update NormCap from Flathub, I get the following error.
While pulling app/com.github.dynobo.normcap/x86_64/stable from remote flathub: opcode close: Corrupted file object; checksum expected='955e92999d2a09d5f08b98727539ad4d740c48fddfb8862cf92ca61dcd53ff45' actual='4af044fc2b623ee42dd71a6d01bb2f778790aeab15edf9aa5a30d20efaba6ec9'

How did you install NormCap?

FlatPak (Linux)

Operating System + Version?

Nobara Linux 38 (KDE Plasma) x86_64

[Linux only] Display Server (DS) + Desktop environment (DE)?

DS: Xorg, DE: KDEPlasma 5.27.9

Debug log output?*

No response

dynobo commented

Hi @SampoVirtanen, thanks for reporting this issue.

Unfortunately, I can't reproduce:

$ flatpak install com.github.dynobo.normcap
Looking for matches…
Remotes found with refs similar to ‘com.github.dynobo.normcap’:

   1) ‘flathub’ (system)
   2) ‘flathub’ (user)

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

com.github.dynobo.normcap permissions:
    ipc      network      fallback-x11      wayland      x11      dri      file access [1]     dbus access [2]

    [1] xdg-config/kdeglobals:ro
    [2] com.canonical.AppMenu.Registrar, org.freedesktop.Notifications, org.kde.StatusNotifierWatcher


        ID                                         Branch           Op           Remote            Download
 1. [✓] com.github.dynobo.normcap.Locale           stable           i            flathub            65,3 kB / 63,4 kB
 2. [✓] com.github.dynobo.normcap                  stable           i            flathub           132,6 MB / 139,6 MB

Installation complete.

Are you using a certain tool for installing applications from flathub? Could you try to run flatpak install com.github.dynobo.normcap --verbose and check if there is useful information?

Hi.

I forgot to mention, but I tried to update from both Discover and using flatpak update com.github.dynobo.normcap from the command line. Both gave me the same error.

Here's the output of flatpak install com.github.dynobo.normcap --verbose

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/sampo/.local/share/flatpak
Looking for matches…
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 afdca374561d14a5b3ac73e150108b2432b61010b2a9851856adedd3a1f08c63 from cache for remote ‘flathub’
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 afdca374561d14a5b3ac73e150108b2432b61010b2a9851856adedd3a1f08c63 from cache for remote ‘flathub’
Remotes found with refs similar to ‘com.github.dynobo.normcap’:

   1) ‘flathub’ (system)
   2) ‘flathub’ (user)

Which do you want to use (0 to abort)? [0-2]: 2
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 afdca374561d14a5b3ac73e150108b2432b61010b2a9851856adedd3a1f08c63 from cache for remote ‘flathub’
Skipping: com.github.dynobo.normcap/x86_64/stable is already installed
F: Checking installation ‘user’ for EOL unused refs
F: Checking installation ‘user’ for EOL unused refs

I also tried flatpak update com.github.dynobo.normcap --verbose. Here's the output:

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/sampo/.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 afdca374561d14a5b3ac73e150108b2432b61010b2a9851856adedd3a1f08c63 from cache for remote ‘flathub’
F: Transaction: update flathub:app/com.github.dynobo.normcap/x86_64/stable[*]
F: Looking for remote metadata updates for flathub
F: marking op update:app/com.github.dynobo.normcap/x86_64/stable resolved to 52b04bddb636a27fc66256f83a57a42b1e17e98c9e58cde73c3d51284ae5954c
F: Updating dependency org.kde.Platform/x86_64/6.6 of com.github.dynobo.normcap/x86_64/stable
F: Transaction: update flathub:runtime/org.kde.Platform/x86_64/6.6[$old]
F: marking op update:runtime/org.kde.Platform/x86_64/6.6 resolved to 23107550082daf3b2892a4a0db2543838578ca882340a756b988bc5c1614540c
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-535-113-01/x86_64/1.4[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0[*]
F: Transaction: install/update flathub:runtime/org.gtk.Gtk3theme.Breeze/x86_64/3.22[*]
F: Transaction: install/update flathub:runtime/org.kde.Platform.Locale/x86_64/6.6[/en, /fi]
F: Transaction: install/update flathub:runtime/com.github.dynobo.normcap.Locale/x86_64/stable[/en, /fi]
F: marking op install/update:runtime/com.github.dynobo.normcap.Locale/x86_64/stable resolved to cfc06a5893a7ca172e2d778e3c7358473757019fcc55532e14aa02297b55ea54
F: marking op install/update:runtime/org.kde.Platform.Locale/x86_64/6.6 resolved to adb5d62122008a9c6a95beb3d39e398c96a0e7ff968813c9103a69d42076ec50
F: marking op install/update:runtime/org.gtk.Gtk3theme.Breeze/x86_64/3.22 resolved to 75f273d64aef4ed4f86166e7c7f6ff5ae25922c8826aa7ff55ba9614cd03413c
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.Platform.GL.nvidia-535-113-01/x86_64/1.4 resolved to 1d8bcc7d6b314f624358c409338f6612ec98627d31a0b2a67d32791727026250
F: marking op install/update:runtime/org.freedesktop.Platform.GL.default/x86_64/23.08-extra resolved to a4d8251ee714a4ee46ceea0a11a9ac58d41fac355103675d824d9bb145a58215
F: marking op install/update:runtime/org.freedesktop.Platform.GL.default/x86_64/23.08 resolved to f306d0b0fb572935f2813c1841243bbce7212059095243c6bc6c49bff48fe71b
F: Checking installation ‘user’ for EOL unused refs
F: Checking installation ‘user’ for EOL unused refs


 1.             com.github.dynobo.normcap       stable  u       flathub < 139,6 MB

Proceed with these changes to the user installation? [Y/n]: y
Updating…
F: flatpak_dir_pull: Using commit 52b04bddb636a27fc66256f83a57a42b1e17e98c9e58cde73c3d51284ae5954c for pull of ref app/com.github.dynobo.normcap/x86_64/stable from remote flathub
Updating…                        0%  0 bytes/s
Updating… ████████████████████ 100%
Error: While pulling app/com.github.dynobo.normcap/x86_64/stable from remote flathub: opcode close: Corrupted file object; checksum expected='955e92999d2a09d5f08b98727539ad4d740c48fddfb8862cf92ca61dcd53ff45' actual='4af044fc2b623ee42dd71a6d01bb2f778790aeab15edf9aa5a30d20efaba6ec9'
Updates complete.
error: There were one or more errors
dynobo commented

Hi @SampoVirtanen , thanks for providing the logs.

When you tried flatpak install com.github.dynobo.normcap --verbose, you already had a NormCap version installed, so it just skipped installation, see the line in your first log:

Skipping: com.github.dynobo.normcap/x86_64/stable is already installed

Please try the following:

  1. Remove existing NormCap first:
    flatpak uninstall com.github.dynobo.normcap
    
  2. Confirm, that NormCap isn't installed anymore:
    flatpak list | grep normcap
    
    (should not output anything)
  3. Try the repair option to fix potential inconsistencies:
    flatpak repair --user
    
  4. Install NormCap again with the verbose flag:
    flatpak install com.github.dynobo.normcap --verbose
    

If it still doesn't work, please provide the complete output from step 4.)

I will be curious to hear if that works! 🙂

Edit: Oh, and could you also provide the flatpak version you use?

flatpak --version

(Mine is 1.15.6)