アンインストールしてもフォルダーが残っていて、これが原因で失敗するらしい。
削除することで無事再インストールできた。
再インストール時のエラー
Code: 0x80073D05 |
残っていたフォルダー
PS C:\Users\yu-ji> gci -Recurse -Path $ENV:APPDATA\..\Local\Packages\TheDebianProject* | sort gci : Access to the path 'C:\Users\yu-ji\AppData\Local\Packages\TheDebianProject.DebianGNULinux_76v4gfsz19hv4\SystemApp Data\Helium\Cache' is denied. At line:1 char:1 + gci -Recurse -Path $ENV:APPDATA\..\Local\Packages\TheDebianProject* | ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : PermissionDenied: (C:\Users\yu-ji\...ta\Helium\Cache:String) [Get-ChildItem], Unauthoriz edAccessException + FullyQualifiedErrorId : DirUnauthorizedAccessError,Microsoft.PowerShell.Commands.GetChildItemCommand Directory: C:\Users\yu-ji\AppData\Local\Packages\TheDebianProject.DebianGNULinux_76v4gfsz19hv4 Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 2020/06/04 4:08 SystemAppData Directory: C:\Users\yu-ji\AppData\Local\Packages\TheDebianProject.DebianGNULinux_76v4gfsz19hv4\SystemAppData Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 2018/03/10 12:07 Helium Directory: C:\Users\yu-ji\AppData\Local\Packages\TheDebianProject.DebianGNULinux_76v4gfsz19hv4\SystemAppData\Helium Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 2018/03/10 12:07 Cache -a---- 2018/03/10 12:07 8192 User.dat -a---- 2018/03/10 12:07 8192 UserClasses.dat Directory: C:\Users\yu-ji\AppData\Local\Packages\TheDebianProject.DebianGNULinux_76v4gfsz19hv4 Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 2018/03/10 12:07 TempState
残っていたフォルダーを消す
PS C:\Users\yu-ji> ri -Recurse -Path $ENV:APPDATA\..\Local\Packages\TheDebianProject* -Force ri : Access to the path 'C:\Users\yu-ji\AppData\Local\Packages\TheDebianProject.DebianGNULinux_76v4gfsz19hv4\SystemAppD ata\Helium\Cache' is denied. At line:1 char:1 + ri -Recurse -Path $ENV:APPDATA\..\Local\Packages\TheDebianProject* -F ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : PermissionDenied: (C:\Users\yu-ji\...x_76v4gfsz19hv4:String) [Remove-Item], Unauthorized AccessException + FullyQualifiedErrorId : RemoveItemUnauthorizedAccessError,Microsoft.PowerShell.Commands.RemoveItemCommandHelium の中が消せないので Explorer から手動で権限を取得して削除して…
PS C:\Users\yu-ji> ri -Recurse -Path $ENV:APPDATA\..\Local\Packages\TheDebianProject* -Force PS C:\Users\yu-ji> gci -Recurse -Path $ENV:APPDATA\..\Local\Packages\TheDebianProject* | sort PS C:\Users\yu-ji>
再インストールする
This product is installed. |
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: yu-ji New password: Retype new password: passwd: password updated successfully Installation successful! yu-ji@Cxaxukluth:~$ uname -a Linux Cxaxukluth 4.19.104-microsoft-standard #1 SMP Wed Feb 19 06:37:35 UTC 2020 x86_64 GNU/Linuxできた。
PS C:\Users\yu-ji> wsl --list --verbose NAME STATE VERSION * Ubuntu Stopped 2 Debian Running 2
0 件のコメント:
コメントを投稿