Resolution of any Ubuntu error (or most of them that are related to WSL/Ubuntu installation)


In case any error occurs during opening Ubuntu.exe from C:\Program Files (x86)\Ubuntu

Or Any error related to Ubuntu, WLS, or Redis


The following errors might occur:


WslRegistredDistribution failed with error: 0x80070057

Error: 0x80070057 The parrameter is incorrect

2023-01-17 09_44_03-Amazon WorkSpaces.png

The specified network name is no longer available

Press any key to continue...



The specified network name is no longer available.




In most cases, they are related to incorrectly installed Ubuntu, Redis, or WSL or corruption of the files


  1. Stop TimelinePI service 
  2. Open PowerShell as Administrator
  3. Run
    wslconfig /u Ubuntu
     In order to unregister the Ubuntu 
  4. After Ubuntu successfully unregistered navigate (In PowerShell with the help of the "cd" command ) to the Ubuntu folder (By default it is: C:\Program Files (x86)\Ubuntu)
  5. Run the following command
    .\ubuntu.exe install --root 2>&1
     In order to install Ubuntu correctly 
  6. Once it is installed download from this article and extract files to the Ubuntu folder. Also, copy (from the Source folder) and paste the following files to the Ubuntu folder as well
    Note: You can download them from this article (Attached at the bottom)
  7. Execute the below commands one by one in Powershell.
    1. ubuntu.exe run "sudo dpkg -i libatomic1_10.3.0-1ubuntu1_20.04_amd64.deb; exit"
    2. ubuntu.exe run "sudo dpkg -i libhiredis0.14_0.14.0-6_amd64.deb ; exit"
    3. ubuntu.exe run "sudo dpkg -i libjemalloc2_5.2.1-1ubuntu1_amd64.deb; exit"
    4. ubuntu.exe run "sudo dpkg -i liblua5.1-0_5.1.5-8.1build4_amd64.deb; exit"
    5. ubuntu.exe run "sudo dpkg -i lua-bitop_1.0.2-5_amd64.deb; exit"
    6. ubuntu.exe run "sudo dpkg -i lua-cjson_2.1.0+dfsg-2.1_amd64.deb; exit"
    7. ubuntu.exe run "sudo dpkg -i redis-tools_6.2.4-1rl1~focal1_amd64.deb; exit"
    8. ubuntu.exe run "sudo dpkg -i redis-server_6.2.4-1rl1~focal1_amd64.deb; exit"
    9. ubuntu.exe run "sudo dpkg -i redis_6.2.4-1rl1~focal1_all.deb; exit"
  8. After you execute them all, navigate to the Ubuntu folder (via File Explorer) and open Ubuntu (The default folder is: C:\Program Files (x86)\Ubuntu)
  9. Enter the following command in the Ubuntu
    service redis-server status
    Note: If you see the following message "redis server is not running"proceed with the instructions. If the status is Running proceed from step 12
  10. Run
    service redis-server start
    command (If you see the following error"Starting redis-server: start-stop-daemon: matching on world-writable pid file /var/run/redis/ is insecure failed"proceed with the instructions)  If there is no error, proceed from step 12
  11. Navigate to the following directory
    cd /var/run/redis
    and run
    chmod 644
  12. Try to start the Redis again
    service redis-server start
  13. Check the status of Redis
    service redis-server status
    also, you can run
    and then run
    (you should get PONG in response) 
  14. Start TimelinePI service



Additionally, there might be cases when some of the files initially are missing such as libatomic1_10.3.0-1ubuntu1_20.04_amd64.deb or gcc-10-base_10.3.0-1ubuntu1_20.04_amd64.deb 

Please manually copy them to the Ubuntu folder. A zip archive with all possibly missing files is attached 


Have more questions? Submit a request



Please sign in to leave a comment.

Recently viewed