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.
thanks for the tip about storage space, although I do seem to have 100 GB of free space so I do not think this is the issue?
However I noticed I have a filesystem /run/user/1000 it seems to be created by flatpak, and it has 1.6 GB of total space. Should this be a source of worry?
The other advice about deleting the directories does not seem to work either :(