Hello Johannes Kingma!
This issue occurs when the local package source index becomes corrupted, or when hidden terms and agreements prompts stall the installation process in the background.
Please follow these quick steps:
- Open PowerShell as an Administrator.
- Reset your Winget sources to clear out any corrupted data:
winget source reset --force - Update the source index with fresh data:
winget source update - Try your installation again, but append the agreement flags to prevent hidden prompts from hanging the process. For example:
winget install <PackageName> --accept-package-agreements --accept-source-agreements
Please let me know if the issue persists, and I am happy to follow up and troubleshoot this further with you.
If this solution fixes the problem, please click "Accept Answer" and upvote it! Doing so highly supports our community and helps other users quickly find the exact fix they need.