-
-
Notifications
You must be signed in to change notification settings - Fork 653
Open
Description
Please confirm these before moving forward
- I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
- I have tested that this issue has not been fixed in the latest (beta or stable) release.
- I have checked the FAQ section for solutions.
- This issue is about a bug (if it is not, please use the correct template).
UniGetUI Version
3.3.6
Windows version, edition, and architecture
Windows 11 x64 24H2 26100.7171
Describe your issue
I added a proxy in UniGetUI settings, but when I enable it, winget updates fail.
Steps to reproduce the issue
No response
UniGetUI Log
[2025-11-27 20:25:27] WinGet package Microsoft.VCRedist.2015+.x86 is installed on a system-wide scope, forcing administrator rights...
[2025-11-27 20:25:27] Loaded operation parameters for package id=Microsoft.VCRedist.2015+.x86 on manager Winget and operation Update: update --id "Microsoft.VCRedist.2015+.x86" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force --architecture x86 --proxy http://127.0.0.1:7899
[2025-11-27 20:25:28] WinGet package Microsoft.VCRedist.2015+.x64 requires elevation, forcing administrator rights...
[2025-11-27 20:25:28] Loaded operation parameters for package id=Microsoft.VCRedist.2015+.x64 on manager Winget and operation Update: update --id "Microsoft.VCRedist.2015+.x64" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force --architecture x64 --proxy http://127.0.0.1:7899
[2025-11-27 20:25:35] Could not retrieve Proxy credentials
[2025-11-27 20:25:35] System.ArgumentException: 参数错误。
用户名值无效
at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32)
at ABI.Windows.Security.Credentials.IPasswordVaultMethods.Retrieve(IObjectReference, String, String)
at UniGetUI.Core.SettingsEngine.Settings.GetProxyCredentials() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.Core.Settings\SettingsEngine_Extras.cs:line 48
[2025-11-27 20:32:22] Could not retrieve Proxy credentials
[2025-11-27 20:32:22] System.ArgumentException: 参数错误。
用户名值无效
at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32)
at ABI.Windows.Security.Credentials.IPasswordVaultMethods.Retrieve(IObjectReference, String, String)
at UniGetUI.Core.SettingsEngine.Settings.GetProxyCredentials() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.Core.Settings\SettingsEngine_Extras.cs:line 48
[2025-11-27 20:33:17] Could not retrieve Proxy credentials
[2025-11-27 20:33:17] System.ArgumentException: 参数错误。
用户名值无效
at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32)
at ABI.Windows.Security.Credentials.IPasswordVaultMethods.Retrieve(IObjectReference, String, String)
at UniGetUI.Core.SettingsEngine.Settings.GetProxyCredentials() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.Core.Settings\SettingsEngine_Extras.cs:line 48
Package Managers Logs
Package update operation for Package=Microsoft.VCRedist.2015+.x86 with Manager=Winget
Installation options: <InstallOptions instance (only non-default values are shown)
OverridesNextLevelOpts: False>
Overriden options: <Scope=;RunAsAdministrator=;WG_SpecifyVersion=;PS_NoScope=False>
Version: 14.44.35211.0 -> 14.50.35719.0
开始操作...
Executing process with StartInfo:
- FileName: "D:\Programs\UniGetUI\Assets\Utilities\UniGetUI Elevator.exe"
- Arguments: ""C:\Users\y\AppData\Local\Microsoft\WindowsApps\winget.exe" update --id "Microsoft.VCRedist.2015+.x86" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force --architecture x86 --proxy http://127.0.0.1:7899"
Start Time: "2025-11-27 20:25:27"
Windows 程序包管理器 v1.12.350
版权所有 (C) Microsoft Corporation。保留所有权利。
此功能需要由管理员启用。若要启用它,请以管理员身份运行 “winget settings --enable ProxyCommandLineOptions”。
升级通过搜索已安装的包列表或直接从清单中找到的所选包。默认情况下,查询必须以不区分大小写方式匹配包的 ID、名称或名字对象。可通过传递相应的选项来使用其他字段。如果未提供参数,则显示具有可用升级的包
使用情况: winget upgrade [[-q] <query>...] [<选项>]
以下命令别名可用:
update
以下参数可用:
-q,--query 用于搜索程序包的查询
下列选项可用:
-m,--manifest 程序包清单的路径
--id 按 id 筛选结果
--name 按名称筛选结果
--moniker 按名字对象筛选结果
-v,--version 使用指定的版本;默认为最新版本
-s,--source 使用指定的源查找程序包
-e,--exact 使用精确匹配查找程序包
-i,--interactive 请求交互式安装;可能需要用户输入
-h,--silent 请求无提示安装
--purge 删除包目录中的所有文件和目录(可移植)
-o,--log 日志位置(如果支持)
--custom 除默认值外,参数传递到安装程序
--override 覆盖待传递的参数至安装程序
-l,--location 要安装到的位置(如支持)
--scope 选择已安装的程序包范围筛选器 (user 或 machine)
-a,--architecture 选择体系结构
--installer-type 选择安装程序类型
--locale 要使用的区域设置(BCP47 格式)
--ignore-security-hash 忽略安装程序哈希检查失败
--allow-reboot 如果适用,允许重启
--skip-dependencies 跳过处理包依赖项和 Windows 功能
--ignore-local-archive-malware-scan 忽略在从本地清单安装存档类型包时执行的恶意软件扫描
--accept-package-agreements 接受包的所有许可协议
--accept-source-agreements 在源操作期间接受所有源协议
--header 可选的 Windows-Package-Manager REST 源 HTTP 标头
--authentication-mode 指定身份验证窗口首选项(silent、silentPreferred 或 interactive)
--authentication-account 指定用于身份验证的帐户
-r,--recurse,--all 如果可用,将所有已安装的程序包更新为最新版本
-u,--unknown,--include-unknown 即使无法确定其当前版本,也可升级包
--pinned,--include-pinned 即使程序包拥有非阻止性包钉,也要升级程序包
--uninstall-previous 升级期间卸载以前版本的程序包
--force 直接运行命令并继续处理与安全无关的问题
-?,--help 显示选定命令的帮助信息
--wait 提示用户在退出前按任意键
--logs,--open-logs 打开默认日志位置
--verbose,--verbose-logs 启用 WinGet 的详细日志记录
--nowarn,--ignore-warnings 禁止显示警告输出
--disable-interactivity 禁用交互式提示
--proxy 设置要用于此执行的代理
--no-proxy 禁止对此执行使用代理
可在此找到更多帮助: "https://aka.ms/winget-command-upgrade"
End Time: "2025-11-27 20:25:28"
Process return value: "-1978335230" (0x8A150002)
无法更新 Microsoft Visual C++ 2015-2022 Redistributable (x86)
Relevant information
No response
Screenshots and videos
No response
EnesEfeTokta