Can't install DC through Flatpak/Flathub

Delta Chat version
v1.30.1 (FLATHUB)

Expected behavior

Install DC with: flatpak install flathub chat.delta.desktop

Actual behavior

$ flatpak install flathub chat.delta.desktop
Buscando coincidencias…

chat.delta.desktop permissions:
    ipc      network      pulseaudio      x11      devices      dri     file access [1]     dbus access [2]

    [1] xdg-documents, xdg-download, xdg-music, xdg-pictures, xdg-videos
    [2] org.freedesktop.Notifications


        ID                          Rama           Op         Remoto          Descarga
 1. [✗] chat.delta.desktop          stable         i          flathub         1,0 kB / 116,6 MB

Error: Error deploying: Al intentar revisar 8d60d67c107cb964bc43234e2d56d9190a9600b111e181d25e13a5ae51761236 en /var/lib/flatpak/app/chat.delta.desktop/x86_64/stable/.8d60d67c107cb964bc43234e2d56d9190a9600b111e181d25e13a5ae51761236-0LCYO1: Opening content object c173ba0aa5d7ae7d244a0c3f45cd940b84ca700a0e37aa3bccef7aa60941c7f9: Couldn't find file object 'c173ba0aa5d7ae7d244a0c3f45cd940b84ca700a0e37aa3bccef7aa60941c7f9'
error: Failed to instalar chat.delta.desktop: Error deploying: Al intentar revisar 8d60d67c107cb964bc43234e2d56d9190a9600b111e181d25e13a5ae51761236 en /var/lib/flatpak/app/chat.delta.desktop/x86_64/stable/.8d60d67c107cb964bc43234e2d56d9190a9600b111e181d25e13a5ae51761236-0LCYO1: Opening content object c173ba0aa5d7ae7d244a0c3f45cd940b84ca700a0e37aa3bccef7aa60941c7f9: Couldn't find file object 'c173ba0aa5d7ae7d244a0c3f45cd940b84ca700a0e37aa3bccef7aa60941c7f9'

Things I already tried

$ flatpak repair --user 
Working on the user installation at /home/desktop/.local/share/flatpak
Checking remotes...
Pruning objects
$ flatpak repair 
Working on the system installation at /var/lib/flatpak
[7/23] Verifying flathub:runtime/org.kde.KStyle.Adwaita/x86_64/6.2…
[10/23] Verifying flathub:runtime/org.kde.Platform.Locale/x86_64/6.2…
Checking remotes...
$ sudo flatpak repair 
[sudo] password for machine: 
[7/23] Verifying flathub:runtime/org.kde.KStyle.Adwaita/x86_64/6.2…
[10/23] Verifying flathub:runtime/org.kde.Platform.Locale/x86_64/6.2…
Checking remotes...
Pruning objects
Erasing .removed
$ flatpak uninstall --unused 
Nothing unused to uninstall
$ flatpak uninstall --delete-data
$ flatpak install flathub chat.delta.desktop
Buscando coincidencias…

chat.delta.desktop permissions:
    ipc      network      pulseaudio      x11      devices      dri     file access [1]     dbus access [2]

    [1] xdg-documents, xdg-download, xdg-music, xdg-pictures, xdg-videos
    [2] org.freedesktop.Notifications


        ID                          Rama           Op         Remoto          Descarga
 1. [✗] chat.delta.desktop          stable         i          flathub         1,0 kB / 116,6 MB

Error: Error deploying: Al intentar revisar 8d60d67c107cb964bc43234e2d56d9190a9600b111e181d25e13a5ae51761236 en /var/lib/flatpak/app/chat.delta.desktop/x86_64/stable/.8d60d67c107cb964bc43234e2d56d9190a9600b111e181d25e13a5ae51761236-K58NO1: Opening content object c173ba0aa5d7ae7d244a0c3f45cd940b84ca700a0e37aa3bccef7aa60941c7f9: Couldn't find file object 'c173ba0aa5d7ae7d244a0c3f45cd940b84ca700a0e37aa3bccef7aa60941c7f9'
error: Failed to instalar chat.delta.desktop: Error deploying: Al intentar revisar 8d60d67c107cb964bc43234e2d56d9190a9600b111e181d25e13a5ae51761236 en /var/lib/flatpak/app/chat.delta.desktop/x86_64/stable/.8d60d67c107cb964bc43234e2d56d9190a9600b111e181d25e13a5ae51761236-K58NO1: Opening content object c173ba0aa5d7ae7d244a0c3f45cd940b84ca700a0e37aa3bccef7aa60941c7f9: Couldn't find file object 'c173ba0aa5d7ae7d244a0c3f45cd940b84ca700a0e37aa3bccef7aa60941c7f9'

Everything else (other apps, etc.) seems to be working fine.
This is a Debian Stable box, just in case that’s relevant.

Any ideas? (I’m under the impression that something is not being copied during installation process, but I’m really at a lost here…)

Thanks a lot!

Add --user after flatpak command, so it does not try to install the app system-wide.

E.g.

flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak --user install flathub chat.delta.desktop
1 Like

Hi, @link2xt , thanks a lot for your answer and idea!

I’m still trying to understand and solve the issue at its root (fingers crossed), but if I can’t, I’m gonna use your strategy, which would maybe save the day.

This is where I get so far, in case anyone can have some use of it:

Thanks again!