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.

  • BananaTrifleViolin@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    3 days ago

    Is there enough space on your filesystem? That includes your home folder and main root file system?

    If so then i’d deletenor rename folders associated with bottles and try again. If its a user level install check ~/.local/share/Flatpak/app and ~/.var/app and deleteor rename the bottles folder. If its a system wide install look in /var/lib/Flatpak/app

    Then try and install it again. It will create a new set of folders.

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

      Update: Following your advice, I proceeded to delete the files for “bottles” from the repo folder in /var/lib/… and that seems to solve the issue! thanks for the help! :)

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

      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 :(