-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot add new source in winget #3927
Comments
What do you get for I didn't see the type being specified in the command. If this isn't a REST source, you would need to specify the type. |
It should be a REST source since it mirrors the official winget source. Since adding the source failed, there is only "msstore" in the source list. C:\Users\Administrator>winget source remove winget
正在删除源: winget...
完成
C:\Users\Administrator>winget source add winget https://mirrors.ustc.edu.cn/winget-source
正在添加源:
winget -> https://mirrors.ustc.edu.cn/winget-source
0%
执行此命令时发生意外错误:
Operation failed: 从 (Microsoft.Winget.Source_8wekyb3d8bbwe.msix) 使用程序包 Microsoft.Winget.Source_2023.1130.903.262_neutral__8wekyb3d8bbwe 中的目标卷 C: 执行的部署 Add 操作失败,错误为 0x8007065E。有关诊断应用部署问题的帮助,请参阅 http://go.microsoft.com/fwlink/?LinkId=235160。
0x8007065e : ͵ݲ֧֡
C:\Users\Administrator>winget source list
名称 参数
-----------------------------------------------------
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0
C:\Users\Administrator>winget source export
{"Arg":"https://storeedgefd.dsx.mp.microsoft.com/v9.0","Data":"","Identifier":"StoreEdgeFD","Name":"msstore","Type":"Microsoft.Rest"} |
If you run |
The default source is not avaliable in my network. C:\Windows\System32# winget source add -t Microsoft.PreIndexed.Package -n ustc https://mirrors.ustc.edu.cn/winget-source
正在添加源:
ustc -> https://mirrors.ustc.edu.cn/winget-source
0%
执行此命令时发生意外错误:
Operation failed: 从 (Microsoft.Winget.Source_8wekyb3d8bbwe.msix) 使用程序包 Microsoft.Winget.Source_2023.1207.1045.227_neutral__8wekyb3d8bbwe 中的目标卷 C: 执行的部署 Add 操作失败,错误为 0x8007065E。有关诊断应用部署问题的帮助,请参阅 http://go.microsoft.com/fwlink/?LinkId=235160。
0x8007065e : ͵ݲ֧֡ the error still. |
@KaiHuaDou - Do you still see this issue on the latest release of WinGet? It seems to be resolved for me
|
It might be my problem. D:\> winget source add -t Microsoft.PreIndexed.Package -n ustc https://mirrors.ustc.edu.cn/winget-source
正在添加源:
ustc -> https://mirrors.ustc.edu.cn/winget-source
0%
执行此命令时发生意外错误:
Operation failed: 从 (Microsoft.Winget.Source_8wekyb3d8bbwe.msix) 使用程序包 Microsoft.Winget.Source_2024.307.919.35_neutral__8wekyb3d8bbwe 中的目标卷 C: 执行的部署 Add 操作失败,错误为 0x8007065E。有关诊断应用部署问题的帮助,请参阅 http://go.microsoft.com/fwlink/?LinkId=235160。
0x8007065e : ������͵����ݲ���֧�֡�
D:\> winget -v
v1.7.10582 Also, I should run the command twice to get this result, it always produce a D:\> winget source add -t Microsoft.PreIndexed.Package -n ustc https://mirrors.ustc.edu.cn/winget-source
正在添加源:
ustc -> https://mirrors.ustc.edu.cn/winget-source
执行此命令时发生意外错误:
0x80072f7d : unknown error Also, reset winget settings and run |
Is it possible there is a firewall or network rule preventing connection to USTC? Have you tried using a VPN at all? |
The network is very well, I can even download |
Interesting. Have you by any chance tried changing the Winget Downloader Setting to see if that makes any difference? |
This is the log, it seems is the security channel problem: WinGet-2024-03-07-23-16-34.026.log |
I try to set the downloader to |
I see in a separate issue someone checked which TLS options were enabled on their computer which resolved a similar issue for them. |
Brief description of your issue
I try to use a mirror winget source.
So I first delete the source winget.
winget source remove winget
It runs well. Then I run command
winget source add winget https://mirrors.ustc.edu.cn/winget-source
It download all of 4.62MB datas, then when the add process bar shows, it says
The error code is not contains in neither the link provide or the winget help page.
According to the error message, it may be an MSIX installation error. So I installed a few more MSIX packages,but get no problems.
Then I update my winget to preview version, the bug stills.
Steps to reproduce
Run these commands:
Expected behavior
The new source is added.
Actual behavior
The new source is not added.
Environment
The text was updated successfully, but these errors were encountered: