Unable to install rstudio server in wsl2 -- does not have a release file

I was trying to install rstudio server in the WSL2 by following this instruction: https://support.rstudio.com/hc/en-us/articles/360049776974-Using-RStudio-Server-in-Windows-WSL2

But it says E: The repository 'https://cloud.r-project.org/bin/Linux/ubuntu focal-cran40/ Release' does not have a Release file. just in step 3. I have tried it in two different windows machine. Is there a possible way around this? Thank you.

Best,

I find the fix. Thanks to Jannik

Please check in the following link for those who have similar problem like me:
https://cran.r-project.org/bin/linux/ubuntu/#secure-apt

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.