impermanence icon indicating copy to clipboard operation
impermanence copied to clipboard

flatpak: ~/.local/share/flatpak/repo: opening repo: opendir(objects): No such file or directory

Open bbigras opened this issue 4 years ago • 6 comments

Anyone using impermanence with flatpak?

I got:

flatpak install com.valvesoftware.Steam

error: While opening repository /home/bbigras/.local/share/flatpak/repo: opening repo: opendir(objects): No such file or directory

I tried with home.persistence and environment.persistence.

bbigras avatar Apr 15 '21 20:04 bbigras

I haven't tried using flatpak with impermanence yet. Can you post a more detailed configuration, so I can attempt to reproduce it?

talyz avatar Apr 16 '21 09:04 talyz

{
  services.flatpak.enable = true;
  users.users.bbigras.extraGroups = [ "flatpak" ];

  environment.persistence."/persist" = {
    directories = [
      "/var/lib/flatpak"
    ];
  };

  home.persistence."/persist/home/bbigras" = {
    directories = [
      ".cache/flatpak"
      ".local/share/flatpak"
    ];
  };
}

then run:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install com.valvesoftware.Steam

bbigras avatar Apr 17 '21 07:04 bbigras

Can you reproduce it?

bbigras avatar Aug 14 '21 19:08 bbigras

Sorry I haven't responded earlier. I have now tried to reproduce this issue, but can't. At least with the code in #62. I don't know why that PR would have solved this; maybe it was solved prior to it or the issue was solved in flatpak :shrug:

talyz avatar Dec 28 '21 20:12 talyz

On Debian 11 stable i am seeing the error in title also. Here is the full output is here after "apt install flatpak" and trying to "flatpak search XY".

UPDATE: this error was caused by missing "sudo " before the command. Can this be fixed so the error better suggest that i have no permission and need sudo?

slrslr avatar Jan 26 '22 15:01 slrslr

I have the same error on Arch

guglovich avatar Jul 15 '22 02:07 guglovich