Created
July 25, 2016 20:25
-
-
Save normanhh3/645c4d0b1b0593c0ceb4c3af5e9a2a83 to your computer and use it in GitHub Desktop.
Chocolatey Install Failure with NuGet XSD processing Error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Windows\system32>choco install git -debug -verbose | |
VERBOSE: Loading module from path | |
'C:\Chocolatey\chocolateyinstall\helpers\chocolateyInstaller.psm1'. | |
VERBOSE: Importing function 'Get-BinRoot'. | |
VERBOSE: Importing function 'Get-ChocolateyUnzip'. | |
VERBOSE: Importing function 'Get-ChocolateyWebFile'. | |
VERBOSE: Importing function 'Get-ProcessorBits'. | |
VERBOSE: Importing function 'Install-ChocolateyDesktopLink'. | |
VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'. | |
VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'. | |
VERBOSE: Importing function 'Install-ChocolateyFileAssociation'. | |
VERBOSE: Importing function 'Install-ChocolateyInstallPackage'. | |
VERBOSE: Importing function 'Install-ChocolateyPackage'. | |
VERBOSE: Importing function 'Install-ChocolateyPath'. | |
VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'. | |
VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'. | |
VERBOSE: Importing function 'Install-ChocolateyVsixPackage'. | |
VERBOSE: Importing function 'Install-ChocolateyZipPackage'. | |
VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'. | |
VERBOSE: Importing function 'Uninstall-ChocolateyPackage'. | |
VERBOSE: Importing function 'Update-SessionEnvironment'. | |
VERBOSE: Importing function 'Write-ChocolateyFailure'. | |
VERBOSE: Importing function 'Write-ChocolateySuccess'. | |
VERBOSE: Importing function 'Write-Debug'. | |
VERBOSE: Importing function 'Write-Error'. | |
VERBOSE: Importing function 'Write-Host'. | |
DEBUG: Running 'Append-InstallLog' with chocoInstallLog:'' | |
DEBUG: Arguments: $command = | |
'install'|$packageNames='git'|$source=''|$version=''|$allVersions=False|$Instal | |
lArguments=''|$overrideArguments=False|$force=False|$prerelease=False|$localonl | |
y=False|$verbosity=True|$debug=True|$name=''|$ignoreDependencies=False|$forceX8 | |
6=False|$packageParameters=''|PowerShellVersion=4.0 | |
DEBUG: Invoke-ChocolateyFunction is calling: | |
$ChocoFunction='Chocolatey-Install'|@paramlist='@paramlist' | |
DEBUG: Running 'Chocolatey-Install' for 'git' with source: '', version: '', | |
installerArguments:'' | |
DEBUG: Running 'Chocolatey-NuGet' for git with source:''. Force? False | |
Chocolatey (v0.9.8.23) is installing 'git' and dependencies. By installing you a | |
ccept the license for 'git' and each dependency you are installing. | |
DEBUG: Installing packages to "C:\Chocolatey\lib". | |
DEBUG: Running 'Run-NuGet' for git with source: '', version:'' | |
DEBUG: ___ NuGet ____ | |
DEBUG: Running 'Get-ConfigValue' with configValue:'useNuGetForSources' | |
DEBUG: Running 'Get-UserConfigValue' with configValue:'useNuGetForSources' | |
DEBUG: After checking the user config the value of 'useNuGetForSources' is '' | |
DEBUG: Value not found in the user config file - checking the global config | |
DEBUG: Running 'Get-GlobalConfigValue' with configValue:'useNuGetForSources' | |
DEBUG: After checking the global config the value of 'useNuGetForSources' is | |
'false' | |
DEBUG: Running 'Get-UserConfigValue' with configValue:'sources' | |
DEBUG: Running 'Get-GlobalConfigValue' with configValue:'sources' | |
DEBUG: Using global sources | |
DEBUG: Using '-Source "https://chocolatey.org/api/v2/" ' as the source | |
arguments | |
DEBUG: Calling 'C:\Chocolatey\chocolateyinstall\nuget.exe' install git | |
-Outputdirectory "C:\Chocolatey\lib" -Source "https://chocolatey.org/api/v2/" | |
-NonInteractive -NoCache | |
DEBUG: Attempting to resolve dependency 'git.install (= 2.9.2)'. | |
DEBUG: Caught 'The element 'metadata' in namespace | |
'http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd' has invalid child | |
element 'projectSourceUrl' in namespace | |
'http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd'. List of possible | |
elements expected: 'frameworkAssemblies, dependencies, copyright, releaseNotes, | |
references, language' in namespace | |
'http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd'. | |
' | |
The element 'metadata' in namespace 'http://schemas.microsoft.com/packaging/2010 | |
/07/nuspec.xsd' has invalid child element 'projectSourceUrl' in namespace 'http: | |
//schemas.microsoft.com/packaging/2010/07/nuspec.xsd'. List of possible elements | |
expected: 'frameworkAssemblies, dependencies, copyright, releaseNotes, referenc | |
es, language' in namespace 'http://schemas.microsoft.com/packaging/2010/07/nuspe | |
c.xsd'. | |
Command 'install' failed (sometimes this indicates a partial failure). Additiona | |
l info/packages: git | |
DEBUG: Exiting with non-zero exit code. | |
Reading environment variables from registry. Please wait... Done. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment