Chocolatey gets installed but not winget, thus I can't install anything.
To Reproduce
Steps to reproduce the behavior:
Click on 'config'
Scroll down to 'reinstall winget'
See error
Expected behavior
Screenshots
Additional context
Windows 11 Pro 24H2
microsoft-ui-xaml-2-7 v2.7.3 (forced) [Approved]
microsoft-ui-xaml-2-7 package files install completed. Performing other installation steps.
ERROR: The type initializer for '<Module>' threw an exception.
The install of microsoft-ui-xaml-2-7 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\microsoft-ui-xaml-2-7\tools\chocolateyInstall.ps1'.
See log for details.
Downloading package from source 'https://community.chocolatey.org/api/v2/'
Progress: Downloading microsoft-vclibs-140-00 14.0.33321... 100%
microsoft-vclibs-140-00 v14.0.33321 (forced)
microsoft-vclibs-140-00 package files install completed. Performing other installation steps.
ERROR: The type initializer for '<Module>' threw an exception.
The install of microsoft-vclibs-140-00 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\microsoft-vclibs-140-00\tools\chocolateyInstall.ps1'.
See log for details. Failed to install winget-cli because a previous dependency failed. Failed to install winget because a previous dependency failed. Chocolatey installed 0/4 packages. 4 packages failed. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
- microsoft-ui-xaml-2-7 (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\microsoft-ui-xaml-2-7\tools\chocolateyInstall.ps1'. See log for details. - microsoft-vclibs-140-00 (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\microsoft-vclibs-140-00\tools\chocolateyInstall.ps1'. See log for details. - winget - Failed to install winget because a previous dependency failed. - winget-cli - Failed to install winget-cli because a previous dependency failed. Deployment operation progress: https://cdn.winget.microsoft.com/cache/source.msix Processing [oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo] ===========================================
Winget is not Installed. Continuing with install.
Downloading Winget Prerequsites
Downloading Microsoft.VCLibs Dependency...
Downloading Microsoft.UI.Xaml Dependency...
Downloading Winget and License File
Latest Version: v1.9.25200
Downloading...
Installing Winget w/ Prerequsites
Manually adding Winget Sources, from Winget CDN.
Winget Installed
Enabling NuGet and Module...
===========================================
-- Configuring winget packages ---
===========================================
===========================================
Error: This command cannot be run due to the error: The file cannot be accessed by the system.
Describe the bug
Chocolatey gets installed but not winget, thus I can't install anything.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
Additional context
Windows 11 Pro 24H2
chocolatey.log