Bootstrap installation failing
While installing using bootstrap, it can't install.
I ran the command
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
It keeps on failing showing the error curl: (23) Failure writing output to destination
Here is the complete output
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 21.4M 100 21.4M 0 0 2908k 0 0:00:07 0:00:07 --:--:-- 3064k
[ Info ] Upgrading GHCup...
[ Info ] downloading: https://downloads.haskell.org/~ghcup/0.1.15.2/x86_64-linux-ghcup-0.1.15.2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Failed to create the file /tmp/ghcup-6227f8e26152f01a/ghcup: No such
Warning: file or directory
0 21.4M 0 1362 0 0 21967 0 0:17:05 --:--:-- 0:17:05 21967
curl: (23) Failure writing output to destination
[ Error ] Download failed: Process "curl" with arguments ["-fL","-o","/tmp/ghcup-6227f8e26152f01a/ghcup","https://downloads.haskell.org/~ghcup/0.1.15.2/x86_64-linux-ghcup-0.1.15.2"] failed with exit code 23.
"_eghcup upgrade" failed!
I've tried manually downloading the file and putting it to bin folder in ~/.ghcup
folder, but it still shows the same error.