UPDATE: Resolved by deleting all files in /var and ~/.local that are related to bottles. It did not work until I deleted them from the repos directory too.

I tried to install bottles via flatpak, but I get the error:

Error: Error pulling from repo: While pulling app/com.usebottles.bottles/x86_64/stable from remote flathub: Opening content object fdb9f1f85b66889bd0dcced24c4fda571f2fcbddfe0af7176fa33a46953d2038: Opening content object fdb9f1f85b66889bd0dcced24c4fda571f2fcbddfe0af7176fa33a46953d2038: Couldn't find file object 'fdb9f1f85b66889bd0dcced24c4fda571f2fcbddfe0af7176fa33a46953d2038'
error: Failed to install com.usebottles.bottles: Error pulling from repo: While pulling app/com.usebottles.bottles/x86_64/stable from remote flathub: Opening content object fdb9f1f85b66889bd0dcced24c4fda571f2fcbddfe0af7176fa33a46953d2038: Opening content object fdb9f1f85b66889bd0dcced24c4fda571f2fcbddfe0af7176fa33a46953d2038: Couldn't find file object 'fdb9f1f85b66889bd0dcced24c4fda571f2fcbddfe0af7176fa33a46953d2038'

I have received such an error before, and usually running flatpak repair fixes it. But that is not working right now.

What else I tried?

flatpak uninstall --unused flatpak update flatpak update --appstream running all the commands as root

More about my system: I am using gentoo, but I did not think it would matter since the point of flatpak is this separation layer it has.

  • matcha_addictOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 days ago

    Deleting the bottles directories from the repos directory seems to fix it, thanks for the advice!