{"action":"created","issue":{"url":"https://api.github.com/repos/chocolatey/chocolatey/issues/713","labels_url":"https://api.github.com/repos/chocolatey/chocolatey/issues/713/labels{/name}","comments_url":"https://api.github.com/repos/chocolatey/chocolatey/issues/713/comments","events_url":"https://api.github.com/repos/chocolatey/chocolatey/issues/713/events","html_url":"https://github.com/chocolatey/chocolatey/issues/713","id":114299206,"number":713,"title":"Install Write Error VirtualBox","user":{"login":"creativeknights2012","id":2219442,"avatar_url":"https://avatars.githubusercontent.com/u/2219442?v=3","gravatar_id":"","url":"https://api.github.com/users/creativeknights2012","html_url":"https://github.com/creativeknights2012","followers_url":"https://api.github.com/users/creativeknights2012/followers","following_url":"https://api.github.com/users/creativeknights2012/following{/other_user}","gists_url":"https://api.github.com/users/creativeknights2012/gists{/gist_id}","starred_url":"https://api.github.com/users/creativeknights2012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/creativeknights2012/subscriptions","organizations_url":"https://api.github.com/users/creativeknights2012/orgs","repos_url":"https://api.github.com/users/creativeknights2012/repos","events_url":"https://api.github.com/users/creativeknights2012/events{/privacy}","received_events_url":"https://api.github.com/users/creativeknights2012/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-30T16:03:58Z","updated_at":"2015-10-30T16:12:57Z","closed_at":"2015-10-30T16:12:56Z","body":"Trying to install 'VirtualBox' on Win7 64x \r\n\r\nC:\\Users\\*****>choco install virtualbox -debug\r\nThe default install location has been changed to 'C:\\ProgramData\\chocolatey'.\r\n  This install will be updated to that location in the next version. It\r\n  is strongly suggested you move this installation to the new location\r\n  as soon as possible to limit write access from all users. Do not forget\r\n  to update PATH & ChocolateyInstall environment variables.\r\nDEBUG: Running 'Append-InstallLog' with chocoInstallLog:''\r\nDEBUG: Arguments: $command = 'install'|$force=False\r\n|$prerelease=False|$packageNames='virtualbox'\r\n|$source=''\r\n|$version=''|$allVersions=False\r\n|$overrideArguments=False|$InstallArguments=''\r\n|$localonly=False|$verbosity=False|$debug=True|$quiet=False\r\n|$name=''|$ignoreDependencies=False|$forceX86=False\r\n|$packageParameters=''\r\n|PowerShellVersion=4.0|OSVersion=6.1.7601.65536\r\nDEBUG: Running 'Chocolatey-Install' for 'virtualbox' with source: '', version:\r\n'', installerArguments:''\r\nDEBUG: Running 'Chocolatey-NuGet' for virtualbox with source:''. Force? False\r\nChocolatey (v0.9.8.27) is installing 'virtualbox' and dependencies. By installin\r\ng you accept the license for 'virtualbox' and each dependency you are installing\r\n.\r\nDEBUG: Installing packages to \"C:\\Chocolatey\\lib\".\r\nDEBUG: Running 'Run-NuGet' for virtualbox with source: '', version:''\r\nDEBUG: ___ NuGet ____\r\nDEBUG: Running 'Get-ConfigValue' with configValue:'useNuGetForSources'\r\nDEBUG: Running 'Get-UserConfigValue' with configValue:'useNuGetForSources'\r\nDEBUG: After checking the user config the value of 'useNuGetForSources' is ''\r\nDEBUG: Value not found in the user config file - checking the global config\r\nDEBUG: Running 'Get-GlobalConfigValue' with configValue:'useNuGetForSources'\r\nDEBUG: After checking the global config the value of 'useNuGetForSources' is\r\n'false'\r\nDEBUG: Running 'Get-UserConfigValue' with configValue:'sources'\r\nDEBUG: Running 'Get-GlobalConfigValue' with configValue:'sources'\r\nDEBUG: Using global sources\r\nDEBUG: Using '-Source \"https://chocolatey.org/api/v2/;\"' as the source\r\narguments\r\nDEBUG: Calling 'C:\\Chocolatey\\chocolateyInstall\\nuget.exe' install virtualbox\r\n-OutputDirectory \"C:\\Chocolatey\\lib\" -Source \"https://chocolatey.org/api/v2/;\"\r\n-NonInteractive -NoCache\r\nDEBUG: Installing 'virtualbox 5.0.8.103449'.\r\nSuccessfully installed 'virtualbox 5.0.8.103449'.\r\nDEBUG: Evaluating NuGet output for line: Installing 'virtualbox 5.0.8.103449'.\r\nDEBUG: Evaluating NuGet output for line: Successfully installed 'virtualbox\r\n5.0.8.103449'.\r\nDEBUG: NuGet installed virtualbox. If we are ignoring dependencies (False) then\r\n we will clean this up.\r\n\r\nvirtualbox v5.0.8.103449\r\nDEBUG: Running 'Delete-ExistingErrorLog' for virtualbox\r\nDEBUG: Looking for failure log at\r\n'C:\\Users\\*****\\AppData\\Local\\Temp\\chocolatey\\virtualbox\\failure.log'\r\nDEBUG: Running 'Run-ChocolateyPS1' for virtualbox with\r\npackageFolder:'C:\\Chocolatey\\lib\\virtualbox.5.0.8.103449', action: 'install'\r\nDEBUG:   __ PowerShell install (chocolateyinstall.ps1) __\r\nDEBUG:   Looking for chocolateyinstall.ps1 in folder\r\n'C:\\Chocolatey\\lib\\virtualbox.5.0.8.103449'. If chocolateyinstall.ps1 is found,\r\n it will be run.\r\nDEBUG: Action file is 'chocolateyInstall.ps1'\r\nDEBUG: Running\r\n'C:\\Chocolatey\\lib\\virtualbox.5.0.8.103449\\tools\\chocolateyInstall.ps1'\r\nDEBUG: Running 'Start-ChocolateyProcessAsAdmin' with exeToRun:'powershell',\r\nstatements: 'certutil -addstore 'TrustedPublisher'\r\n'C:\\Chocolatey\\lib\\virtualbox.5.0.8.103449\\tools\\oracle.cer''\r\nDEBUG: Elevating Permissions and running\r\nC:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe -NoProfile\r\n-ExecutionPolicy unrestricted -Command \"& import-module -name\r\n'C:\\Chocolatey\\chocolateyInstall\\helpers\\chocolateyInstaller.psm1';\r\ntry{certutil -addstore 'TrustedPublisher'\r\n'C:\\Chocolatey\\lib\\virtualbox.5.0.8.103449\\tools\\oracle.cer'; start-sleep\r\n6;}catch{write-error 'That was not sucessful';start-sleep 8;throw;}\". This may\r\ntake awhile, depending on the statements.\r\nWrite-Error : [ERROR] Running C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powers\r\nhell.exe with certutil -addstore 'TrustedPublisher' 'C:\\Chocolatey\\lib\\virtualb\r\nox.5.0.8.103449\\tools\\oracle.cer'; was not successful. Exit code was '1'.\r\nAt C:\\Chocolatey\\chocolateyInstall\\helpers\\functions\\Start-ChocolateyProcessAsA\r\ndmin.ps1:46 char:5\r\n+     Write-Error $errorMessage\r\n+     ~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorExcep\r\n   tion\r\n    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio\r\n   n,Write-Error\r\n\r\nDEBUG: Running 'Move-BadInstall' for virtualbox version: '5.0.8.103449',\r\npackageFolder:'C:\\Chocolatey\\lib\\virtualbox.5.0.8.103449'\r\nDEBUG: Moving bad package 'virtualbox v5.0.8.103449' to\r\n'C:\\Chocolatey\\lib-bad'.\r\nWrite-Error : Package 'virtualbox v5.0.8.103449' did not install successfully:\r\n[ERROR] Running C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe with\r\ncertutil -addstore 'TrustedPublisher' 'C:\\Chocolatey\\lib\\virtualbox.5.0.8.10344\r\n9\\tools\\oracle.cer'; was not successful. Exit code was '1'.\r\nAt C:\\Chocolatey\\chocolateyInstall\\functions\\Chocolatey-NuGet.ps1:90 char:17\r\n+                 Write-Error \"Package `'$installedPackageName v$installedPacka\r\ngeV ...\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n~~~\r\n    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorExcep\r\n   tion\r\n    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio\r\n   n,Write-Error\r\n\r\nDEBUG: Evaluating NuGet output for line:\r\nFinished installing 'virtualbox' and dependencies - if errors not shown in conso\r\nle, none detected. Check log for errors if unsure."},"comment":{"url":"https://api.github.com/repos/chocolatey/chocolatey/issues/comments/152569181","html_url":"https://github.com/chocolatey/chocolatey/issues/713#issuecomment-152569181","issue_url":"https://api.github.com/repos/chocolatey/chocolatey/issues/713","id":152569181,"user":{"login":"ferventcoder","id":63502,"avatar_url":"https://avatars.githubusercontent.com/u/63502?v=3","gravatar_id":"","url":"https://api.github.com/users/ferventcoder","html_url":"https://github.com/ferventcoder","followers_url":"https://api.github.com/users/ferventcoder/followers","following_url":"https://api.github.com/users/ferventcoder/following{/other_user}","gists_url":"https://api.github.com/users/ferventcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/ferventcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferventcoder/subscriptions","organizations_url":"https://api.github.com/users/ferventcoder/orgs","repos_url":"https://api.github.com/users/ferventcoder/repos","events_url":"https://api.github.com/users/ferventcoder/events{/privacy}","received_events_url":"https://api.github.com/users/ferventcoder/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T16:12:56Z","updated_at":"2015-10-30T16:12:56Z","body":"Please file a request with the maintainers. This is not the place for package issues. Only if there is an issue with Chocolatey itself. Thanks!"}}