Open SpiderUnderUrBed opened 2 weeks ago
hey @SpiderUnderUrBed
Is this expected behavior from uninstallUnmanaged when a remote suggested from a flatpakref file isnt also listed explictly under "remotes"?
What you experience is not expected behaviour, and unfortunately I am unable to reproduce it in my test envs.
Could you maybe share some more verbose systemd/journald logs, and the whole content of /nix/store/3w9yrhksarir324f0r01nvg349x7xlvg-flatpak-managed-install
?
As a last resort, could you try starting from a fresh system? Meaning: manually removing all unmanaged remotes and deleting /nix/var/nix/gcroots/flatpak-state.json
?
https://pastebin.com/hqDp4Cda ^ content of /nix/store/3w9yrhksarir324f0r01nvg349x7xlvg-flatpak-managed-install https://pastebin.com/BPs4zLhk ^ journalctl logs going back 500.
This is what happens which I tried what you said: https://pastebin.com/RDMJ6Ywe
Also uninstalled remotes should have been removed automatically, and to my knowlage they have, given this happens with my flatpakref install, the error must lie with that.
This is what happens which I tried what you said: https://pastebin.com/RDMJ6Ywe
You removed nix-flatpak's state file, but I'm afraid you may still have 'org.vinegarhq.Sober' installed from previous installations (either manually or via nix-flatpak).
Oct 30 09:09:48 daspidercave f3szjfavynaafcvixr7jxyyhqcf50a3c-flatpak-managed-install[12356]: error: No remote refs found for ‘org.vinegarhq.Sober’
You are seeing this message because nix-flatpak found 'org.vinegarhq.Sober' already present in your system (using flatpak list --app
) and is attempting to reinstall it from the URI rather than the provided flatpakref file (and thus also installing the remote).
I was able to repro under these conditions.
Could you:
org.vinegarhq.Sober
.sober
remote present in your system.And just to be sure: point nix-flatpak to https://sober.vinegarhq.org/sober.flatpakref, instead of a local file (unlikely to be an issue, unless you modified sober.flatpakref
).
I will test all of that later, I suspect another issue is happening when it comes to flatpak refs updating, I have to manually uninstall the flatpak then re-install the flatpak ref when i want to update, any idea on why this is?
I'm testing a fix. I should have patch incoming sometimes this week.
What I stated on the title is what I am assuming to happen given that until the recent pull request, I got a diffrent kind of error on how it was unable to remove the remote. I realize that I need to figure out why nix-flatpak wants to remove the remote from my flatpakref and I cannot figure it out. I stated I had a issue like this earlier, here is the error:
And here is the flatpak.nix file: https://pastebin.com/XMY5iwmu
Is this expected behavior from uninstallUnmanaged when a remote suggested from a flatpakref file isnt also listed explictly under "remotes"?