Adding a remote pointing to the current .flatpakrepo and then attempting to install any Flatpaks within this repository will throw an error and then stop the operation.
Attempting to install any of the Flatpaks from the repository in the COSMIC Store application result in an error about a version of the Freedesktop runtime, which is there even when the specified runtime is installed (the Flatpak in the screenshot being cosmic-utils/clipboard-manager):
Attempting to install a Flatpak from the command line results in a different error, completely ignoring the Freedesktop runtime. Below are examples of the error across three Flatpaks from the repository.
cosmic-utils/clipboard-manager:
(Respective issue: cosmic-utils/clipboard-manager#143)
$ flatpak install --user cosmic io.github.cosmic_utils.cosmic-ext-applet-clipboard-manager
Looking for matches…
io.github.cosmic_utils.cosmic-ext-applet-clipboard-manager permissions:
ipc wayland dbus access [1]
[1] com.system76.CosmicSettingsDaemon
ID Branch Op Remote Download
1. [✗] io.github.cosmic_utils.cosmic-ext-applet-clipboard-manager master i cosmic 1.0 kB / 28.7 MB
error: Failed to install io.github.cosmic_utils.cosmic-ext-applet-clipboard-manager: While pulling app/io.github.cosmic_utils.cosmic-ext-applet-clipboard-manager/x86_64/master from remote cosmic: Writing content object: Corrupted file object; checksum expected='cc700d46f407c6c5ab2d5dde474366a928b7398277e61162e7f8ec06f469f07e' actual='194420d44c511b99b60c2dec54f7f9d14a5bfbeb343da0f7619982209cea443c'
cappsyco/cosmic-applet-logomenu:
(No respective issue currently, to my knowledge)
$ flatpak install --user cosmic co.uk.cappsy.CosmicAppletLogoMenu
Looking for matches…
co.uk.cappsy.CosmicAppletLogoMenu permissions:
ipc fallback-x11 session-bus system-bus wayland
x11 file access [1] dbus access [2]
[1] xdg-config/cosmic
[2] com.system76.CosmicSettingsDaemon, org.freedesktop.DisplayManager, org.freedesktop.Flatpak,
org.freedesktop.ScreenSaver, org.freedesktop.login1
ID Branch Op Remote Download
1. [✗] co.uk.cappsy.CosmicAppletLogoMenu master i cosmic 1.0 kB / 36.8 MB
error: Failed to install co.uk.cappsy.CosmicAppletLogoMenu: While pulling app/co.uk.cappsy.CosmicAppletLogoMenu/x86_64/master from remote cosmic: Writing content object: Corrupted file object; checksum expected='cc700d46f407c6c5ab2d5dde474366a928b7398277e61162e7f8ec06f469f07e' actual='194420d44c511b99b60c2dec54f7f9d14a5bfbeb343da0f7619982209cea443c'
cosmic-utils/minimon-applet:
(Respective issue: cosmic-utils/minimon-applet#76)
$ flatpak install --user cosmic io.github.cosmic_utils.minimon-applet
Looking for matches…
io.github.cosmic_utils.minimon-applet permissions:
ipc fallback-x11 wayland x11 devices
file access [1] dbus access [2]
[1] /sys/class/drm:ro, /sys/class/hwmon:ro, /sys/devices:ro, xdg-config/cosmic
[2] com.system76.CosmicSettingsDaemon, org.freedesktop.Flatpak
ID Branch Op Remote Download
1. [✗] io.github.cosmic_utils.minimon-applet master i cosmic 3.6 kB / 27.4 MB
error: Failed to install io.github.cosmic_utils.minimon-applet: While pulling app/io.github.cosmic_utils.minimon-applet/x86_64/master from remote cosmic: Writing content object: Corrupted file object; checksum expected='cc700d46f407c6c5ab2d5dde474366a928b7398277e61162e7f8ec06f469f07e' actual='194420d44c511b99b60c2dec54f7f9d14a5bfbeb343da0f7619982209cea443c'
The last part of the error suggests an incorrect checksum:
Writing content object: Corrupted file object; checksum expected='cc700d46f407c6c5ab2d5dde474366a928b7398277e61162e7f8ec06f469f07e' actual='194420d44c511b99b60c2dec54f7f9d14a5bfbeb343da0f7619982209cea443c'
This appears to be a distribution-agnostic issue, as the above issues mentioned are on Arch and NixOS respectively. The commands above were run on my desktop Fedora machine, which only had the repository remote added today, and the COSMIC installation from yesterday (not through Fedora's official spin, however, this is from a month-old installation based on the KDE edition. COSMIC was installed from the DNF environment).
Adding a remote pointing to the current
.flatpakrepoand then attempting to install any Flatpaks within this repository will throw an error and then stop the operation.Attempting to install any of the Flatpaks from the repository in the COSMIC Store application result in an error about a version of the Freedesktop runtime, which is there even when the specified runtime is installed (the Flatpak in the screenshot being cosmic-utils/clipboard-manager):
Attempting to install a Flatpak from the command line results in a different error, completely ignoring the Freedesktop runtime. Below are examples of the error across three Flatpaks from the repository.
cosmic-utils/clipboard-manager:
(Respective issue: cosmic-utils/clipboard-manager#143)
cappsyco/cosmic-applet-logomenu:
(No respective issue currently, to my knowledge)
cosmic-utils/minimon-applet:
(Respective issue: cosmic-utils/minimon-applet#76)
The last part of the error suggests an incorrect checksum:
This appears to be a distribution-agnostic issue, as the above issues mentioned are on Arch and NixOS respectively. The commands above were run on my desktop Fedora machine, which only had the repository remote added today, and the COSMIC installation from yesterday (not through Fedora's official spin, however, this is from a month-old installation based on the KDE edition. COSMIC was installed from the DNF environment).