Symptoms
TimelinePi.err.log:
Error: Command failed: powershell.exe -nologo -noprofile -command wsl --distribution Ubuntu redis-server --daemonize yes </span">
"Windows Subsystem for Linux has no installed distributions."
Cause
The dependencies are getting deleted after a successful installation.
Resolution
- Extract the attached libraries inside the Ubuntu folder. Please refer the screenshot at the end of this email.
- Copy libatomic1_10.3.0-1ubuntu1_20.04_amd64.deb and gcc-10-base_10.3.0-1ubuntu1_20.04_amd64.deb to Ubuntu folder from your source folder(This is something where you have pre-requisites).
- Open the PowerShell with administrator mode.
- Execute the below commands one by one.
- ubuntu.exe run "sudo dpkg -i libatomic1_10.3.0-1ubuntu1_20.04_amd64.deb; exit"
- ubuntu.exe run "sudo dpkg -i libhiredis0.14_0.14.0-6_amd64.deb ; exit"
- ubuntu.exe run "sudo dpkg -i libjemalloc2_5.2.1-1ubuntu1_amd64.deb; exit"
- ubuntu.exe run "sudo dpkg -i liblua5.1-0_5.1.5-8.1build4_amd64.deb; exit"
- ubuntu.exe run "sudo dpkg -i lua-bitop_1.0.2-5_amd64.deb; exit"
- ubuntu.exe run "sudo dpkg -i lua-cjson_2.1.0+dfsg-2.1_amd64.deb; exit"
- ubuntu.exe run "sudo dpkg -i redis-tools_6.2.4-1rl1~focal1_amd64.deb; exit"
- ubuntu.exe run "sudo dpkg -i redis-server_6.2.4-1rl1~focal1_amd64.deb; exit"
- ubuntu.exe run "sudo dpkg -i redis_6.2.4-1rl1~focal1_all.deb; exit"
Alternatively, you can perform the repair or reinstallation if Ubuntu installation issue is fixed.
Comments
0 comments
Please sign in to leave a comment.