Skip to content

Instantly share code, notes, and snippets.

@pauby
Created February 28, 2025 15:32
Show Gist options
  • Save pauby/6cef12ef8affd470e570541d71c951f7 to your computer and use it in GitHub Desktop.
Save pauby/6cef12ef8affd470e570541d71c951f7 to your computer and use it in GitHub Desktop.
Chocolatey CLI issue - Installing the zoomit package from the root of the C: drive
2025-02-28 15:31:23,198 9688 [INFO ] - Chocolatey v2.4.2
2025-02-28 15:31:23,204 9688 [DEBUG] - Chocolatey is running on Windows v 10.0.26100.0
2025-02-28 15:31:23,204 9688 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2025-02-28 15:31:23,206 9688 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2025-02-28 15:31:23,208 9688 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install zoomit -s . --log-file=c:\temp\zoomit-install.log
2025-02-28 15:31:23,210 9688 [DEBUG] - Received arguments: install zoomit -s . --log-file=c:\temp\zoomit-install.log
2025-02-28 15:31:23,233 9688 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2025-02-28 15:31:23,237 9688 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2025-02-28 15:31:23,241 9688 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2025-02-28 15:31:23,269 9688 [DEBUG] - Performing validation checks.
2025-02-28 15:31:23,271 9688 [DEBUG] - Global Configuration Validation Checks:
2025-02-28 15:31:23,271 9688 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2025-02-28 15:31:23,273 9688 [DEBUG] - System State Validation Checks:
2025-02-28 15:31:23,275 9688 [DEBUG] - Reboot Requirement Checks:
2025-02-28 15:31:23,275 9688 [DEBUG] - - Pending Computer Rename = Checked
2025-02-28 15:31:23,277 9688 [DEBUG] - - Pending Component Based Servicing = Checked
2025-02-28 15:31:23,277 9688 [DEBUG] - - Pending Windows Auto Update = Checked
2025-02-28 15:31:23,277 9688 [DEBUG] - - Pending File Rename Operations = Checked
2025-02-28 15:31:23,279 9688 [DEBUG] - - Pending Windows Package Installer = Checked
2025-02-28 15:31:23,279 9688 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2025-02-28 15:31:23,281 9688 [DEBUG] - Cache Folder Lockdown Checks:
2025-02-28 15:31:23,281 9688 [DEBUG] - - Elevated State = Checked
2025-02-28 15:31:23,281 9688 [DEBUG] - - Folder Exists = Checked
2025-02-28 15:31:23,283 9688 [DEBUG] - - Folder lockdown = Checked
2025-02-28 15:31:23,285 9688 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2025-02-28 15:31:23,291 9688 [DEBUG] - The source '.' evaluated to a 'normal' source type
2025-02-28 15:31:23,291 9688 [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.
2025-02-28 15:31:23,297 9688 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\Paul\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='.'|ExplicitSources='.'|SourceType='normal'|
IncludeConfiguredSources='False'|ShowOnlineHelp='False'|Debug='False'|
Verbose='False'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|
DisableCompatibilityChecks='False'|AcceptLicense='False'|
AllowUnofficialBuild='False'|
AdditionalLogFileLocation='c:\temp\zoomit-install.log'|Input='zoomit'|
AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='zoomit'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.26100.0'|
Information.PlatformName='Windows 11'|
Information.ChocolateyVersion='2.4.2.0'|
Information.ChocolateyProductVersion='2.4.2'|
Information.FullName='choco, Version=2.4.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='Paul'|
Information.UserDomainName='DESKTOP-R1OQ5G4'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='False'|Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|Information.CurrentDirectory='C:\'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.UsePackageHashValidation='False'|
ListCommand.LocalOnly='False'|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
UpgradeCommand.IgnorePinned='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='Unknown'|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2025-02-28 15:31:23,297 9688 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2025-02-28 15:31:23,299 9688 [INFO ] - Installing the following packages:
2025-02-28 15:31:23,301 9688 [INFO ] - zoomit
2025-02-28 15:31:23,301 9688 [INFO ] - By installing, you accept licenses for the packages.
2025-02-28 15:31:23,348 9688 [DEBUG] - Process Tree: Chocolatey CLI => Chocolatey CLI => powershell => WindowsTerminal
2025-02-28 15:31:23,354 9688 [DEBUG] - Updating User Agent to 'Chocolatey Command Line/2.4.2 (Chocolatey CLI) via NuGet Client/6.4.1 (Microsoft Windows NT 10.0.26100.0)'.
2025-02-28 15:31:23,382 9688 [WARN ] -
Chocolatey installed 0/0 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2025-02-28 15:31:23,384 9688 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2025-02-28 15:31:23,386 9688 [ERROR] - Source '.' is unable to be parsed
2025-02-28 15:31:23,388 9688 [ERROR] - More Details: System.ApplicationException: Source '.' is unable to be parsed
at chocolatey.infrastructure.app.nuget.NugetCommon.GetRemoteRepositories(ChocolateyConfiguration configuration, ILogger nugetLogger, IFileSystem filesystem)
at chocolatey.infrastructure.app.services.NugetService.Install(ChocolateyConfiguration config, Action`2 continueAction, Action`2 beforeModifyAction)
at chocolatey.infrastructure.app.services.ChocolateyPackageService.Install(ChocolateyConfiguration config)
at chocolatey.infrastructure.app.runners.GenericRunner.Run(ChocolateyConfiguration config, Container container, Boolean isConsole, Action`1 parseArgs)
at chocolatey.infrastructure.app.runners.ConsoleApplication.Run(String[] args, ChocolateyConfiguration config, Container container)
at chocolatey.console.Program.Main(String[] args)
2025-02-28 15:31:23,388 9688 [DEBUG] - Exiting with 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment