내가 본 오류 메세지
An unexpected error was encountered while executing a WSL command. Common causes include access rights issues, which occur after waking the computer or not being connected to your domain/active directory.
Please try shutting WSL down (wsl --shutdown) and/or rebooting your computer. If not sufficient, WSL may need to be reinstalled fully. As a last resort, try to uninstall/reinstall Docker Desktop. If the issue persists please collect diagnostics and submit an issue (https://docs.docker.com/desktop/troubleshoot/overview/#diagnose-from-the-terminal).
[https://learn.microsoft.com/ko-kr/windows/wsl/install](WSL을 사용하여 Windows에 Linux를 설치하는 방법)
cmd 관리자 권한으로 실행!!!
1. 깔려있던 우분투 삭제
2. wsl --update --pre-release을 하니 해결된 듯
3. wsl --install
Microsoft Windows [Version 10.0.22621.2215]
(c) Microsoft Corporation. All rights reserved.
C:\Windows\System32>wsl -l -v
Linux용 Windows 하위 시스템에 설치된 배포판이 없습니다.
'wsl.exe --list --online'를 사용하여 사용 가능한 배포판을 나열하고
'wsl.exe --install <Distro>'를 사용하여 설치하세요.
배포판은 Microsoft Store
(https://aka.ms/wslstore)를
방문하여 설치할 수도 있습니다.
Error code: Wsl/WSL_E_DEFAULT_DISTRO_NOT_FOUND
C:\Windows\System32>wsl --set-default-version 2
WSL 2와의 주요 차이점에 대한 자세한 내용은 ://aka.ms/wsl2를 참조하세요
작업을 완료했습니다.
C:\Windows\System32>wsl --install -d ubuntu
Ubuntu이(가) 이미 설치되어 있습니다.
Ubuntu을(를) 시작하는 중...
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x800700c1
Error: 0x800700c1 (null)
Press any key to continue...
C:\Windows\System32>
C:\Windows\System32>wsl --update --pre-release
업데이트 확인 중입니다.
Linux용 Windows 하위 시스템 버전으로 업데이트하는 중: 1.3.17.
^C=========================55.1% ]
C:\Windows\System32>wsl --update --pre-release
업데이트 확인 중입니다.
Linux용 Windows 하위 시스템 버전으로 업데이트하는 중: 1.3.17.
C:\Windows\System32>wsl --update --pre-release
업데이트 확인 중입니다.
Linux용 Windows 하위 시스템 최신 버전이 이미 설치되어 있습니다.
C:\Windows\System32>wsl --install
설치 중: Ubuntu
Ubuntu이(가) 설치되었습니다.
Ubuntu을(를) 시작하는 중...
Installing, this may take a few minutes...
Please create a default UNIX user account. The username does not need to match your Windows username.
For more information visit: https://aka.ms/wslusers
Enter new UNIX username: taegyeong
New password:
Retype new password:
passwd: password updated successfully
wsl: localhost 릴레이 프로세스를 시작하지 못했습니다. 오류: %1은(는) 올바른 Win32 응용 프로그램이 아닙니다.
Installation successful!
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
Welcome to Ubuntu 22.04.2 LTS (GNU/Linux 5.15.90.4-microsoft-standard-WSL2 x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
This message is shown once a day. To disable it please create the
/home/taegyeong/.hushlogin file.
taegyeong@DESKTOP-STDVSLI:~$ pwd
/home/taegyeong
taegyeong@DESKTOP-STDVSLI:~$
밑에 난 오류 해결법은 ...
"%1 is not a valid Win32-Application." 해결법