You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could reproduce the issue each time I tried to update TLDR local database.
Steps to Reproduce
Install Windows Subsystem for Linux.
Install Ubuntu on Windows.
Run Bash on Ubuntu on Windows.
Install linuxbrew. There is installation instruction on http://linuxbrew.sh.
Install TLDRC++ client: brew update and brew install tldr.
Try to update TLDR local database: tldr --update.
Result
$ tldr --update
Error: Could Not Rename: /tmp/tldrElmG3W/tldr-master to /mnt/d/joachim/.tldrc/tldr-master/
Expected Result
Update of TLDR local database.
Additional Information
Windows Subsystem for Linux, Bash on Ubuntu on Windows TLDRC++ has been installed with linuxbrew
I have tried to update TLDR as superuser:
$ sudo tldr --update
[sudo] password for joachim:
There is no error message when I update TLDR as superuser but I'm still unable to print any TLDR page. Each attempt ends with This page doesn't exist yet! error message.
The text was updated successfully, but these errors were encountered:
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.
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:$ sudo tldr --update [sudo] password for joachim:
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.The text was updated successfully, but these errors were encountered: