this post was submitted on 27 Jan 2025
15 points (94.1% liked)

Linux

49393 readers
1748 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] BananaTrifleViolin@lemmy.world 2 points 2 days ago* (last edited 2 days ago) (2 children)

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_addict@lemy.lol 1 points 2 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_addict@lemy.lol 1 points 2 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 :(