Skip to content

Instantly share code, notes, and snippets.

@TheBigBear
Created February 8, 2015 19:07
Show Gist options
  • Save TheBigBear/99d7159d868bb2466974 to your computer and use it in GitHub Desktop.
Save TheBigBear/99d7159d868bb2466974 to your computer and use it in GitHub Desktop.
C:\temp\fakepackage> choco.exe source add -n local -s c:\packages -debug
Chocolatey v0.9.9.0
Chocolatey is running on Windows v 6.2.9200.0
Unpacking helpers\chocolateyInstaller.psm1 to 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'
Unpacking helpers\functions\Get-BinRoot.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Get-BinRoot.ps1'
Unpacking helpers\functions\Get-CheckSumValid.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Get-CheckSumValid.ps1'
Unpacking helpers\functions\Get-ChocolateyUnzip.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Get-ChocolateyUnzip.
ps1'
Unpacking helpers\functions\Get-ChocolateyWebFile.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Get-ChocolateyWebF
ile.ps1'
Unpacking helpers\functions\Get-FtpFile.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Get-FtpFile.ps1'
Unpacking helpers\functions\Get-ProcessorBits.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Get-ProcessorBits.ps1'
Unpacking helpers\functions\Get-UACEnabled.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Get-UACEnabled.ps1'
Unpacking helpers\functions\Get-VirusCheckValid.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Get-VirusCheckValid.
ps1'
Unpacking helpers\functions\Get-WebFile.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Get-WebFile.ps1'
Unpacking helpers\functions\Get-WebHeaders.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Get-WebHeaders.ps1'
Unpacking helpers\functions\Install-ChocolateyDesktopLink.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Install-Ch
ocolateyDesktopLink.ps1'
Unpacking helpers\functions\Install-ChocolateyEnvironmentVariable.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\In
stall-ChocolateyEnvironmentVariable.ps1'
Unpacking helpers\functions\Install-ChocolateyExplorerMenuItem.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Insta
ll-ChocolateyExplorerMenuItem.ps1'
Unpacking helpers\functions\Install-ChocolateyFileAssociation.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Instal
l-ChocolateyFileAssociation.ps1'
Unpacking helpers\functions\Install-ChocolateyInstallPackage.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Install
-ChocolateyInstallPackage.ps1'
Unpacking helpers\functions\Install-ChocolateyPackage.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Install-Chocol
ateyPackage.ps1'
Unpacking helpers\functions\Install-ChocolateyPath.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Install-Chocolate
yPath.ps1'
Unpacking helpers\functions\Install-ChocolateyPinnedTaskBarItem.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Inst
all-ChocolateyPinnedTaskBarItem.ps1'
Unpacking helpers\functions\Install-ChocolateyPowershellCommand.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Inst
all-ChocolateyPowershellCommand.ps1'
Unpacking helpers\functions\Install-ChocolateyShortcut.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Install-Choco
lateyShortcut.ps1'
Unpacking helpers\functions\Install-ChocolateyVsixPackage.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Install-Ch
ocolateyVsixPackage.ps1'
Unpacking helpers\functions\Install-ChocolateyZipPackage.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Install-Cho
colateyZipPackage.ps1'
Unpacking helpers\functions\Start-ChocolateyProcessAsAdmin.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Start-Cho
colateyProcessAsAdmin.ps1'
Unpacking helpers\functions\Uninstall-ChocolateyPackage.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Uninstall-Ch
ocolateyPackage.ps1'
Unpacking helpers\functions\UnInstall-ChocolateyZipPackage.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\UnInstall
-ChocolateyZipPackage.ps1'
Unpacking helpers\functions\Update-SessionEnvironment.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Update-Session
Environment.ps1'
Unpacking helpers\functions\Write-ChocolateyFailure.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Write-Chocolatey
Failure.ps1'
Unpacking helpers\functions\Write-ChocolateySuccess.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Write-Chocolatey
Success.ps1'
Unpacking helpers\functions\Write-FileUpdateLog.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Write-FileUpdateLog.
ps1'
Unpacking helpers\functions\Get-EnvironmentVariable.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Get-EnvironmentV
ariable.ps1'
Unpacking helpers\functions\Get-EnvironmentVariableNames.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Get-Environ
mentVariableNames.ps1'
Unpacking helpers\functions\Set-EnvironmentVariable.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Set-EnvironmentV
ariable.ps1'
Unpacking helpers\functions\Test-ProcessAdminRights.ps1 to 'C:\ProgramData\chocolatey\helpers\functions\Test-ProcessAdmi
nRights.ps1'
Unpacking redirects\choco.exe.ignore to 'C:\ProgramData\chocolatey\redirects\choco.exe.ignore'
Unpacking redirects\chocolatey.exe.ignore to 'C:\ProgramData\chocolatey\redirects\chocolatey.exe.ignore'
Unpacking redirects\cinst.exe.ignore to 'C:\ProgramData\chocolatey\redirects\cinst.exe.ignore'
Unpacking redirects\clist.exe.ignore to 'C:\ProgramData\chocolatey\redirects\clist.exe.ignore'
Unpacking redirects\cpack.exe.ignore to 'C:\ProgramData\chocolatey\redirects\cpack.exe.ignore'
Unpacking redirects\cpush.exe.ignore to 'C:\ProgramData\chocolatey\redirects\cpush.exe.ignore'
Unpacking redirects\cuninst.exe.ignore to 'C:\ProgramData\chocolatey\redirects\cuninst.exe.ignore'
Unpacking redirects\cup.exe.ignore to 'C:\ProgramData\chocolatey\redirects\cup.exe.ignore'
Unpacking redirects\cver.exe.ignore to 'C:\ProgramData\chocolatey\redirects\cver.exe.ignore'
Unpacking tools\7za.exe.ignore to 'C:\ProgramData\chocolatey\tools\7za.exe.ignore'
Unpacking tools\checksum.exe.ignore to 'C:\ProgramData\chocolatey\tools\checksum.exe.ignore'
Unpacking tools\shimgen.exe.ignore to 'C:\ProgramData\chocolatey\tools\shimgen.exe.ignore'
Unpacking tools\7za.exe.manifest to 'C:\ProgramData\chocolatey\tools\7za.exe.manifest'
Unpacking LICENSE.txt to 'C:\ProgramData\chocolatey\LICENSE.txt'
Unpacking tools\7zip.license.txt to 'C:\ProgramData\chocolatey\tools\7zip.license.txt'
Unpacking tools\checksum.license.txt to 'C:\ProgramData\chocolatey\tools\checksum.license.txt'
Unpacking tools\shimgen.license.txt to 'C:\ProgramData\chocolatey\tools\shimgen.license.txt'
Unpacking redirects\choco.exe to 'C:\ProgramData\chocolatey\redirects\choco.exe'
Unpacking redirects\chocolatey.exe to 'C:\ProgramData\chocolatey\redirects\chocolatey.exe'
Unpacking redirects\cinst.exe to 'C:\ProgramData\chocolatey\redirects\cinst.exe'
Unpacking redirects\clist.exe to 'C:\ProgramData\chocolatey\redirects\clist.exe'
Unpacking redirects\cpack.exe to 'C:\ProgramData\chocolatey\redirects\cpack.exe'
Unpacking redirects\cpush.exe to 'C:\ProgramData\chocolatey\redirects\cpush.exe'
Unpacking redirects\cuninst.exe to 'C:\ProgramData\chocolatey\redirects\cuninst.exe'
Unpacking redirects\cup.exe to 'C:\ProgramData\chocolatey\redirects\cup.exe'
Unpacking redirects\cver.exe to 'C:\ProgramData\chocolatey\redirects\cver.exe'
Unpacking tools\7za.exe to 'C:\ProgramData\chocolatey\tools\7za.exe'
Unpacking tools\checksum.exe to 'C:\ProgramData\chocolatey\tools\checksum.exe'
Unpacking tools\shimgen.exe to 'C:\ProgramData\chocolatey\tools\shimgen.exe'
Unpacking redirects\RefreshEnv.cmd to 'C:\ProgramData\chocolatey\redirects\RefreshEnv.cmd'
Command line: "C:\ProgramData\chocolatey\choco.exe" source add -n local -s c:\packages -debug
Received arguments: source add -n local -s c:\packages -debug
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
Configuration: CommandName='source'|ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|Sources='c:\packages'|
Debug='True'|Verbose='False'|Force='False'|Noop='False'|
HelpRequested='False'|RegularOuptut='True'|
PromptForConfirmation='True'|
AcceptLicense='False'|AllowUnofficialBuild='False'|Input='add'|
AllVersions='False'|SkipPackageInstallProvider='False'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|ForceDependencies='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='6.2.9200.0'|
Information.ChocolateyVersion='0.9.9.0'|
Information.ChocolateyProductVersion='0.9.9-97dc88d9'|
Information.FullName='choco, Version=0.9.9.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64Bit='True'|Information.IsInteractive='True'|
Features.AutoUninstaller='True'|Features.CheckSumFiles='True'|
ListCommand.LocalOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|
UpgradeCommand.FailOnUnfound='False'|
NewCommand.AutomaticPackage='False'|SourceCommand.Name='local'|
SourceCommand.Command='add'|FeatureCommand.Command='unknown'|
PushCommand.TimeoutInSeconds='0'|PinCommand.Command='unknown'|
_ Chocolatey:ChocolateySourceCommand - Normal Run Mode _
Chocolatey had an error occur:
System.ArgumentNullException: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at chocolatey.infrastructure.app.services.ChocolateyConfigSettingsService.source_add(ChocolateyConfiguration configur
ation)
at chocolatey.infrastructure.app.runners.GenericRunner.run(ChocolateyConfiguration config, Container container, Boole
an isConsole, Action`1 parseArgs)
at chocolatey.infrastructure.app.runners.ConsoleApplication.run(String[] args, ChocolateyConfiguration config, Contai
ner container)
at chocolatey.console.Program.Main(String[] args)
Exiting with 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment