Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bbigras opened this issue Apr 15, 2021 · 6 comments

Comments

@bbigras
Copy link

bbigras commented Apr 15, 2021

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.

@talyz
Copy link
Collaborator

talyz commented Apr 16, 2021

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

@bbigras
Copy link
Author

bbigras commented Apr 17, 2021

{
  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
Copy link
Author

bbigras commented Aug 14, 2021

Can you reproduce it?

@talyz
Copy link
Collaborator

talyz commented Dec 28, 2021

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 🤷

@slrslr
Copy link

slrslr commented Jan 26, 2022

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?

@guglovich
Copy link

I have the same error on Arch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants