-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Error: Could Not Rename: ... to ... #95
Comments
To help me understand the actual bug and fixing it, for your setup, do you have |
@MasterOdin Yes, |
Ran into this issue myself, and found another project with the same issue. Apparently, it's a limitation of the My experience with C is very limited, and given that it does not seem like there's a simple, standard, cross-platform way to copy a file, I don't think I am the right person to fix this. |
I noticed this on a fedora, when doing an update with The
|
After some research, I haven't found any reliable cross-platform way to move a directory between different FS, doing it manually in C is error-prone and complicated. Seems like the best way to deal with it is to download a zip file to |
I'm also hitting this. Error: Could Not Rename: /tmp/tldrFB8aMw/tldr-main to /home/taylord/.tldrc/tldr/ My /home is on a separate partition as well. |
Reproduction Rate
On each
tldr <command>
run without local databaseSteps to Reproduce
rm -rf ~/.tldrc
tldr tldr
Result
Couple seconds of delay (downloading the tldr database), then the error message
Error: Could Not Rename: /tmp/tldrXXXXXX/tldr-main to /home/<user>/.tldrc/tldr/
, then the actual tldr page.strace
shows that the rename call fails with EXDEV (Invalid cross-device link).Expected Result
Normal output witout error
Additional Information
Arch Linux, tldr installed from tldr-git
The text was updated successfully, but these errors were encountered: