Cant install
Critified opened this issue · 2 comments
Critified commented
I have tried multiple times to install it, i even completely removed all WSL garbage off my system, tried reinstalling ubuntu, etc but every single time I end up with this sort of odd error. Suggestions please?
[ the generic ubuntu wsl installs works completely fine, opening gui apps works fine too , thus i am a bit puzzled. ]
[kWSL Installer 20210701]
Enter a unique name for your kWSL distro or hit Enter to use default. Keep this name simple, no space or underscore characters [kWSL]: KDENEON Port number for xRDP traffic or hit Enter to use default [3399]: Port number for SSHd traffic or hit Enter to use default [3322]: Set a custom DPI scale, or hit Enter for Windows default [1]: [Not recommended!] Type X to eXclude from Windows Defender:
Installing kWSL Distro [KDENEON] to "C:\KDENEON"
This will take a few minutes, please wait...
[19:48:53] Installing Ubuntu 20.04 LTS (~1m30s)
[ERROR] Couldn't get the value "DistributionName" of the registry key "Software\Microsoft\Windows\CurrentVersion\Lxss\AppxInstallerCache".
Reason: The system cannot find the file specified.
[19:48:54] Git clone and update repositories (~1m15s)
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
[19:48:54] Remove un-needed packages (~1m30s)
[19:48:54] Configure apt-fast Downloader (~0m45s)
[19:48:55] Remote Desktop Components (~2m45s)
[19:48:55] KDE Neon 5.22 User Edition (~11m30s)
[19:48:55] Install Web Browser and CRD (~1m30s)
[19:48:55] Final clean-up (~0m45s)
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
Enter name of primary user for KDENEON: chris
Enter password for chris: *******
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
There is no distribution with the supplied name.
Open Windows Firewall Ports for xRDP, SSH, mDNS...
Building RDP Connection file, Console link, Init system...
Copy-Item : Cannot find path 'C:\KDENEON\KDENEON (chris) Desktop.rdp' because it does not exist.
At line:1 char:1
+ Copy-Item 'C:\KDENEON\KDENEON (chris) Desktop.rdp' ([Environment]::Ge ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\KDENEON\KDENEON (chris) Desktop.rdp:String) [Copy-Item], ItemNotFoun
dException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
Building Scheduled Task...
Get-Content : Cannot find path 'C:\KDENEON\rootfs\tmp\kWSL\kWSL.xml' because it does not exist.
At line:1 char:20
+ $WAI = (whoami) ; (Get-Content .\rootfs\tmp\kWSL\kWSL.xml).replace('A ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\KDENEON\rootfs\tmp\kWSL\kWSL.xml:String) [Get-Content], ItemNotFound
Exception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand
You cannot call a method on a null-valued expression.
At line:1 char:19
+ ... (whoami) ; (Get-Content .\rootfs\tmp\kWSL\kWSL.xml).replace('AAAA', ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Get-Content : Cannot find path 'C:\KDENEON\rootfs\tmp\kWSL\kWSL.xml' because it does not exist.
At line:1 char:20
+ $WAC = (pwd) ; (Get-Content .\rootfs\tmp\kWSL\kWSL.xml).replace('Q ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\KDENEON\rootfs\tmp\kWSL\kWSL.xml:String) [Get-Content], ItemNotFound
Exception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand
You cannot call a method on a null-valued expression.
At line:1 char:19
+ ... (pwd) ; (Get-Content .\rootfs\tmp\kWSL\kWSL.xml).replace('QQQQ', ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
ERROR: The system cannot find the path specified.
Start: 03/11/2021 @ 19:48
End: 03/11/2021 @ 19:48
There is no distribution with the supplied name.
- xRDP Server listening on port 3399 and SSHd on port 3322.
- Links for GUI and Console sessions have been placed on your desktop.
- (Re)launch init from the Task Scheduler or by running the following command:
schtasks /run /tn KDENEON
KDENEON Installation Complete! GUI will start in a few seconds...
DesktopECHO commented
Hi, another user saw this issue: #8 (comment)
The fix was to delete the AppxInstallerCache key.
Critified commented
ok thanks