Search notes:

wsl --install: Failed to install … from the Microsoft Store: The server name or address could not be resolved

PS C:\WINDOWS\system32> wsl --install OracleLinux_8_10
wsl: Using legacy distribution registration. Consider using a tar based distribution instead.
Failed to install OracleLinux_8_10 from the Microsoft Store: The server name or address could not be resolved
Attempting web download...
Downloading: Oracle Linux 8.10
Installing: Oracle Linux 8.10
Oracle Linux 8.10 has been downloaded.
Distribution successfully installed. It can be launched via 'wsl.exe -d Oracle Linux 8.10'
Launching Oracle Linux 8.10...
Hmm …
PS C:\WINDOWS\system32> wsl
Windows Subsystem for Linux has no installed distributions.
You can resolve this by installing a distribution with the instructions below:
Still with administrator privileges:
C:\WINDOWS\system32> cp C:\Program Files\WindowsApps\3810OracleAmericaInc.OracleLinux8.10_8.10.0.0_x64__dm28ctvqnhe9g\install.tar.gz C:\Users\rene\wsl\distros\
Now, as myself, which finally installs the required version.
C:\Users\rene> wsl --import Oracle.8.10 C:\Users\rene\wsl\distros\Oracle.10.8 .\install.tar.gz

TODO

Is the missing -d option to wsl --install the cause of this problem

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:51 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(51): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(66): id_of(Object(PDO), 'uri', '/notes/Windows/...') #2 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Windows/...', 1759399718, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #3 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/dirs/Windows/System32/wsl_exe/install/Failed-to-install_from-the-Microsoft-Store(57): insert_webrequest() #4 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 51