最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

windows - Issue with WinGet Install: Conflict (409) Error When Accessing Executable from Azure Storage - Stack Overflow

programmeradmin2浏览0评论

I've set up a new WinGet Rest Source in our Azure environment using New-WinGetSource, and successfully added it with winget source add. To test it, I wrote a simple HelloWorld program in C# and packaged it as an executable using Inno Setup. I then uploaded this installer executable to a new container in the Azure Storage Manager for the WinGet repository.

Next, I created a manifest YAML for WinGet and added it to my WinGet source using Add-WinGetManifest. The package shows up correctly when I run winget show. However, when I try to install it using winget install, I get the following error:

Unexpected error while executing the command:
Download request status is not success.
0x80190199 : Conflict (409)

I am connected to my Azure account in PowerShell. Why can't I access the executable, and what do I need to do to resolve this issue?

I expected the package to install without issues since it shows up correctly with winget show. I have verified that I am connected to my Azure account in PowerShell and that the executable is uploaded to the correct container in Azure Storage. I was expecting the winget install command to download and install the executable, but instead, I encountered the conflict error.

If more information is needed, please let me know. I appreciate any help you can provide.

Thank you!

发布评论

评论列表(0)

  1. 暂无评论