Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyper V didnt get installed when running dev_web.ps1 #80

Open
ddieppa opened this issue Nov 20, 2018 · 5 comments
Open

Hyper V didnt get installed when running dev_web.ps1 #80

ddieppa opened this issue Nov 20, 2018 · 5 comments
Assignees

Comments

@ddieppa
Copy link

ddieppa commented Nov 20, 2018

boxstarter.log
Was running dev_web.ps1 script and didn't get Hyper V installed, here is what I found in the Boxstarter log;

Installing the following packages:
Microsoft-Hyper-V-All
By installing you accept licenses for the packages.
Microsoft-Hyper-V-All not installed. The package was not found with the source(s) listed.
 If you specified a particular version and are receiving this message, it is possible that the package name exists but the version does not.
 Version: ""
 Source(s): "C:\Users\ddieppa\AppData\Local\Apps\2.0\073JBC6P.X42\WGX1XDKD.9PO\boxs..tion_c786fcdd1652c60a_0002.000c_efda7cf3ed105942\BuildPackages;https://chocolatey.org/api/v2"

Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - Microsoft-Hyper-V-All - Microsoft-Hyper-V-All not installed. The package was not found with the source(s) listed.
 If you specified a particular version and are receiving this message, it is possible that the package name exists but the version does not.
 Version: ""
 Source(s): "C:\Users\ddieppa\AppData\Local\Apps\2.0\073JBC6P.X42\WGX1XDKD.9PO\boxs..tion_c786fcdd1652c60a_0002.000c_efda7cf3ed105942\BuildPackages;https://chocolatey.org/api/v2"
Sending message 'PostRunMessage' out if there are subscribers...
[2018-11-20T08:39:36.2356583-05:00:::PID 6456] Boxstarter: restoring current directory location to C:\Windows\system32
VERBOSE: Boxstarter: restoring current directory location to C:\Windows\system32
[2018-11-20T08:39:36.2512840-05:00:::PID 6456] Boxstarter: Exit Code: 1
VERBOSE: Boxstarter: Exit Code: 1

Attached is the entire Boxstarter log file

Also noticed that after failing running the HyperV.ps1 script, apparently none of the following scripts run: Docker.ps1, WSL.ps1, Browsers.ps1.
Didn't get installed any browser or docker or WSL

@yodurr
Copy link
Contributor

yodurr commented Nov 21, 2018

Hmm, I wonder since we have two possible ways of installing optional features if one is preferred over the other.

@gep13
Copy link
Collaborator

gep13 commented Nov 27, 2018

@ddieppa can you confirm what Operating System you are running this on?

@scadu
Copy link

scadu commented Dec 1, 2018

I reproduced this issue on Windows 10 Pro 10.0.17134.

When running

choco install -y Microsoft-Hyper-V-All --source="'windowsFeatures'"

or

choco install -y Microsoft-Windows-Subsystem-Linux --source="'windowsfeatures'"

outside the Boxstarter it works correctly -- package is being found, feature installed.
The issue occurs when running with Boxstarter. Since it fails silently, the installation has finished with a broken Docker and WSL.

@ddieppa
Copy link
Author

ddieppa commented Dec 6, 2018

sorry for the late response, I am using this:
Microsoft Windows Version 1809 (OS Build 17763.134)

@kuranai
Copy link

kuranai commented Jul 29, 2019

Seems to work when you use choco install -y Microsoft-Hyper-V-All -source windowsFeatures in the HyperV.ps1 file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants