Wednesday, March 07, 2018
Windows 10 with Ubuntu: Install error CanonicalGroupLimited.UbuntuonWindows cannot be found or cannot be accessed
On Windows 10 Enterprise build 1709 I installed the Windows Subsystem for Linux. Next I open the Microsoft Store and did a search for Ubuntu. That gave me the option to Launch which then triggered the install. The last step was a shell prompt asking me to setup a user and passphrase. After that I could use the Ubuntu command line shell (bash).
Later on, something went wrong and I stopped being able to use Ubuntu. I cannot remember for sure but I think I wanted to uninstall and reinstall. I removed the Windows Subsystem for Linux (control panel>add remove features>turn windows features on or off>Windows Subsystem for Linux - unchecked the box, clicked ok, and rebooted when prompted). I then put back the subsystem by going back and checking the box.
After than, I went to the MS Store and tried to launch Ubuntu. I started getting the error about unable to access ...CanonicalGroupLimited.UbuntuonWindows... from C:\Program Files\WindowsApps. I tried many different recommendations to resolve this issue. I finally found something that worked.
For me, going to the Start Menu on Windows and right clicking the Ubuntu tile and choosing uninstall seemed to remove the bits that were causing this issue. After uninstalling Ubuntu from there (it is not listed in the add remove programs list) I was able to go back to the store, launch, and it reinstalled successfully. Many of the issues described in this thread (and proposed solutions) did not work for me but the above steps did. I did not know about the uninstall by right clicking the tile in the Start Menu. I had thought that maybe there were leftovers in the registry or file system that made Windows think Ubuntu was fully installed when it was not. By being able to trigger the uninstall, that allowed Windows to reinstall and thereby fix the issue. I wanted to share this potential solution as so many other attempted solutions did not work.
The above steps may also work for the other Linux distros in the Microsoft Store, or possibly other MS Store installed apps.
BTW - some people have success by using the diagnostic/repair tool http://aka.ms/diag_apps10
It appears some temp file paths get changed and cause a breakage. For me the repair tool did not work.
Also, the repair tool insisted UAC needed to be enabled for Ubuntu to work but that is not the case. The UAC is not required.
Subscribe to:
Posts (Atom)
New beginner's guide to PowerShell on my GitHub page
I created a beginner's guide to PowerShell here: https://github.com/aamjohns/Powershell_Guide/blob/main/README.md I hope it helps someo...
-
I encountered this error using Office 2016 (32-bit) on Windows 7 x64. Logged on to the system as a User, I opened Control Panel>Mail...
-
Downloads MSI-Installer or Zip of Executable Instruction Manual PDF Description I started creating instructions similar to: Acc...
-
*****Transcode 360 will not work with MyMovies running on 64-bit operating systems. If you are using something like Vista Ultimate 64-bit yo...