Closed j86989 closed 1 year ago
The rename()
function does not work across file system boundaries. If your $HOME
is mounted seperately OR /tmp
is a tmpfs, you will see above error. This means tldr will only work successfully in trivial installations, and practically none of the modern Linux distros.
A fix would be to back up with a recursive copy-then-remove if rename()
fails, or just use that in all cases.
Closing as a duplicate of the following:
Progress on this has been made by a contributor here:
Reproduction Rate
I could reproduce the issue each time I tried to update
TLDR
local database.Steps to Reproduce
linuxbrew
. There is installation instruction onhttp://linuxbrew.sh
.TLDR
C++
client:brew update
andbrew install tldr
.TLDR
local database:tldr --update
.Result
Expected Result
Update of
TLDR
local database.Additional Information
Windows Subsystem for Linux, Bash on Ubuntu on Windows
TLDR
C++
has been installed withlinuxbrew
I have tried to update
TLDR
as superuser:There is no error message when I update
TLDR
as superuser but I'm still unable to print anyTLDR
page. Each attempt ends withThis page doesn't exist yet!
error message.