Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created November 18, 2023 10:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save choco-bot/9a5c9f2cdfda10ea2ecb38587a062677 to your computer and use it in GitHub Desktop.
Save choco-bot/9a5c9f2cdfda10ea2ecb38587a062677 to your computer and use it in GitHub Desktop.
cabal v3.10.2.0 - Passed - Package Tests Results

cabal v3.10.2.0 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/cabal/3.10.2.0
  • Tested 18 Nov 2023 10:57:01 +00:00
  • Tested against win2012r2x64 (Windows Server 2012 R2 x64)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v1.0.1
  • Install was successful.
  • Uninstall was successful.
2023-11-18 10:55:54,489 5472 [DEBUG] - XmlConfiguration is now operational
2023-11-18 10:55:54,739 5472 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-11-18 10:55:54,739 5472 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-11-18 10:55:54,754 5472 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-11-18 10:55:54,754 5472 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-11-18 10:55:54,754 5472 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-11-18 10:55:54,771 5472 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-11-18 10:55:54,771 5472 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-11-18 10:55:54,771 5472 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-11-18 10:55:54,786 5472 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-11-18 10:55:54,786 5472 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-11-18 10:55:54,786 5472 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2023-11-18 10:55:55,442 5472 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-18 10:55:55,442 5472 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-18 10:55:55,442 5472 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-18 10:55:55,458 5472 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-18 10:55:55,458 5472 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-18 10:55:55,458 5472 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-18 10:55:55,473 5472 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-18 10:55:55,473 5472 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-18 10:55:55,473 5472 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-18 10:55:55,473 5472 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-18 10:55:55,505 5472 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-11-18 10:55:55,505 5472 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-11-18 10:55:55,520 5472 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-11-18 10:55:55,520 5472 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-11-18 10:55:55,520 5472 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-11-18 10:55:55,520 5472 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-11-18 10:55:55,535 5472 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-11-18 10:55:55,535 5472 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-11-18 10:55:55,535 5472 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-11-18 10:55:55,535 5472 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-11-18 10:55:55,551 5472 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-11-18 10:55:55,551 5472 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-11-18 10:55:55,551 5472 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-11-18 10:55:55,551 5472 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-11-18 10:55:55,567 5472 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-11-18 10:55:55,567 5472 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-11-18 10:55:55,567 5472 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-11-18 10:55:55,583 5472 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-11-18 10:55:55,583 5472 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-11-18 10:55:55,583 5472 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-11-18 10:55:55,879 5472 [INFO ] - ============================================================
2023-11-18 10:55:56,192 5472 [INFO ] - Chocolatey v2.2.2
2023-11-18 10:55:56,224 5472 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-11-18 10:55:56,224 5472 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-11-18 10:55:56,239 5472 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-11-18 10:55:56,271 5472 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install cabal --version 3.10.2.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-11-18 10:55:56,271 5472 [DEBUG] - Received arguments: install cabal --version 3.10.2.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-11-18 10:55:56,395 5472 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-11-18 10:55:56,427 5472 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-11-18 10:55:56,459 5472 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-11-18 10:55:56,693 5472 [DEBUG] - Performing validation checks.
2023-11-18 10:55:56,707 5472 [DEBUG] - Global Configuration Validation Checks:
2023-11-18 10:55:56,707 5472 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-11-18 10:55:56,724 5472 [DEBUG] - System State Validation Checks:
2023-11-18 10:55:56,739 5472 [DEBUG] - Reboot Requirement Checks:
2023-11-18 10:55:56,754 5472 [DEBUG] - - Pending Computer Rename = Checked
2023-11-18 10:55:56,754 5472 [DEBUG] - - Pending Component Based Servicing = Checked
2023-11-18 10:55:56,770 5472 [DEBUG] - - Pending Windows Auto Update = Checked
2023-11-18 10:55:56,770 5472 [DEBUG] - - Pending File Rename Operations = Ignored
2023-11-18 10:55:56,770 5472 [DEBUG] - - Pending Windows Package Installer = Checked
2023-11-18 10:55:56,786 5472 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-11-18 10:55:56,802 5472 [DEBUG] - Cache Folder Lockdown Checks:
2023-11-18 10:55:56,802 5472 [DEBUG] - - Elevated State = Checked
2023-11-18 10:55:56,802 5472 [DEBUG] - - Folder Exists = Checked
2023-11-18 10:55:56,833 5472 [DEBUG] - - Folder lockdown = Checked
2023-11-18 10:55:56,848 5472 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2023-11-18 10:55:56,879 5472 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-11-18 10:55:56,896 5472 [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.
2023-11-18 10:55:56,926 5472 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|ShowOnlineHelp='False'|Debug='True'|Verbose='True'|
Trace='False'|Force='True'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='cabal'|
Version='3.10.2.0'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
PackageNames='cabal'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='2.2.2.0'|
Information.ChocolateyProductVersion='2.2.2'|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-795AN2HB72Q'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|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='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
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'|
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'|
2023-11-18 10:55:56,943 5472 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-11-18 10:55:56,959 5472 [INFO ] - Installing the following packages:
2023-11-18 10:55:56,975 5472 [INFO ] - cabal
2023-11-18 10:55:56,975 5472 [INFO ] - By installing, you accept licenses for the packages.
2023-11-18 10:55:57,020 5472 [DEBUG] - Current environment values (may contain sensitive data):
2023-11-18 10:55:57,020 5472 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-11-18 10:55:57,020 5472 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-11-18 10:55:57,036 5472 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-11-18 10:55:57,036 5472 [DEBUG] - * 'ChocolateyLastPathUpdate'='133446964561319202' ('User')
2023-11-18 10:55:57,036 5472 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-11-18 10:55:57,051 5472 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-11-18 10:55:57,051 5472 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-11-18 10:55:57,051 5472 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2023-11-18 10:55:57,068 5472 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-11-18 10:55:57,068 5472 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-11-18 10:55:57,082 5472 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-11-18 10:55:57,082 5472 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-11-18 10:55:57,082 5472 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-11-18 10:55:57,098 5472 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-11-18 10:55:57,098 5472 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-11-18 10:55:57,116 5472 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2023-11-18 10:55:57,116 5472 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-11-18 10:55:57,129 5472 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-11-18 10:55:57,129 5472 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-11-18 10:55:57,129 5472 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-11-18 10:55:57,724 5472 [DEBUG] - Running list with the following filter = ''
2023-11-18 10:55:57,738 5472 [DEBUG] - --- Start of List ---
2023-11-18 10:55:57,833 5472 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-11-18 10:55:58,320 5472 [DEBUG] - chocolatey 2.2.2
2023-11-18 10:55:58,335 5472 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-11-18 10:55:58,349 5472 [DEBUG] - KB2919355 1.0.20160915
2023-11-18 10:55:58,349 5472 [DEBUG] - KB2919442 1.0.20160915
2023-11-18 10:55:58,364 5472 [DEBUG] - KB2999226 1.0.20181019
2023-11-18 10:55:58,364 5472 [DEBUG] - KB3035131 1.0.3
2023-11-18 10:55:58,380 5472 [DEBUG] - KB3118401 1.0.5
2023-11-18 10:55:58,396 5472 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-11-18 10:55:58,396 5472 [DEBUG] - --- End of List ---
2023-11-18 10:55:58,411 5472 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2023-11-18 10:55:59,208 5472 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2023-11-18 10:55:59,864 5472 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='cabal',Version='3.10.2')
2023-11-18 10:55:59,927 5472 [INFO ] - [NuGet] NotFound https://community.chocolatey.org/api/v2/Packages(Id='cabal',Version='3.10.2') 55ms
2023-11-18 10:55:59,958 5472 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='cabal'&semVerLevel=2.0.0
2023-11-18 10:56:00,271 5472 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='cabal'&semVerLevel=2.0.0 304ms
2023-11-18 10:56:00,551 5472 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2023-11-18 10:56:01,133 5472 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2023-11-18 10:56:01,145 5472 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='cabal',Version='3.10.2')
2023-11-18 10:56:01,208 5472 [INFO ] - [NuGet] NotFound https://community.chocolatey.org/api/v2/Packages(Id='cabal',Version='3.10.2') 53ms
2023-11-18 10:56:01,208 5472 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/FindPackagesById()?id='cabal'&semVerLevel=2.0.0
2023-11-18 10:56:01,474 5472 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2023-11-18 10:56:01,506 5472 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2023-11-18 10:56:01,552 5472 [DEBUG] - Attempting to delete file "".
2023-11-18 10:56:01,598 5472 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/cabal/3.10.2.0
2023-11-18 10:56:02,192 5472 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/cabal/3.10.2.0 599ms
2023-11-18 10:56:02,238 5472 [INFO ] - [NuGet] Acquiring lock for the installation of cabal 3.10.2.0
2023-11-18 10:56:02,317 5472 [INFO ] - [NuGet] Acquired lock for the installation of cabal 3.10.2.0
2023-11-18 10:56:02,661 5472 [INFO ] - [NuGet] Installed cabal 3.10.2.0 from https://community.chocolatey.org/api/v2/ with content hash uSKHezgRRCFUawouWwHS6P7pGa8JoSVpEOSo7UVxBjU9MwVe3WMumk6YPLNtSvllXrXkf/eLMKXazCK0RZIYoQ==.
2023-11-18 10:56:02,708 5472 [INFO ] - [NuGet] Adding package 'cabal.3.10.2' to folder 'C:\ProgramData\chocolatey\lib'
2023-11-18 10:56:02,786 5472 [INFO ] - [NuGet] Added package 'cabal.3.10.2' to folder 'C:\ProgramData\chocolatey\lib'
2023-11-18 10:56:02,786 5472 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\cabal/3.10.2\cabal.3.10.2.nupkg".
2023-11-18 10:56:02,802 5472 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\cabal/3.10.2\.nupkg.metadata".
2023-11-18 10:56:02,802 5472 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\cabal/3.10.2\cabal.3.10.2.nupkg.sha512".
2023-11-18 10:56:02,817 5472 [INFO ] -
cabal v3.10.2 (forced)
2023-11-18 10:56:02,880 5472 [INFO ] - cabal package files install completed. Performing other installation steps.
2023-11-18 10:56:02,943 5472 [DEBUG] - Setting installer args for cabal
2023-11-18 10:56:02,943 5472 [DEBUG] - Setting package parameters for cabal
2023-11-18 10:56:02,959 5472 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyInstall.ps1':
2023-11-18 10:56:02,973 5472 [DEBUG] - $version = '3.10.2.0'
$packageName = 'cabal'
$url = 'https://downloads.haskell.org/cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0-i386-unknown-mingw32.zip'
$url64 = 'https://downloads.haskell.org/cabal/cabal-install-3.10.2.0/cabal-install-3.10.2.0-x86_64-windows.zip'
$binRoot = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
$packageFullName = Join-Path $binRoot ($packageName + '-' + $version)
$is64 = (Get-OSArchitectureWidth 64) -and $env:chocolateyForceX86 -ne 'true'
$is32 = (Get-OSArchitectureWidth 32) -or $env:chocolateyForceX86 -eq 'true'
if($is32)
{
Write-Host "# # ####### ####### ### ##### #######"
Write-Host "## # # # # # # # # "
Write-Host "# # # # # # # # # "
Write-Host "# # # # # # # # ##### "
Write-Host "# # # # # # # # # "
Write-Host "# ## # # # # # # # "
Write-Host "# # ####### # ### ##### #######"
Write-Host ""
Write-Host " 32 bit binary for Windows is not available."
Write-Host "cabal 3.2.0.0 will be installed instead."
Write-Host ""
# rewrite the version to 3.2.0.0 so installer works
$version = '3.2.0.0'
}
Install-ChocolateyZipPackage `
-PackageName $packageName `
-UnzipLocation $packageFullName `
-Url $url -ChecksumType sha256 -Checksum 01e14a9c4ec96452087b5cc90157693bbc4e0045b9c11e48f5f324b7977d837b `
-Url64bit $url64 -ChecksumType64 sha256 -Checksum64 b09e335b2ebeafa1db5e1e5614e3e10fb37da230a36865d76646ab27b2f3f46b
$cabal = Join-Path $packageFullName "cabal.exe"
# Simplified version of Install-ChocolateyPath that prepends instead of
# Appends to a path. We use this in certain cases when we need to Override an
# existing path entry. Such as on AppVeyor which adds both cygwin and msys2
# on PATH.
function Install-AppVeyorPath {
param(
[parameter(Mandatory=$true, Position=0)][string] $pathToInstall
)
Write-FunctionCallLogMessage -Invocation $MyInvocation -Parameters $PSBoundParameters
## Called from chocolateysetup.psm1 - wrap any Write-Host in try/catch
$pathType = [System.EnvironmentVariableTarget]::Machine
# get the PATH variable
Update-SessionEnvironment
$envPath = $env:PATH
if (!$envPath.ToLower().Contains($pathToInstall.ToLower()))
{
try {
Write-Host "PATH environment variable does not have $pathToInstall in it. Adding..."
} catch {
Write-Verbose "PATH environment variable does not have $pathToInstall in it. Adding..."
}
$actualPath = Get-EnvironmentVariable -Name 'Path' -Scope $pathType -PreserveVariables
$statementTerminator = ";"
if (!$pathToInstall.EndsWith($statementTerminator)) {$pathToInstall = $pathToInstall + $statementTerminator}
$actualPath = $pathToInstall + $actualPath
Set-EnvironmentVariable -Name 'Path' -Value $actualPath -Scope $pathType
# add it to the local path as well so users will be off and running
$envPSPath = $env:PATH
$env:Path = $pathToInstall + $envPSPath
}
}
# uninstall a path entry from AppVeyor
function UnInstall-AppVeyorPath {
param(
[parameter(Mandatory=$true, Position=0)][string] $pathToRemove
)
Write-FunctionCallLogMessage -Invocation $MyInvocation -Parameters $PSBoundParameters
## Called from chocolateysetup.psm1 - wrap any Write-Host in try/catch
$pathType = [System.EnvironmentVariableTarget]::Machine
# get the PATH variable
Update-SessionEnvironment
$envPath = $env:PATH
if ($envPath.ToLower().Contains($pathToRemove.ToLower()))
{
try {
Write-Host "PATH environment variable contains $pathToRemove in it. Removing..."
} catch {
Write-Verbose "PATH environment variable contains $pathToRemove in it. Removing..."
}
$statementTerminator = ";"
$actualPath = Get-EnvironmentVariable -Name 'Path' -Scope $pathType -PreserveVariables
$actualPath = ($path.Split($statementTerminator) | Where-Object { $_ -ne $pathToRemove }) -join $statementTerminator
Set-EnvironmentVariable -Name 'Path' -Value $actualPath -Scope $pathType
# Remove it from the local path as well so users will be off and running
$env:Path = $actualPath
}
}
function Find-Entry {
param( [string] $app )
Get-Command -ErrorAction SilentlyContinue $app `
| Select-Object -first 1 `
| ForEach-Object { Split-Path $_.Path -Parent }
}
Function Execute-Command {
param( [string] $commandTitle
, [string] $commandPath
, [string] $commandArguments
)
Try {
$pinfo = New-Object System.Diagnostics.ProcessStartInfo
$pinfo.FileName = $commandPath
$pinfo.RedirectStandardError = $true
$pinfo.RedirectStandardOutput = $true
$pinfo.UseShellExecute = $false
$pinfo.Arguments = $commandArguments
$pinfo.WindowStyle = [Diagnostics.ProcessWindowStyle]::Hidden
$pinfo.CreateNoWindow = $true
$p = New-Object System.Diagnostics.Process
$p.StartInfo = $pinfo
$p.Start() | Out-Null
[pscustomobject]@{
commandTitle = $commandTitle
stdout = $p.StandardOutput.ReadToEnd()
stderr = $p.StandardError.ReadToEnd()
ExitCode = $p.ExitCode
}
$p.WaitForExit()
}
Catch {
exit
}
}
function Detect-GHC-Versions {
return Get-ChildItem "C:\ghc\ghc-*\bin" -ErrorAction SilentlyContinue `
| Sort-Object CreationTime -Descending `
| ForEach-Object { $_.ToString() }
}
function Find-MSYS2 {
param()
# See if the user has msys2 already installed.
$msys2 = Find-Entry "msys2_shell.cmd"
if (($null -eq $msys2) -or ($msys2 -eq "")) {
$msys2 = Find-Entry "mingw*_shell.bat"
}
$dir_name = if ($is64) { 'msys64' } else { 'msys32' }
# Detect AppVeyor installs
if (($null -ne $Env:APPVEYOR) -and ("" -ne $Env:APPVEYOR)) {
Write-Host "AppVeyor detected. Using AppVeyor default paths."
$msys2 = Join-Path $Env:SystemDrive $dir_name
}
# Check for standalone msys2 installs
if (($null -eq $msys2) -or ($msys2 -eq "")) {
$tmp = Join-Path $Env:SystemDrive $dir_name
if (Test-Path $tmp -PathType Container) {
Write-Host "Standalone msys2 detected. Using default paths."
$msys2 = $tmp
}
}
if (($null -eq $msys2) -or ($msys2 -eq "")) {
# msys2 was not found already installed, assume user will install
# it in the default directory, so create the expected default msys2
# installation path.
$msys2 = "{0}\{1}" -f (Get-ToolsLocation), $dir_name
}
Write-Debug "Msys2 directory: ${msys2}"
return $msys2
}
function ReadCabal-Config {
param( [string] $key )
$prog = "$cabal"
$cmd = "user-config diff -a ${key}:"
$proc = Execute-Command "Reading cabal config key '${key}'." $prog $cmd
if ($proc.ExitCode -ne 0) {
Write-Debug $proc.stdout
Write-Debug $proc.stderr
Write-Host "Could not read cabal configuration key '${key}'."
}
$option = [System.StringSplitOptions]::RemoveEmptyEntries
$procout = $proc.stdout.Split([Environment]::NewLine) | Select-String "- ${key}" | Select-Object -First 1
if (!$procout) {
Write-Debug "No Cabal config for ${key}"
return {@()}.Invoke()
} else {
$value = $procout.ToString().Split(@(':'), 2, $option)[1].ToString()
$value = $value.Split([Environment]::NewLine)[0].Trim()
Write-Debug "Read Cabal config ${key}: ${value}"
return {$value.Replace('"','').Split(@(','), $option)}.Invoke()
}
}
function UpdateCabal-Config {
param( [string] $key
, [string[]] $values
)
if ((!$values) -or ($values.Count -eq 0)) {
$values = ""
} else {
#$value = '"' + [String]::Join("`",`"", $values) + '"'
$value = [String]::Join(",", $values)
}
$prog = "$cabal"
$cmd = "user-config update -a `"${key}: $value`""
$proc = Execute-Command "Update cabal config key '${key}'." $prog $cmd
if ($proc.ExitCode -ne 0) {
Write-Error $proc.stdout
Write-Error $proc.stderr
throw ("Could not update cabal configuration key '${key}'.")
}
Write-Debug "Wrote Cabal config ${key}: ${value}"
}
function UpdateCabal-Config-Raw {
param( [string] $value
)
$prog = "$cabal"
$cmd = "user-config update $value"
$proc = Execute-Command "Update cabal config key '${value}'." $prog $cmd
if ($proc.ExitCode -ne 0) {
Write-Error $proc.stdout
Write-Error $proc.stderr
throw ("Could not update cabal configuration key '${value}'.")
}
Write-Debug "Wrote Cabal config ${value}"
}
function Configure-Cabal {
param()
$ErrorActionPreference = 'Stop'
$msys2_path = Find-MSYS2
# Initialize cabal
$prog_path = ReadCabal-Config "extra-prog-path"
$lib_dirs = ReadCabal-Config "extra-lib-dirs"
$include_dirs = ReadCabal-Config "extra-include-dirs"
$method = ReadCabal-Config "install-method"
$native_path = if ($is64) { 'mingw64' } else { 'mingw32' }
$native_path = Join-Path $msys2_path $native_path
$msys_lib_dir = Join-Path $native_path "lib"
# Build new binary paths
$native_bin = Join-Path $native_path "bin"
$new_prog_paths = @()
$new_prog_paths += $native_bin
$new_prog_paths += $prog_path
$new_prog_paths += Join-Path (Join-Path $Env:APPDATA "cabal") "bin"
$new_prog_paths += Join-Path (Join-Path $msys2_path "usr") "bin"
$new_prog_paths = $new_prog_paths | Select-Object -Unique
# Build new library paths
# If the directory doesn't exist, we can't add it to prevent GHC from throwing
# an error when the linker tries to add the dir.
if (Test-Path $msys_lib_dir -PathType Container)
{
$new_lib_dirs = @($msys_lib_dir)
}
else
{
$new_lib_dirs = @()
}
$new_lib_dirs += $lib_dirs
$new_lib_dirs = $new_lib_dirs | Select-Object -Unique
# Build new include paths
$new_include_dirs = @(Join-Path $native_path "include")
$new_include_dirs += $include_dirs
$new_include_dirs = $new_include_dirs | Select-Object -Unique
# Set install method if no default is set
if ($method -ne "copy" -and $method -ne "symlink" -and $method -ne "auto")
{
UpdateCabal-Config "install-method" "copy"
}
UpdateCabal-Config "extra-prog-path" $new_prog_paths
UpdateCabal-Config "extra-lib-dirs" $new_lib_dirs
UpdateCabal-Config "extra-include-dirs" $new_include_dirs
Write-Host "Updated cabal configuration."
$cabal_path = Join-Path (Join-Path "$Env:APPDATA" "cabal") "bin"
Install-ChocolateyPath "$cabal_path"
# Add a PATH to pkg-config location if exists
$pkg_config = Join-Path $native_bin "pkg-config.exe"
if (Test-Path $pkg_config)
{
UpdateCabal-Config-Raw `
"-a `"program-locations`" -a `" pkg-config-location: $pkg_config`""
}
# If running on Github actions, configure the package to pick things up
if (($null -ne $Env:GITHUB_ACTIONS) -and ("" -ne $Env:GITHUB_ACTIONS)) {
# Update the path on github actions as without so it won't be able to find
# cabal.
echo "$cabal_path" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
# We probably don't need this since choco itself is already on the PATH
# But it won't hurt to make sure.
$choco_bin = Join-Path $env:ChocolateyInstall "bin"
echo "$choco_bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
# New GHC Packages will add themselves to the PATH, but older ones don't.
# So let's find which one the user installed and add them to the pathh.
$files = get-childitem $binRoot -include ghc.exe -recurse
foreach ($file in $files) {
$fileDir = Split-Path "$file"
echo "$fileDir" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
}
# Also set a global SR.
UpdateCabal-Config "store-dir" "$($env:SystemDrive)\SR"
}
# If running on Appveyor, configure the package to pick things up
if (($null -ne $Env:APPVEYOR) -and ("" -ne $Env:APPVEYOR)) {
Write-Host "Configuring AppVeyor PATH."
# We need to fix up some paths for AppVeyor
$ghcpaths = Detect-GHC-Versions
ForEach ($path in $ghcpaths) { Install-ChocolateyPath $path }
# Remove the global /usr/bin that's before the local one.
UnInstall-AppVeyorPath (Join-Path (Join-Path "${msys2_path}" "usr") "bin")
# Override msys2 git with git for Windows
Install-AppVeyorPath "$($env:SystemDrive)\Program Files\Git\cmd"
Install-AppVeyorPath "$($env:SystemDrive)\Program Files\Git\mingw64\bin"
# I'm not a fan of doing this, but we need auto-reconf available.
# Add the /usr/bin path first so it appears last in the list
Install-AppVeyorPath (Join-Path (Join-Path "${msys2_path}" "usr") "bin")
Install-AppVeyorPath (Join-Path (Join-Path "${msys2_path}" "mingw64") "bin")
# Also set a global SR.
UpdateCabal-Config "store-dir" "$($env:SystemDrive)\SR"
}
}
function Find-Bash {
param()
$ErrorActionPreference = 'Stop'
$msys2_path = Find-MSYS2
$bin = Join-Path (Join-Path $msys2_path "usr") "bin"
$bash = Join-Path $bin "bash.exe"
return $bash
}
function Fudge-Config-Cabal {
param()
$ErrorActionPreference = 'Stop'
Write-Host "Finding cabal config file..."
$prog = "$cabal"
$cmd = "user-config init"
$proc = Execute-Command "Detecting cabal config file location." $prog $cmd
if ($proc.ExitCode -ne 0) {
$ln = $proc.stderr.Split([Environment]::NewLine) | Select -First 1
$skip = "cabal.exe: ".Length + 7
$conf = $ln.Substring($skip, $ln.Length - $skip).Split(' ')[0]
Write-Host "Detected config file: '${conf}'."
$content = Get-Content -Path $conf -Raw
# replace the broken unix line
$content = $content -replace 'nix: ', '-- nix: '
Set-Content -Path $conf -Value $content
Write-Host "Forcibly correct backwards incompatible cabal configurations."
} else {
Write-Host "No cabal file hacks needed. Left config alone."
}
}
# Now execute cabal configuration updates
Configure-Cabal
Fudge-Config-Cabal
$bash = Find-Bash
$prefix = if ($is64) { 'x86_64' } else { 'i686' }
Install-ChocolateyEnvironmentVariable "_MSYS2_BASH" "$bash"
Install-ChocolateyEnvironmentVariable "_MSYS2_PREFIX" "$prefix"
$psFile = Join-Path $(Split-Path -Parent $MyInvocation.MyCommand.Definition) "mingw64-pkg.ps1"
Install-ChocolateyPowershellCommand -PackageName '${packageName}.powershell' -PSFileFullPath $psFile
2023-11-18 10:56:03,005 5472 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-11-18 10:56:03,020 5472 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-11-18 10:56:03,848 5472 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-11-18 10:56:04,506 5472 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-11-18 10:56:04,506 5472 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-11-18 10:56:04,520 5472 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-11-18 10:56:04,520 5472 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-11-18 10:56:04,536 5472 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-11-18 10:56:04,536 5472 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-11-18 10:56:04,536 5472 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-11-18 10:56:04,536 5472 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-11-18 10:56:04,552 5472 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-11-18 10:56:04,552 5472 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-11-18 10:56:04,568 5472 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-11-18 10:56:04,568 5472 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-11-18 10:56:04,583 5472 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-11-18 10:56:04,583 5472 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-11-18 10:56:04,599 5472 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-11-18 10:56:04,599 5472 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-11-18 10:56:04,599 5472 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-11-18 10:56:04,615 5472 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-11-18 10:56:04,615 5472 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-11-18 10:56:04,630 5472 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-11-18 10:56:04,630 5472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-11-18 10:56:04,645 5472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-11-18 10:56:04,645 5472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-11-18 10:56:04,645 5472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-11-18 10:56:04,662 5472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-11-18 10:56:04,662 5472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-11-18 10:56:04,662 5472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-11-18 10:56:04,678 5472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-11-18 10:56:04,678 5472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-11-18 10:56:04,693 5472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-11-18 10:56:04,693 5472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-11-18 10:56:04,708 5472 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-11-18 10:56:04,708 5472 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-11-18 10:56:04,708 5472 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-11-18 10:56:04,723 5472 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-11-18 10:56:04,723 5472 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-11-18 10:56:04,738 5472 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-11-18 10:56:04,738 5472 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-11-18 10:56:04,738 5472 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-11-18 10:56:04,754 5472 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-11-18 10:56:04,754 5472 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-11-18 10:56:04,754 5472 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-11-18 10:56:04,770 5472 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-11-18 10:56:04,770 5472 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-11-18 10:56:04,786 5472 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-11-18 10:56:04,786 5472 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-11-18 10:56:04,802 5472 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-11-18 10:56:04,802 5472 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-11-18 10:56:04,818 5472 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-11-18 10:56:04,818 5472 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-11-18 10:56:04,818 5472 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-11-18 10:56:04,863 5472 [DEBUG] - Loading community extensions
2023-11-18 10:56:04,895 5472 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-11-18 10:56:04,895 5472 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-11-18 10:56:05,005 5472 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-11-18 10:56:05,005 5472 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-11-18 10:56:05,021 5472 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-11-18 10:56:05,021 5472 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-11-18 10:56:05,035 5472 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-11-18 10:56:05,035 5472 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-11-18 10:56:05,051 5472 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-11-18 10:56:05,051 5472 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-11-18 10:56:05,068 5472 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-11-18 10:56:05,068 5472 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-11-18 10:56:05,083 5472 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-11-18 10:56:05,083 5472 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-11-18 10:56:05,098 5472 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-11-18 10:56:05,098 5472 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-11-18 10:56:05,098 5472 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-11-18 10:56:05,114 5472 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-11-18 10:56:05,130 5472 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-11-18 10:56:05,130 5472 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-11-18 10:56:05,130 5472 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-11-18 10:56:05,146 5472 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-11-18 10:56:05,146 5472 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-11-18 10:56:05,161 5472 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-11-18 10:56:05,161 5472 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-11-18 10:56:05,161 5472 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-11-18 10:56:05,177 5472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-11-18 10:56:05,177 5472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-11-18 10:56:05,192 5472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-11-18 10:56:05,192 5472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-11-18 10:56:05,210 5472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-11-18 10:56:05,224 5472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-11-18 10:56:05,224 5472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-11-18 10:56:05,239 5472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-11-18 10:56:05,239 5472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-11-18 10:56:05,239 5472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-11-18 10:56:05,254 5472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-11-18 10:56:05,254 5472 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-11-18 10:56:05,270 5472 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-11-18 10:56:05,270 5472 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-11-18 10:56:05,286 5472 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-11-18 10:56:05,302 5472 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-11-18 10:56:05,302 5472 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-11-18 10:56:05,317 5472 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-11-18 10:56:05,317 5472 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-11-18 10:56:05,333 5472 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-11-18 10:56:05,333 5472 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-11-18 10:56:05,348 5472 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-11-18 10:56:05,348 5472 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-11-18 10:56:05,348 5472 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-11-18 10:56:05,365 5472 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-11-18 10:56:05,365 5472 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-11-18 10:56:05,382 5472 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-11-18 10:56:05,382 5472 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-11-18 10:56:05,399 5472 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-11-18 10:56:05,412 5472 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-11-18 10:56:05,412 5472 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-11-18 10:56:05,426 5472 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-11-18 10:56:05,442 5472 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-11-18 10:56:05,442 5472 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-11-18 10:56:05,458 5472 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-11-18 10:56:05,458 5472 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-11-18 10:56:05,473 5472 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-11-18 10:56:05,489 5472 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-11-18 10:56:05,504 5472 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-11-18 10:56:05,520 5472 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-11-18 10:56:05,520 5472 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-11-18 10:56:05,536 5472 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-11-18 10:56:05,536 5472 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-11-18 10:56:05,536 5472 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-11-18 10:56:05,551 5472 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-11-18 10:56:05,551 5472 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-11-18 10:56:05,567 5472 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-11-18 10:56:05,567 5472 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-11-18 10:56:05,567 5472 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-11-18 10:56:05,582 5472 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-11-18 10:56:05,582 5472 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-11-18 10:56:05,598 5472 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-11-18 10:56:05,598 5472 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-11-18 10:56:05,613 5472 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-11-18 10:56:05,613 5472 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-11-18 10:56:05,613 5472 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-11-18 10:56:05,630 5472 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-11-18 10:56:05,630 5472 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-11-18 10:56:05,645 5472 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-11-18 10:56:05,645 5472 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-11-18 10:56:05,645 5472 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-11-18 10:56:05,660 5472 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-11-18 10:56:05,660 5472 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-11-18 10:56:05,677 5472 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-11-18 10:56:05,677 5472 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-11-18 10:56:05,677 5472 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-11-18 10:56:05,693 5472 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-11-18 10:56:05,693 5472 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-11-18 10:56:05,708 5472 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-11-18 10:56:05,708 5472 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-11-18 10:56:05,708 5472 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-11-18 10:56:05,724 5472 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-11-18 10:56:05,724 5472 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-11-18 10:56:05,740 5472 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-11-18 10:56:05,740 5472 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-11-18 10:56:05,740 5472 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-11-18 10:56:05,755 5472 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-11-18 10:56:05,755 5472 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-11-18 10:56:05,755 5472 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-11-18 10:56:05,770 5472 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-11-18 10:56:05,770 5472 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-11-18 10:56:05,786 5472 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-11-18 10:56:05,786 5472 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-11-18 10:56:05,786 5472 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-11-18 10:56:05,801 5472 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-11-18 10:56:05,801 5472 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-11-18 10:56:05,895 5472 [DEBUG] - ---------------------------Script Execution---------------------------
2023-11-18 10:56:05,942 5472 [DEBUG] - Running 'ChocolateyScriptRunner' for cabal v3.10.2 with packageScript 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\cabal', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-11-18 10:56:06,005 5472 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyInstall.ps1'
2023-11-18 10:56:06,178 5472 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2023-11-18 10:56:06,254 5472 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-11-18 10:56:06,379 5472 [DEBUG] - Running Install-ChocolateyZipPackage -packageName 'cabal' -unzipLocation 'C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.10.2.0' -url 'https://downloads.haskell.org/cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0-i386-unknown-mingw32.zip' -checksumType 'sha256' -checksum '01e14a9c4ec96452087b5cc90157693bbc4e0045b9c11e48f5f324b7977d837b' -url64bit 'https://downloads.haskell.org/cabal/cabal-install-3.10.2.0/cabal-install-3.10.2.0-x86_64-windows.zip' -checksumType64 'sha256' -checksum64 'b09e335b2ebeafa1db5e1e5614e3e10fb37da230a36865d76646ab27b2f3f46b'
2023-11-18 10:56:06,520 5472 [DEBUG] - Running Get-ChocolateyWebFile -checksum '01e14a9c4ec96452087b5cc90157693bbc4e0045b9c11e48f5f324b7977d837b' -checksumType 'sha256' -checksum64 'b09e335b2ebeafa1db5e1e5614e3e10fb37da230a36865d76646ab27b2f3f46b' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' -packageName 'cabal' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\cabal\3.10.2\cabalInstall.zip' -url 'https://downloads.haskell.org/cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0-i386-unknown-mingw32.zip' -url64bit 'https://downloads.haskell.org/cabal/cabal-install-3.10.2.0/cabal-install-3.10.2.0-x86_64-windows.zip'
2023-11-18 10:56:06,582 5472 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2023-11-18 10:56:06,582 5472 [DEBUG] - CPU is 64 bit
2023-11-18 10:56:06,613 5472 [DEBUG] - Setting url to 'https://downloads.haskell.org/cabal/cabal-install-3.10.2.0/cabal-install-3.10.2.0-x86_64-windows.zip' and bitPackage to 64
2023-11-18 10:56:06,740 5472 [DEBUG] - Running Get-WebFileName -url 'https://downloads.haskell.org/cabal/cabal-install-3.10.2.0/cabal-install-3.10.2.0-x86_64-windows.zip' -defaultName 'cabalInstall.zip'
2023-11-18 10:56:07,426 5472 [DEBUG] - Using response url to determine file name. 'https://downloads.haskell.org/cabal/cabal-install-3.10.2.0/cabal-install-3.10.2.0-x86_64-windows.zip'
2023-11-18 10:56:07,457 5472 [DEBUG] - File name determined from url is 'cabal-install-3.10.2.0-x86_64-windows.zip'
2023-11-18 10:56:07,552 5472 [DEBUG] - Running Get-WebHeaders -url 'https://downloads.haskell.org/cabal/cabal-install-3.10.2.0/cabal-install-3.10.2.0-x86_64-windows.zip' -ErrorAction 'Stop'
2023-11-18 10:56:07,552 5472 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-11-18 10:56:07,567 5472 [DEBUG] - Request Headers:
2023-11-18 10:56:07,598 5472 [DEBUG] - 'Accept':'*/*'
2023-11-18 10:56:07,598 5472 [DEBUG] - 'User-Agent':'chocolatey command line'
2023-11-18 10:56:07,693 5472 [DEBUG] - Response Headers:
2023-11-18 10:56:07,724 5472 [DEBUG] - 'Connection':'keep-alive'
2023-11-18 10:56:07,724 5472 [DEBUG] - 'Age':'280734'
2023-11-18 10:56:07,757 5472 [DEBUG] - 'X-Served-By':'cache-dfw-kdal2120112-DFW, cache-mci680073-MCI'
2023-11-18 10:56:07,757 5472 [DEBUG] - 'X-Cache':'HIT, HIT'
2023-11-18 10:56:07,787 5472 [DEBUG] - 'X-Cache-Hits':'55, 0'
2023-11-18 10:56:07,787 5472 [DEBUG] - 'X-Timer':'S1700304968.677105,VS0,VE1'
2023-11-18 10:56:07,801 5472 [DEBUG] - 'Accept-Ranges':'bytes'
2023-11-18 10:56:07,817 5472 [DEBUG] - 'Content-Length':'15654465'
2023-11-18 10:56:07,817 5472 [DEBUG] - 'Cache-Control':'max-age=2592000, public'
2023-11-18 10:56:07,833 5472 [DEBUG] - 'Content-Type':'application/zip'
2023-11-18 10:56:07,833 5472 [DEBUG] - 'Date':'Sat, 18 Nov 2023 10:56:07 GMT'
2023-11-18 10:56:07,849 5472 [DEBUG] - 'Expires':'Fri, 15 Dec 2023 04:57:13 GMT'
2023-11-18 10:56:07,864 5472 [DEBUG] - 'ETag':'"6530edbd-eede41"'
2023-11-18 10:56:07,864 5472 [DEBUG] - 'Last-Modified':'Thu, 19 Oct 2023 08:50:05 GMT'
2023-11-18 10:56:07,880 5472 [DEBUG] - 'Server':'nginx'
2023-11-18 10:56:07,880 5472 [DEBUG] - 'Via':'1.1 varnish, 1.1 varnish'
2023-11-18 10:56:07,959 5472 [INFO ] - Downloading cabal 64 bit
from 'https://downloads.haskell.org/cabal/cabal-install-3.10.2.0/cabal-install-3.10.2.0-x86_64-windows.zip'
2023-11-18 10:56:08,083 5472 [DEBUG] - Running Get-WebFile -url 'https://downloads.haskell.org/cabal/cabal-install-3.10.2.0/cabal-install-3.10.2.0-x86_64-windows.zip' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\cabal\3.10.2\cabal-install-3.10.2.0-x86_64-windows.zip' -options 'System.Collections.Hashtable'
2023-11-18 10:56:08,099 5472 [DEBUG] - Setting request timeout to 30000
2023-11-18 10:56:08,099 5472 [DEBUG] - Setting read/write timeout to 2700000
2023-11-18 10:56:08,115 5472 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-11-18 10:56:08,615 5472 [DEBUG] - Downloading https://downloads.haskell.org/cabal/cabal-install-3.10.2.0/cabal-install-3.10.2.0-x86_64-windows.zip to C:\Users\vagrant\AppData\Local\Temp\chocolatey\cabal\3.10.2\cabal-install-3.10.2.0-x86_64-windows.zip
2023-11-18 10:56:10,067 5472 [INFO ] -
2023-11-18 10:56:10,083 5472 [INFO ] - Download of cabal-install-3.10.2.0-x86_64-windows.zip (14.93 MB) completed.
2023-11-18 10:56:13,225 5472 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2023-11-18 10:56:13,287 5472 [DEBUG] - Verifying package provided checksum of 'b09e335b2ebeafa1db5e1e5614e3e10fb37da230a36865d76646ab27b2f3f46b' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\cabal\3.10.2\cabal-install-3.10.2.0-x86_64-windows.zip'.
2023-11-18 10:56:13,396 5472 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\cabal\3.10.2\cabal-install-3.10.2.0-x86_64-windows.zip' -checksum 'b09e335b2ebeafa1db5e1e5614e3e10fb37da230a36865d76646ab27b2f3f46b' -checksumType 'sha256' -originalUrl 'https://downloads.haskell.org/cabal/cabal-install-3.10.2.0/cabal-install-3.10.2.0-x86_64-windows.zip'
2023-11-18 10:56:13,615 5472 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2023-11-18 10:56:13,632 5472 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="b09e335b2ebeafa1db5e1e5614e3e10fb37da230a36865d76646ab27b2f3f46b" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\cabal\3.10.2\cabal-install-3.10.2.0-x86_64-windows.zip"]
2023-11-18 10:56:15,600 5472 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="b09e335b2ebeafa1db5e1e5614e3e10fb37da230a36865d76646ab27b2f3f46b" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\cabal\3.10.2\cabal-install-3.10.2.0-x86_64-windows.zip"] exited with '0'.
2023-11-18 10:56:15,834 5472 [DEBUG] - Running Get-ChocolateyUnzip -disableLogging 'False' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\cabal\3.10.2\cabal-install-3.10.2.0-x86_64-windows.zip' -destination 'C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.10.2.0' -specificFolder '' -packageName 'cabal'
2023-11-18 10:56:15,848 5472 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-11-18 10:56:15,880 5472 [INFO ] - Extracting C:\Users\vagrant\AppData\Local\Temp\chocolatey\cabal\3.10.2\cabal-install-3.10.2.0-x86_64-windows.zip to C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.10.2.0...
2023-11-18 10:56:15,975 5472 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2023-11-18 10:56:16,131 5472 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.10.2.0" -y "C:\Users\vagrant\AppData\Local\Temp\chocolatey\cabal\3.10.2\cabal-install-3.10.2.0-x86_64-windows.zip"]
2023-11-18 10:56:17,287 5472 [INFO ] - VERBOSE:
2023-11-18 10:56:17,306 5472 [INFO ] - VERBOSE: 7-Zip 23.01 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
2023-11-18 10:56:17,319 5472 [INFO ] - VERBOSE:
2023-11-18 10:56:17,332 5472 [INFO ] - VERBOSE: Scanning the drive for archives:
2023-11-18 10:56:17,349 5472 [INFO ] - VERBOSE: 1 file, 15654465 bytes (15 MiB)
2023-11-18 10:56:17,363 5472 [INFO ] - VERBOSE:
2023-11-18 10:56:17,363 5472 [INFO ] - VERBOSE: Extracting archive: C:\Users\vagrant\AppData\Local\Temp\chocolatey\cabal\3.10.2\cabal-install-3.10.2.0-x86_64-windows.zip
2023-11-18 10:56:17,381 5472 [INFO ] - VERBOSE: --
2023-11-18 10:56:17,381 5472 [INFO ] - VERBOSE: Path = C:\Users\vagrant\AppData\Local\Temp\chocolatey\cabal\3.10.2\cabal-install-3.10.2.0-x86_64-windows.zip
2023-11-18 10:56:17,396 5472 [INFO ] - VERBOSE: Type = zip
2023-11-18 10:56:17,410 5472 [INFO ] - VERBOSE: Physical Size = 15654465
2023-11-18 10:56:17,428 5472 [INFO ] - VERBOSE:
2023-11-18 10:56:17,428 5472 [INFO ] - VERBOSE: - cabal.exe
2023-11-18 10:56:17,489 5472 [INFO ] - VERBOSE: - plan.json
2023-11-18 10:56:17,489 5472 [INFO ] - VERBOSE: Everything is Ok
2023-11-18 10:56:17,505 5472 [INFO ] - VERBOSE:
2023-11-18 10:56:17,505 5472 [INFO ] - VERBOSE: Files: 2
2023-11-18 10:56:17,520 5472 [INFO ] - VERBOSE: Size: 70748491
2023-11-18 10:56:17,520 5472 [INFO ] - VERBOSE: Compressed: 15654465
2023-11-18 10:56:17,613 5472 [DEBUG] - $exitCode was passed null
2023-11-18 10:56:17,629 5472 [DEBUG] - Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.10.2.0" -y "C:\Users\vagrant\AppData\Local\Temp\chocolatey\cabal\3.10.2\cabal-install-3.10.2.0-x86_64-windows.zip"] exited with '0'.
2023-11-18 10:56:17,692 5472 [DEBUG] - 7z exit code: 0
2023-11-18 10:56:17,709 5472 [INFO ] - C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.10.2.0
2023-11-18 10:56:20,567 5472 [DEBUG] - Running Get-ToolsLocation
2023-11-18 10:56:20,801 5472 [DEBUG] - Running Set-EnvironmentVariable -Name 'ChocolateyToolsLocation' -Value 'C:\tools' -Scope 'User'
2023-11-18 10:56:21,099 5472 [DEBUG] - Registry type for ChocolateyToolsLocation is/will be String
2023-11-18 10:56:21,162 5472 [DEBUG] -
using System;
using System.Runtime.InteropServices;
namespace Win32
{
public class NativeMethods
{
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
public static extern IntPtr SendMessageTimeout(
IntPtr hWnd, uint Msg, UIntPtr wParam, string lParam,
uint fuFlags, uint uTimeout, out UIntPtr lpdwResult);
}
}
2023-11-18 10:56:21,958 5472 [DEBUG] - Running Update-SessionEnvironment
2023-11-18 10:56:21,974 5472 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-11-18 10:56:22,957 5472 [DEBUG] - Msys2 directory: C:\tools\msys64
2023-11-18 10:56:23,755 5472 [DEBUG] - No Cabal config for extra-prog-path
2023-11-18 10:56:24,130 5472 [DEBUG] - No Cabal config for extra-lib-dirs
2023-11-18 10:56:24,553 5472 [DEBUG] - No Cabal config for extra-include-dirs
2023-11-18 10:56:24,897 5472 [DEBUG] -
2023-11-18 10:56:25,005 5472 [DEBUG] - Error: cabal.exe: Error parsing additional config lines
:1:
Parse of field 'install-method' failed (Error parsing install-method: ):
2023-11-18 10:56:25,022 5472 [INFO ] - Could not read cabal configuration key 'install-method'.
2023-11-18 10:56:25,022 5472 [DEBUG] - No Cabal config for install-method
2023-11-18 10:56:25,645 5472 [DEBUG] - Wrote Cabal config install-method: copy
2023-11-18 10:56:25,895 5472 [DEBUG] - Wrote Cabal config extra-prog-path: C:\tools\msys64\mingw64\bin,C:\Users\vagrant\AppData\Roaming\cabal\bin,C:\tools\msys64\usr\bin
2023-11-18 10:56:26,114 5472 [DEBUG] - Wrote Cabal config extra-lib-dirs:
2023-11-18 10:56:26,333 5472 [DEBUG] - Wrote Cabal config extra-include-dirs: C:\tools\msys64\mingw64\include
2023-11-18 10:56:26,349 5472 [INFO ] - Updated cabal configuration.
2023-11-18 10:56:26,396 5472 [DEBUG] - Running Install-ChocolateyPath -pathToInstall 'C:\Users\vagrant\AppData\Roaming\cabal\bin'
2023-11-18 10:56:26,427 5472 [DEBUG] - Running Update-SessionEnvironment
2023-11-18 10:56:26,442 5472 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-11-18 10:56:26,676 5472 [INFO ] - PATH environment variable does not have C:\Users\vagrant\AppData\Roaming\cabal\bin in it. Adding...
2023-11-18 10:56:26,676 5472 [INFO ] - VERBOSE: Choosing not to expand environment names
2023-11-18 10:56:26,707 5472 [DEBUG] - Running Set-EnvironmentVariable -Name 'Path' -Value '%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;C:\Users\vagrant\AppData\Roaming\cabal\bin;' -Scope 'User'
2023-11-18 10:56:26,739 5472 [DEBUG] - Registry type for Path is/will be ExpandString
2023-11-18 10:56:26,882 5472 [DEBUG] - Running Update-SessionEnvironment
2023-11-18 10:56:26,897 5472 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-11-18 10:56:27,270 5472 [INFO ] - Finding cabal config file...
2023-11-18 10:56:27,614 5472 [INFO ] - Detected config file: 'C:\Users\vagrant\AppData\Roaming\cabal\config'.
2023-11-18 10:56:27,662 5472 [INFO ] - Forcibly correct backwards incompatible cabal configurations.
2023-11-18 10:56:27,819 5472 [DEBUG] - Running Get-ToolsLocation
2023-11-18 10:56:27,833 5472 [DEBUG] - Msys2 directory: C:\tools\msys64
2023-11-18 10:56:27,863 5472 [DEBUG] - Running Install-ChocolateyEnvironmentVariable -variableName '_MSYS2_BASH' -variableValue 'C:\tools\msys64\usr\bin\bash.exe'
2023-11-18 10:56:27,863 5472 [DEBUG] - Running Set-EnvironmentVariable -Name '_MSYS2_BASH' -Value 'C:\tools\msys64\usr\bin\bash.exe' -Scope 'User'
2023-11-18 10:56:27,882 5472 [DEBUG] - Registry type for _MSYS2_BASH is/will be String
2023-11-18 10:56:27,942 5472 [DEBUG] - Running Update-SessionEnvironment
2023-11-18 10:56:27,959 5472 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-11-18 10:56:28,305 5472 [DEBUG] - Running Install-ChocolateyEnvironmentVariable -variableName '_MSYS2_PREFIX' -variableValue 'x86_64'
2023-11-18 10:56:28,305 5472 [DEBUG] - Running Set-EnvironmentVariable -Name '_MSYS2_PREFIX' -Value 'x86_64' -Scope 'User'
2023-11-18 10:56:28,333 5472 [DEBUG] - Registry type for _MSYS2_PREFIX is/will be String
2023-11-18 10:56:28,411 5472 [DEBUG] - Running Update-SessionEnvironment
2023-11-18 10:56:28,427 5472 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-11-18 10:56:28,833 5472 [DEBUG] - Running Install-ChocolateyPowershellCommand -packageName '${packageName}.powershell' -psFileFullPath 'C:\ProgramData\chocolatey\lib\cabal\tools\mingw64-pkg.ps1'
2023-11-18 10:56:28,863 5472 [INFO ] - Adding C:\ProgramData\chocolatey\bin\mingw64-pkg.bat and pointing it to powershell command C:\ProgramData\chocolatey\lib\cabal\tools\mingw64-pkg.ps1
2023-11-18 10:56:29,006 5472 [DEBUG] - ----------------------------------------------------------------------
2023-11-18 10:56:29,020 5472 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-11-18 10:56:29,036 5472 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-11-18 10:56:29,208 5472 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-11-18 10:56:29,239 5472 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-11-18 10:56:29,239 5472 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-11-18 10:56:29,239 5472 [DEBUG] - * Path='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;C:\Users\vagrant\AppData\Roaming\cabal\bin;' (User)
2023-11-18 10:56:29,255 5472 [DEBUG] - * ChocolateyLastPathUpdate='133447785883493482' (User)
2023-11-18 10:56:29,255 5472 [DEBUG] - * ChocolateyToolsLocation='C:\tools' (User)
2023-11-18 10:56:29,255 5472 [DEBUG] - * _MSYS2_BASH='C:\tools\msys64\usr\bin\bash.exe' (User)
2023-11-18 10:56:29,270 5472 [DEBUG] - * _MSYS2_PREFIX='x86_64' (User)
2023-11-17 12:09:23,888 5472 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\cabal'
2023-11-17 12:09:23,903 5472 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\cabal-install-3.10.2.0-x86_64-windows.zip.txt'
with checksum 'FE2F475A599E91EEC004A5F74A5196FF'
2023-11-17 12:09:23,903 5472 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\cabal.nupkg'
with checksum '6E422E2744A0A993360B7F35E46D0B53'
2023-11-17 12:09:23,903 5472 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\cabal.nuspec'
with checksum '96FBFA322F77DD100591A6B034AF04DB'
2023-11-17 12:09:23,920 5472 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\LICENSE.txt'
with checksum '088EF994BD58B4C25404DC481D849DE6'
2023-11-17 12:09:23,920 5472 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyBeforeModify.ps1'
with checksum 'C5E0D4467FC1D61A0ED1FF48C8F615D8'
2023-11-17 12:09:23,935 5472 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyInstall.ps1'
with checksum '7AAD03B3E6960CE7EE30C838301F7E91'
2023-11-17 12:09:23,935 5472 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\mingw64-pkg.ps1'
with checksum '8792394360CF3B40E1B330C25C035D6D'
2023-11-17 12:09:24,170 5472 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.10.2.0\cabal.exe'
with checksum '07060B4B5715AA5FA504F457530B8B53'
2023-11-17 12:09:24,170 5472 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.10.2.0\plan.json'
with checksum '89AB33764BE12A433D04CDB1F0808B84'
2023-11-17 12:09:24,200 5472 [DEBUG] - Calling command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\cabal\tools\cabal-3.10.2.0\cabal.exe" --output="C:\ProgramData\chocolatey\bin\cabal.exe" --iconpath="C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.10.2.0\cabal.exe"']
2023-11-17 12:09:25,325 5472 [DEBUG] - [ShimGen] [WARN ] Could not extract icon from associated program. Using default. Error:
2023-11-17 12:09:25,342 5472 [DEBUG] - [ShimGen] Selected Icon is invalid
2023-11-17 12:09:26,061 5472 [DEBUG] - [ShimGen] Microsoft (R) Visual C# Compiler version 4.8.3761.0
2023-11-17 12:09:26,076 5472 [DEBUG] - [ShimGen] for C# 5
2023-11-17 12:09:26,093 5472 [DEBUG] - [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
2023-11-17 12:09:26,107 5472 [DEBUG] - [ShimGen] This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240
2023-11-17 12:09:26,122 5472 [DEBUG] - [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\cabal.exe'
2023-11-17 12:09:26,138 5472 [DEBUG] - Command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\cabal\tools\cabal-3.10.2.0\cabal.exe" --output="C:\ProgramData\chocolatey\bin\cabal.exe" --iconpath="C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.10.2.0\cabal.exe"'] exited with '0'
2023-11-17 12:09:26,154 5472 [INFO ] - ShimGen has successfully created a shim for cabal.exe
2023-11-17 12:09:26,154 5472 [DEBUG] - Created: C:\ProgramData\chocolatey\bin\cabal.exe
Targeting: C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.10.2.0\cabal.exe
IsGui:False
2023-11-17 12:09:26,263 5472 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\cabal.3.10.2".
2023-11-17 12:09:26,310 5472 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\cabal.3.10.2\.files'
2023-11-17 12:09:26,326 5472 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\cabal.3.10.2\.extra".
2023-11-17 12:09:26,342 5472 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\cabal.3.10.2\.version".
2023-11-17 12:09:26,342 5472 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\cabal.3.10.2\.sxs".
2023-11-17 12:09:26,357 5472 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\cabal.3.10.2\.pin".
2023-11-17 12:09:26,373 5472 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-11-17 12:09:26,373 5472 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\cabal\.chocolateyPending".
2023-11-17 12:09:26,389 5472 [INFO ] - The install of cabal was successful.
2023-11-17 12:09:26,389 5472 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.10.2.0'
2023-11-17 12:09:26,436 5472 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-11-17 12:09:26,450 5472 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-11-17 12:09:26,466 5472 [DEBUG] - Exiting with 0
2023-11-18 10:56:45,031 1940 [DEBUG] - XmlConfiguration is now operational
2023-11-18 10:56:45,155 1940 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-11-18 10:56:45,155 1940 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-11-18 10:56:45,172 1940 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-11-18 10:56:45,172 1940 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-11-18 10:56:45,172 1940 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-11-18 10:56:45,172 1940 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-11-18 10:56:45,188 1940 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-11-18 10:56:45,188 1940 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-11-18 10:56:45,188 1940 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-11-18 10:56:45,204 1940 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-11-18 10:56:45,204 1940 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2023-11-18 10:56:45,781 1940 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-18 10:56:45,781 1940 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-18 10:56:45,781 1940 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-18 10:56:45,796 1940 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-18 10:56:45,796 1940 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-18 10:56:45,796 1940 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-18 10:56:45,796 1940 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-18 10:56:45,813 1940 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-18 10:56:45,813 1940 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-18 10:56:45,813 1940 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-11-18 10:56:45,843 1940 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-11-18 10:56:45,843 1940 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-11-18 10:56:45,859 1940 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-11-18 10:56:45,859 1940 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-11-18 10:56:45,859 1940 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-11-18 10:56:45,859 1940 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-11-18 10:56:45,875 1940 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-11-18 10:56:45,875 1940 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-11-18 10:56:45,875 1940 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-11-18 10:56:45,875 1940 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-11-18 10:56:45,891 1940 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-11-18 10:56:45,891 1940 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-11-18 10:56:45,891 1940 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-11-18 10:56:45,906 1940 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-11-18 10:56:45,906 1940 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-11-18 10:56:45,906 1940 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-11-18 10:56:45,922 1940 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-11-18 10:56:45,922 1940 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-11-18 10:56:45,922 1940 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-11-18 10:56:45,922 1940 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-11-18 10:56:46,282 1940 [INFO ] - ============================================================
2023-11-18 10:56:46,766 1940 [INFO ] - Chocolatey v2.2.2
2023-11-18 10:56:46,797 1940 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-11-18 10:56:46,813 1940 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-11-18 10:56:46,813 1940 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-11-18 10:56:46,844 1940 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall cabal --version 3.10.2.0 -dvy --execution-timeout=2700
2023-11-18 10:56:46,860 1940 [DEBUG] - Received arguments: uninstall cabal --version 3.10.2.0 -dvy --execution-timeout=2700
2023-11-18 10:56:47,109 1940 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-11-18 10:56:47,140 1940 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-11-18 10:56:47,156 1940 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-11-18 10:56:47,281 1940 [DEBUG] - Performing validation checks.
2023-11-18 10:56:47,296 1940 [DEBUG] - Global Configuration Validation Checks:
2023-11-18 10:56:47,312 1940 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-11-18 10:56:47,312 1940 [DEBUG] - System State Validation Checks:
2023-11-18 10:56:47,328 1940 [DEBUG] - Reboot Requirement Checks:
2023-11-18 10:56:47,328 1940 [DEBUG] - - Pending Computer Rename = Checked
2023-11-18 10:56:47,343 1940 [DEBUG] - - Pending Component Based Servicing = Checked
2023-11-18 10:56:47,343 1940 [DEBUG] - - Pending Windows Auto Update = Checked
2023-11-18 10:56:47,359 1940 [DEBUG] - - Pending File Rename Operations = Ignored
2023-11-18 10:56:47,359 1940 [DEBUG] - - Pending Windows Package Installer = Checked
2023-11-18 10:56:47,375 1940 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-11-18 10:56:47,375 1940 [DEBUG] - Cache Folder Lockdown Checks:
2023-11-18 10:56:47,391 1940 [DEBUG] - - Elevated State = Checked
2023-11-18 10:56:47,391 1940 [DEBUG] - - Folder Exists = Checked
2023-11-18 10:56:47,412 1940 [DEBUG] - - Folder lockdown = Checked
2023-11-18 10:56:47,421 1940 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2023-11-18 10:56:47,453 1940 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-11-18 10:56:47,453 1940 [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.
2023-11-18 10:56:47,500 1940 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|ShowOnlineHelp='False'|Debug='True'|Verbose='True'|
Trace='False'|Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='cabal'|
Version='3.10.2.0'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
PackageNames='cabal'|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.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='2.2.2.0'|
Information.ChocolateyProductVersion='2.2.2'|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-795AN2HB72Q'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|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='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
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'|
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'|
2023-11-18 10:56:47,515 1940 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-11-18 10:56:47,515 1940 [INFO ] - Uninstalling the following packages:
2023-11-18 10:56:47,531 1940 [INFO ] - cabal
2023-11-18 10:56:47,562 1940 [DEBUG] - Current environment values (may contain sensitive data):
2023-11-18 10:56:47,562 1940 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;C:\Users\vagrant\AppData\Roaming\cabal\bin;' ('User')
2023-11-18 10:56:47,562 1940 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-11-18 10:56:47,578 1940 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-11-18 10:56:47,578 1940 [DEBUG] - * 'ChocolateyLastPathUpdate'='133447785883493482' ('User')
2023-11-18 10:56:47,594 1940 [DEBUG] - * 'ChocolateyToolsLocation'='C:\tools' ('User')
2023-11-18 10:56:47,594 1940 [DEBUG] - * '_MSYS2_BASH'='C:\tools\msys64\usr\bin\bash.exe' ('User')
2023-11-18 10:56:47,594 1940 [DEBUG] - * '_MSYS2_PREFIX'='x86_64' ('User')
2023-11-18 10:56:47,610 1940 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-11-18 10:56:47,610 1940 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-11-18 10:56:47,610 1940 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-11-18 10:56:47,625 1940 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2023-11-18 10:56:47,625 1940 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-11-18 10:56:47,625 1940 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-11-18 10:56:47,641 1940 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-11-18 10:56:47,641 1940 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-11-18 10:56:47,641 1940 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-11-18 10:56:47,657 1940 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-11-18 10:56:47,657 1940 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-11-18 10:56:47,657 1940 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2023-11-18 10:56:47,672 1940 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-11-18 10:56:47,672 1940 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-11-18 10:56:47,672 1940 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-11-18 10:56:47,688 1940 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-11-18 10:56:47,875 1940 [DEBUG] - Running list with the following filter = ''
2023-11-18 10:56:47,892 1940 [DEBUG] - --- Start of List ---
2023-11-18 10:56:48,124 1940 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-11-18 10:56:48,671 1940 [DEBUG] - cabal 3.10.2
2023-11-18 10:56:48,687 1940 [DEBUG] - chocolatey 2.2.2
2023-11-18 10:56:48,687 1940 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-11-18 10:56:48,703 1940 [DEBUG] - KB2919355 1.0.20160915
2023-11-18 10:56:48,718 1940 [DEBUG] - KB2919442 1.0.20160915
2023-11-18 10:56:48,718 1940 [DEBUG] - KB2999226 1.0.20181019
2023-11-18 10:56:48,734 1940 [DEBUG] - KB3035131 1.0.3
2023-11-18 10:56:48,734 1940 [DEBUG] - KB3118401 1.0.5
2023-11-18 10:56:48,750 1940 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-11-18 10:56:48,750 1940 [DEBUG] - --- End of List ---
2023-11-18 10:56:48,766 1940 [DEBUG] - Running list with the following filter = ''
2023-11-18 10:56:48,766 1940 [DEBUG] - --- Start of List ---
2023-11-18 10:56:48,797 1940 [DEBUG] - cabal 3.10.2
2023-11-18 10:56:48,812 1940 [DEBUG] - chocolatey 2.2.2
2023-11-18 10:56:48,812 1940 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-11-18 10:56:48,829 1940 [DEBUG] - KB2919355 1.0.20160915
2023-11-18 10:56:48,829 1940 [DEBUG] - KB2919442 1.0.20160915
2023-11-18 10:56:48,844 1940 [DEBUG] - KB2999226 1.0.20181019
2023-11-18 10:56:48,844 1940 [DEBUG] - KB3035131 1.0.3
2023-11-18 10:56:48,860 1940 [DEBUG] - KB3118401 1.0.5
2023-11-18 10:56:48,860 1940 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-11-18 10:56:48,874 1940 [DEBUG] - --- End of List ---
2023-11-18 10:56:48,922 1940 [DEBUG] - Running list with the following filter = ''
2023-11-18 10:56:48,937 1940 [DEBUG] - --- Start of List ---
2023-11-18 10:56:48,968 1940 [DEBUG] - cabal 3.10.2
2023-11-18 10:56:48,968 1940 [DEBUG] - chocolatey 2.2.2
2023-11-18 10:56:48,984 1940 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-11-18 10:56:49,000 1940 [DEBUG] - KB2919355 1.0.20160915
2023-11-18 10:56:49,000 1940 [DEBUG] - KB2919442 1.0.20160915
2023-11-18 10:56:49,015 1940 [DEBUG] - KB2999226 1.0.20181019
2023-11-18 10:56:49,015 1940 [DEBUG] - KB3035131 1.0.3
2023-11-18 10:56:49,032 1940 [DEBUG] - KB3118401 1.0.5
2023-11-18 10:56:49,048 1940 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-11-18 10:56:49,063 1940 [DEBUG] - --- End of List ---
2023-11-18 10:56:49,109 1940 [INFO ] -
cabal v3.10.2
2023-11-18 10:56:49,141 1940 [DEBUG] - Running beforeModify step for 'cabal'
2023-11-18 10:56:49,173 1940 [DEBUG] - Setting installer args for cabal
2023-11-18 10:56:49,173 1940 [DEBUG] - Setting package parameters for cabal
2023-11-18 10:56:49,188 1940 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyBeforeModify.ps1':
2023-11-18 10:56:49,204 1940 [DEBUG] - $version = '3.10.2.0'
$packageName = 'cabal'
$url = 'https://downloads.haskell.org/cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0-i386-unknown-mingw32.zip'
$url64 = 'https://downloads.haskell.org/cabal/cabal-install-3.10.2.0/cabal-install-3.10.2.0-x86_64-windows.zip'
$binRoot = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
$packageFullName = Join-Path $binRoot ($packageName + '-' + $version)
$is64 = (Get-OSArchitectureWidth 64) -and $env:chocolateyForceX86 -ne 'true'
$cabal = Join-Path $packageFullName "cabal.exe"
function Find-Entry {
param( [string] $app )
Get-Command -ErrorAction SilentlyContinue $app `
| Select-Object -first 1 `
| ForEach-Object { Split-Path $_.Path -Parent }
}
Function Execute-Command {
param( [string] $commandTitle
, [string] $commandPath
, [string] $commandArguments
)
Try {
$pinfo = New-Object System.Diagnostics.ProcessStartInfo
$pinfo.FileName = $commandPath
$pinfo.RedirectStandardError = $true
$pinfo.RedirectStandardOutput = $true
$pinfo.UseShellExecute = $false
$pinfo.Arguments = $commandArguments
$pinfo.WindowStyle = [Diagnostics.ProcessWindowStyle]::Hidden
$pinfo.CreateNoWindow = $true
$p = New-Object System.Diagnostics.Process
$p.StartInfo = $pinfo
$p.Start() | Out-Null
[pscustomobject]@{
commandTitle = $commandTitle
stdout = $p.StandardOutput.ReadToEnd()
stderr = $p.StandardError.ReadToEnd()
ExitCode = $p.ExitCode
}
$p.WaitForExit()
}
Catch {
exit
}
}
function Find-MSYS2 {
param()
# See if the user has msys2 already installed.
$msys2 = Find-Entry "msys2_shell.cmd"
if (($null -eq $msys2) -or ($msys2 -eq "")) {
$msys2 = Find-Entry "mingw*_shell.bat"
}
$dir_name = if ($is64) { 'msys64' } else { 'msys32' }
# Check for standalone msys2 installs
if (($null -eq $msys2) -or ($msys2 -eq "")) {
$tmp = Join-Path $Env:SystemDrive $dir_name
if (Test-Path $tmp -PathType Container) {
Write-Host "Standalone msys2 detected. Using default paths."
$msys2 = $tmp
}
}
if (($null -eq $msys2) -or ($msys2 -eq "")) {
# msys2 was not found already installed, assume user will install
# it in the default directory, so create the expected default msys2
# installation path.
$msys2 = "{0}\\{1}" -f (Get-ToolsLocation), $dir_name
}
Write-Debug "Msys2 directory: ${msys2}"
return $msys2
}
function ReadCabal-Config {
param( [string] $key )
$prog = "$cabal"
$cmd = "user-config diff -a ${key}:"
$proc = Execute-Command "Reading cabal config key '${key}'." $prog $cmd
if ($proc.ExitCode -ne 0) {
Write-Error $proc.stdout
Write-Error $proc.stderr
throw ("Could not read cabal configuration key '${key}'.")
}
$option = [System.StringSplitOptions]::RemoveEmptyEntries
$procout = $proc.stdout.Split([Environment]::NewLine) | Select-String "- ${key}" | Select-Object -First 1
if (!$procout) {
Write-Debug "No Cabal config for ${key}"
return {@()}.Invoke()
} else {
$value = $procout.ToString().Split(@(':'), 2, $option)[1].ToString()
$value = $value.Split([Environment]::NewLine)[0].Trim()
Write-Debug "Read Cabal config ${key}: ${value}"
return {$value.Replace('"','').Split(@(','), $option)}.Invoke()
}
}
function UpdateCabal-Config {
param( [string] $key
, [string[]] $values
)
if ((!$values) -or ($values.Count -eq 0)) {
$values = ""
} else {
#$value = '"' + [String]::Join("`",`"", $values) + '"'
$value = [String]::Join(",", $values)
}
$prog = "$cabal"
$cmd = "user-config update -a `"${key}: $value`""
$proc = Execute-Command "Update cabal config key '${key}'." $prog $cmd
if ($proc.ExitCode -ne 0) {
Write-Error $proc.stdout
Write-Error $proc.stderr
throw ("Could not update cabal configuration key '${key}'.")
}
Write-Debug "Wrote Cabal config ${key}: ${value}"
}
function Restore-Config-Cabal {
param()
$ErrorActionPreference = 'Stop'
$msys2_path = Find-MSYS2
$prog_path = ReadCabal-Config "extra-prog-path"
$lib_dirs = ReadCabal-Config "extra-lib-dirs"
$include_dirs = ReadCabal-Config "extra-include-dirs"
$native_path = if ($is64) { 'mingw64' } else { 'mingw32' }
$native_path = Join-Path $msys2_path $native_path
$msys_lib_dir = Join-Path $native_path "lib"
# Build new binary paths
$native_bin = Join-Path $native_path "bin"
$new_prog_paths = {$prog_path}.Invoke()
$new_prog_paths.Remove((Join-Path (Join-Path $msys2_path "usr") "bin")) | Out-Null
$new_prog_paths.Remove(($native_bin)) | Out-Null
$new_prog_paths = $new_prog_paths | Select-Object -Unique
# Build new library paths
$new_lib_dirs = {$lib_dirs}.Invoke()
$new_lib_dirs.Remove((Join-Path $native_path "lib")) | Out-Null
$new_lib_dirs = $new_lib_dirs | Select-Object -Unique
# Build new include paths
$new_include_dirs = {$include_dirs}.Invoke()
$new_include_dirs.Remove((Join-Path $native_path "include")) | Out-Null
$new_include_dirs = $new_include_dirs | Select-Object -Unique
UpdateCabal-Config "extra-prog-path" $new_prog_paths
UpdateCabal-Config "extra-lib-dirs" $new_lib_dirs
UpdateCabal-Config "extra-include-dirs" $new_include_dirs
Write-Host "Restored cabal configuration."
}
# Now execute cabal configuration updates
Restore-Config-Cabal
Uninstall-ChocolateyEnvironmentVariable -VariableName '_MSYS2_BASH'
Uninstall-ChocolateyEnvironmentVariable -VariableName '_MSYS2_PREFIX'
# Cleanup the batch file we created
Get-Command "mingw64-pkg.bat" -ErrorAction SilentlyContinue `
| ForEach-Object { Remove-Item -Force $_ -ErrorAction SilentlyContinue }
2023-11-18 10:56:49,249 1940 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyBeforeModify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-11-18 10:56:49,265 1940 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-11-18 10:56:50,377 1940 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-11-18 10:56:50,875 1940 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-11-18 10:56:50,890 1940 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-11-18 10:56:50,890 1940 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-11-18 10:56:50,890 1940 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-11-18 10:56:50,906 1940 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-11-18 10:56:50,906 1940 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-11-18 10:56:50,921 1940 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-11-18 10:56:50,937 1940 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-11-18 10:56:50,969 1940 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-11-18 10:56:50,984 1940 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-11-18 10:56:50,999 1940 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-11-18 10:56:51,015 1940 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-11-18 10:56:51,031 1940 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-11-18 10:56:51,031 1940 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-11-18 10:56:51,046 1940 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-11-18 10:56:51,046 1940 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-11-18 10:56:51,062 1940 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-11-18 10:56:51,062 1940 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-11-18 10:56:51,078 1940 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-11-18 10:56:51,078 1940 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-11-18 10:56:51,094 1940 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-11-18 10:56:51,110 1940 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-11-18 10:56:51,110 1940 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-11-18 10:56:51,124 1940 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-11-18 10:56:51,124 1940 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-11-18 10:56:51,143 1940 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-11-18 10:56:51,156 1940 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-11-18 10:56:51,156 1940 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-11-18 10:56:51,172 1940 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-11-18 10:56:51,172 1940 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-11-18 10:56:51,187 1940 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-11-18 10:56:51,187 1940 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-11-18 10:56:51,205 1940 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-11-18 10:56:51,205 1940 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-11-18 10:56:51,220 1940 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-11-18 10:56:51,234 1940 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-11-18 10:56:51,234 1940 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-11-18 10:56:51,251 1940 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-11-18 10:56:51,265 1940 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-11-18 10:56:51,265 1940 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-11-18 10:56:51,282 1940 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-11-18 10:56:51,282 1940 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-11-18 10:56:51,297 1940 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-11-18 10:56:51,313 1940 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-11-18 10:56:51,313 1940 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-11-18 10:56:51,329 1940 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-11-18 10:56:51,329 1940 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-11-18 10:56:51,343 1940 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-11-18 10:56:51,343 1940 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-11-18 10:56:51,359 1940 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-11-18 10:56:51,359 1940 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-11-18 10:56:51,406 1940 [DEBUG] - Loading community extensions
2023-11-18 10:56:51,453 1940 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-11-18 10:56:51,468 1940 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-11-18 10:56:51,562 1940 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-11-18 10:56:51,562 1940 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-11-18 10:56:51,577 1940 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-11-18 10:56:51,577 1940 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-11-18 10:56:51,593 1940 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-11-18 10:56:51,610 1940 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-11-18 10:56:51,610 1940 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-11-18 10:56:51,625 1940 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-11-18 10:56:51,640 1940 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-11-18 10:56:51,640 1940 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-11-18 10:56:51,656 1940 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-11-18 10:56:51,656 1940 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-11-18 10:56:51,671 1940 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-11-18 10:56:51,671 1940 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-11-18 10:56:51,687 1940 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-11-18 10:56:51,687 1940 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-11-18 10:56:51,702 1940 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-11-18 10:56:51,718 1940 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-11-18 10:56:51,718 1940 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-11-18 10:56:51,734 1940 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-11-18 10:56:51,734 1940 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-11-18 10:56:51,751 1940 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-11-18 10:56:51,751 1940 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-11-18 10:56:51,767 1940 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-11-18 10:56:51,767 1940 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-11-18 10:56:51,781 1940 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-11-18 10:56:51,781 1940 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-11-18 10:56:51,797 1940 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-11-18 10:56:51,797 1940 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-11-18 10:56:51,813 1940 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-11-18 10:56:51,827 1940 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-11-18 10:56:51,827 1940 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-11-18 10:56:51,843 1940 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-11-18 10:56:51,843 1940 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-11-18 10:56:51,859 1940 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-11-18 10:56:51,859 1940 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-11-18 10:56:51,875 1940 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-11-18 10:56:51,875 1940 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-11-18 10:56:51,890 1940 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-11-18 10:56:51,890 1940 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-11-18 10:56:51,906 1940 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-11-18 10:56:51,921 1940 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-11-18 10:56:51,921 1940 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-11-18 10:56:51,937 1940 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-11-18 10:56:51,937 1940 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-11-18 10:56:51,953 1940 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-11-18 10:56:51,953 1940 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-11-18 10:56:51,968 1940 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-11-18 10:56:52,001 1940 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-11-18 10:56:52,001 1940 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-11-18 10:56:52,015 1940 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-11-18 10:56:52,015 1940 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-11-18 10:56:52,031 1940 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-11-18 10:56:52,031 1940 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-11-18 10:56:52,046 1940 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-11-18 10:56:52,046 1940 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-11-18 10:56:52,063 1940 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-11-18 10:56:52,063 1940 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-11-18 10:56:52,078 1940 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-11-18 10:56:52,078 1940 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-11-18 10:56:52,093 1940 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-11-18 10:56:52,109 1940 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-11-18 10:56:52,109 1940 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-11-18 10:56:52,124 1940 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-11-18 10:56:52,124 1940 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-11-18 10:56:52,141 1940 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-11-18 10:56:52,141 1940 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-11-18 10:56:52,156 1940 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-11-18 10:56:52,156 1940 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-11-18 10:56:52,173 1940 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-11-18 10:56:52,173 1940 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-11-18 10:56:52,189 1940 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-11-18 10:56:52,202 1940 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-11-18 10:56:52,202 1940 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-11-18 10:56:52,219 1940 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-11-18 10:56:52,219 1940 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-11-18 10:56:52,235 1940 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-11-18 10:56:52,235 1940 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-11-18 10:56:52,250 1940 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-11-18 10:56:52,250 1940 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-11-18 10:56:52,266 1940 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-11-18 10:56:52,266 1940 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-11-18 10:56:52,281 1940 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-11-18 10:56:52,281 1940 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-11-18 10:56:52,296 1940 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-11-18 10:56:52,329 1940 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-11-18 10:56:52,329 1940 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-11-18 10:56:52,344 1940 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-11-18 10:56:52,359 1940 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-11-18 10:56:52,359 1940 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-11-18 10:56:52,374 1940 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-11-18 10:56:52,374 1940 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-11-18 10:56:52,390 1940 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-11-18 10:56:52,390 1940 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-11-18 10:56:52,406 1940 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-11-18 10:56:52,406 1940 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-11-18 10:56:52,422 1940 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-11-18 10:56:52,422 1940 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-11-18 10:56:52,438 1940 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-11-18 10:56:52,438 1940 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-11-18 10:56:52,453 1940 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-11-18 10:56:52,453 1940 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-11-18 10:56:52,469 1940 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-11-18 10:56:52,469 1940 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-11-18 10:56:52,485 1940 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-11-18 10:56:52,485 1940 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-11-18 10:56:52,501 1940 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-11-18 10:56:52,515 1940 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-11-18 10:56:52,515 1940 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-11-18 10:56:52,531 1940 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-11-18 10:56:52,640 1940 [DEBUG] - ---------------------------Script Execution---------------------------
2023-11-18 10:56:52,671 1940 [DEBUG] - Running 'ChocolateyScriptRunner' for cabal v3.10.2 with packageScript 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyBeforeModify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\cabal', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-11-18 10:56:52,765 1940 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyBeforeModify.ps1'
2023-11-18 10:56:52,953 1940 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2023-11-18 10:56:53,328 1940 [DEBUG] - Running Get-ToolsLocation
2023-11-18 10:56:53,375 1940 [DEBUG] - Msys2 directory: C:\tools\\msys64
2023-11-18 10:56:54,156 1940 [DEBUG] - No Cabal config for extra-prog-path
2023-11-18 10:56:54,406 1940 [DEBUG] - No Cabal config for extra-lib-dirs
2023-11-18 10:56:54,577 1940 [DEBUG] - No Cabal config for extra-include-dirs
2023-11-18 10:56:54,922 1940 [DEBUG] - Wrote Cabal config extra-prog-path:
2023-11-18 10:56:55,156 1940 [DEBUG] - Wrote Cabal config extra-lib-dirs:
2023-11-18 10:56:55,344 1940 [DEBUG] - Wrote Cabal config extra-include-dirs:
2023-11-18 10:56:55,406 1940 [INFO ] - Restored cabal configuration.
2023-11-18 10:56:55,468 1940 [DEBUG] - Running Uninstall-ChocolateyEnvironmentVariable -variableName '_MSYS2_BASH'
2023-11-18 10:56:55,624 1940 [DEBUG] - Running Set-EnvironmentVariable -Name '_MSYS2_BASH' -Value '' -Scope 'User'
2023-11-18 10:56:55,687 1940 [DEBUG] - Running Uninstall-ChocolateyEnvironmentVariable -variableName '_MSYS2_PREFIX'
2023-11-18 10:56:55,703 1940 [DEBUG] - Running Set-EnvironmentVariable -Name '_MSYS2_PREFIX' -Value '' -Scope 'User'
2023-11-18 10:56:55,796 1940 [DEBUG] - ----------------------------------------------------------------------
2023-11-18 10:56:55,827 1940 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyBeforeModify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-11-18 10:56:55,843 1940 [DEBUG] - Backing up package files for 'cabal'
2023-11-18 10:56:55,969 1940 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\cabal".
2023-11-18 10:56:55,985 1940 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\cabal to C:\ProgramData\chocolatey\lib-bkp\cabal\3.10.2
2023-11-18 10:56:55,985 1940 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\cabal'
to 'C:\ProgramData\chocolatey\lib-bkp\cabal\3.10.2'
2023-11-18 10:56:58,016 1940 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\cabal".
2023-11-18 10:56:58,016 1940 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\cabal\3.10.2\cabal-install-3.10.2.0-x86_64-windows.zip.txt"
to "C:\ProgramData\chocolatey\lib\cabal\cabal-install-3.10.2.0-x86_64-windows.zip.txt".
2023-11-18 10:56:58,031 1940 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\cabal\3.10.2\cabal.nupkg"
to "C:\ProgramData\chocolatey\lib\cabal\cabal.nupkg".
2023-11-18 10:56:58,031 1940 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\cabal\3.10.2\cabal.nuspec"
to "C:\ProgramData\chocolatey\lib\cabal\cabal.nuspec".
2023-11-18 10:56:58,047 1940 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\cabal\3.10.2\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\cabal\LICENSE.txt".
2023-11-18 10:56:58,047 1940 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\cabal\tools".
2023-11-18 10:56:58,063 1940 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\cabal\3.10.2\tools\chocolateyBeforeModify.ps1"
to "C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyBeforeModify.ps1".
2023-11-18 10:56:58,063 1940 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\cabal\3.10.2\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyInstall.ps1".
2023-11-18 10:56:58,077 1940 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\cabal\3.10.2\tools\mingw64-pkg.ps1"
to "C:\ProgramData\chocolatey\lib\cabal\tools\mingw64-pkg.ps1".
2023-11-18 10:56:58,077 1940 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.10.2.0".
2023-11-18 10:56:58,077 1940 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\cabal\3.10.2\tools\cabal-3.10.2.0\cabal.exe"
to "C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.10.2.0\cabal.exe".
2023-11-18 10:56:58,174 1940 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\cabal\3.10.2\tools\cabal-3.10.2.0\plan.json"
to "C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.10.2.0\plan.json".
2023-11-18 10:56:59,687 1940 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\cabal'
2023-11-18 10:56:59,703 1940 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\cabal-install-3.10.2.0-x86_64-windows.zip.txt'
with checksum 'FE2F475A599E91EEC004A5F74A5196FF'
2023-11-18 10:56:59,703 1940 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\cabal.nupkg'
with checksum '6E422E2744A0A993360B7F35E46D0B53'
2023-11-18 10:56:59,703 1940 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\cabal.nuspec'
with checksum '96FBFA322F77DD100591A6B034AF04DB'
2023-11-18 10:56:59,718 1940 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\LICENSE.txt'
with checksum '088EF994BD58B4C25404DC481D849DE6'
2023-11-18 10:56:59,718 1940 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyBeforeModify.ps1'
with checksum 'C5E0D4467FC1D61A0ED1FF48C8F615D8'
2023-11-18 10:56:59,718 1940 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyInstall.ps1'
with checksum '7AAD03B3E6960CE7EE30C838301F7E91'
2023-11-18 10:56:59,735 1940 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\mingw64-pkg.ps1'
with checksum '8792394360CF3B40E1B330C25C035D6D'
2023-11-18 10:57:00,063 1940 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.10.2.0\cabal.exe'
with checksum '07060B4B5715AA5FA504F457530B8B53'
2023-11-18 10:57:00,079 1940 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.10.2.0\plan.json'
with checksum '89AB33764BE12A433D04CDB1F0808B84'
2023-11-18 10:57:00,094 1940 [DEBUG] - Removing shim for cabal.exe at 'C:\ProgramData\chocolatey\bin\cabal.exe
2023-11-18 10:57:00,109 1940 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\cabal.exe".
2023-11-18 10:57:00,140 1940 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2023-11-18 10:57:00,156 1940 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-11-18 10:57:00,280 1940 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-11-18 10:57:00,313 1940 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\cabal".
2023-11-18 10:57:00,328 1940 [DEBUG] - Ensuring removal of installation files.
2023-11-18 10:57:00,345 1940 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\cabal-install-3.10.2.0-x86_64-windows.zip.txt'
with checksum 'FE2F475A599E91EEC004A5F74A5196FF'
2023-11-18 10:57:00,345 1940 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\cabal\cabal-install-3.10.2.0-x86_64-windows.zip.txt".
2023-11-18 10:57:00,345 1940 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\cabal.nupkg'
with checksum '6E422E2744A0A993360B7F35E46D0B53'
2023-11-18 10:57:00,359 1940 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\cabal\cabal.nupkg".
2023-11-18 10:57:00,359 1940 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\cabal.nuspec'
with checksum '96FBFA322F77DD100591A6B034AF04DB'
2023-11-18 10:57:00,359 1940 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\cabal\cabal.nuspec".
2023-11-18 10:57:00,375 1940 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\LICENSE.txt'
with checksum '088EF994BD58B4C25404DC481D849DE6'
2023-11-18 10:57:00,375 1940 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\cabal\LICENSE.txt".
2023-11-18 10:57:00,392 1940 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyBeforeModify.ps1'
with checksum 'C5E0D4467FC1D61A0ED1FF48C8F615D8'
2023-11-18 10:57:00,392 1940 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyBeforeModify.ps1".
2023-11-18 10:57:00,392 1940 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyInstall.ps1'
with checksum '7AAD03B3E6960CE7EE30C838301F7E91'
2023-11-18 10:57:00,407 1940 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyInstall.ps1".
2023-11-18 10:57:00,407 1940 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\mingw64-pkg.ps1'
with checksum '8792394360CF3B40E1B330C25C035D6D'
2023-11-18 10:57:00,407 1940 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\cabal\tools\mingw64-pkg.ps1".
2023-11-18 10:57:00,672 1940 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.10.2.0\cabal.exe'
with checksum '07060B4B5715AA5FA504F457530B8B53'
2023-11-18 10:57:00,688 1940 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.10.2.0\cabal.exe".
2023-11-18 10:57:00,688 1940 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.10.2.0\plan.json'
with checksum '89AB33764BE12A433D04CDB1F0808B84'
2023-11-18 10:57:00,705 1940 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.10.2.0\plan.json".
2023-11-18 10:57:00,720 1940 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\cabal".
2023-11-18 10:57:00,720 1940 [INFO ] - cabal has been successfully uninstalled.
2023-11-18 10:57:00,736 1940 [DEBUG] - Removing nupkg if it still exists.
2023-11-18 10:57:00,749 1940 [DEBUG] - Ensuring removal of installation files.
2023-11-18 10:57:00,765 1940 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-11-18 10:57:00,781 1940 [DEBUG] - The following values have been removed:
2023-11-18 10:57:00,781 1940 [DEBUG] - * _MSYS2_BASH='C:\tools\msys64\usr\bin\bash.exe' (User)
2023-11-18 10:57:00,797 1940 [DEBUG] - * _MSYS2_PREFIX='x86_64' (User)
2023-11-18 10:57:00,829 1940 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-11-18 10:57:00,860 1940 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-11-18 10:57:00,860 1940 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment