-
-
Notifications
You must be signed in to change notification settings - Fork 389
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
[Bug]: error: mkdir(/home/user/.var/app/org.torproject.torbrowser-launcher/data): Too many levels of symbolic links #5668
Comments
Which of these directories:
is a symbolic link? (I'm guessing at least the last one?) |
symbolic link loop. From the output, the symbolic link org.torproject.torbrowser-launcher inside /home/user/.var/app/ is pointing to itself. |
Did you previously have In that case, What's really curious is that the self-symlink is older than the proper old->new one. flatpak shouldn't have attempted any migration if the new path already existed (even as a broken symlink). How do those timestamps line up with your actions? |
Yes, and it doesnt get deleted anymore if the new version of the TB-launcher been installed and then removed:
Yes but seems there is a loop when this happen?
What happened is this: TB-launcher was initially maintained by Micah Lee. I installed the TB-launcher from his repository. Later, the project shifted to the Tor Project, and the repository upgraded fine automatically within Flatpak. Later, I decided to uninstall the TB-launcher and reinstall it. However, when I tried to install it again, I used Micah Lee's (old) repository. That's when I encountered the issue you see now. |
To be honest, I am not sure how this happens. I have tested the torproject-launcher Flatpak EOL rebase on multiple systems (all running Fedora 39 with btrfs file system) and there was no issue. The old app dir got properly renamed and a symlink to the old name was created. |
I recently encountered this (entirely by accident) with Ptyxis after its eol-rebase from Prompt. I renamed A plausible scenario to trigger this without manually removing the directory is:
I suspect this is exactly what happened to @TNTBOMBOM My plan is to check the symlink target and skip migration it if it points to the new app ID. Additionally, it probably makes sense for |
If the current app data dir is removed, flatpak would try to migrate the symlink that it had previously created, creating a symlink loop. Fixes: flatpak#5668
If the current app data dir is removed, flatpak would try to migrate the symlink that it had previously created, creating a symlink loop. Fixes: flatpak#5668
If the current app data dir is removed, flatpak would try to migrate the symlink that it had previously created, creating a symlink loop. Fixes: #5668
If the current app data dir is removed, flatpak would try to migrate the symlink that it had previously created, creating a symlink loop. Fixes: flatpak#5668 (cherry picked from commit d900529)
If the current app data dir is removed, flatpak would try to migrate the symlink that it had previously created, creating a symlink loop. Fixes: flatpak#5668 (cherry picked from commit d900529)
If the current app data dir is removed, flatpak would try to migrate the symlink that it had previously created, creating a symlink loop. Fixes: flatpak#5668 (cherry picked from commit d900529)
If the current app data dir is removed, flatpak would try to migrate the symlink that it had previously created, creating a symlink loop. Fixes: flatpak#5668 (cherry picked from commit d900529)
If the current app data dir is removed, flatpak would try to migrate the symlink that it had previously created, creating a symlink loop. Fixes: flatpak#5668
Checklist
Flatpak version
1.14.4
What Linux distribution are you using?
Debian
Linux distribution version
12.4
What architecture are you using?
x86_64
How to reproduce
Expected Behavior
Should run properly.
Actual Behavior
Doesnt run.
Additional Information
No response
The text was updated successfully, but these errors were encountered: