Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[BUG] (Enter your description here)

未关闭
#5,550 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
csharp
领域
backend, devtools

调研方向

Start by reading the version comparison and update selection flow for WinGet packages; the issue names no source files or tests. Reproduce the case from #5273 with Devolutions.AgentBroker 2026.3.2.0 installed and 2026.3.1.0 available. Done means UniGetUI no longer offers the lower version as an update, or clearly warns before proceeding.

由索引模型根据 Issue 内容生成。

描述

bug not-UniGetUI
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

2026.3.2

Windows version, edition, and architecture

Windows 10/11 (multiple editions) x64

Describe your issue

If a package is installed outside of winget/UnigetUI in a version higher than the officially released one, UnigetUI assumes that the lower (released) version is newer and offers an update, which always fails because the newer version is already installed.

In this specific case, it concerns Devolutions AgentBroker version 2026.3.2.0 (development, installed through the Devolutions Gateway installer). The actually released version is 2026.3.1.0.
(See also #5273)

UnigetUI should not offer lower version numbers for installation or, at the very least, display a warning instead of allowing the user to proceed with an installation that will always fail.

Steps to reproduce the issue

Follow the workaround in #5273. UnigetUI will soon offer an update to the lower version.

UniGetUI Log
[20.10.2026 18:43:22] WinGet package Devolutions.Agent is installed on a system-wide scope, forcing administrator rights...
[20.10.2026 18:43:22] Loaded operation parameters for package id=Devolutions.Agent on manager Winget and operation Update: update --id "Devolutions.Agent" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force 
[20.10.2026 18:43:22] [AgentBroker] ShouldUseAgentBroker check: eligible=True, manager=Winget, virtualSource=False
[20.10.2026 18:43:22] WinGet package Devolutions.Agent is installed on a system-wide scope, forcing administrator rights...
[20.10.2026 18:43:25] [AgentBroker] Connecting to operation event channel pipe 'Devolutions.Now.PackageBroker.Operation.op-5b894f10-87bc-46b7-96c6-c1c423bb3623'.
Package Managers Logs
not relevant
Relevant information

No response

Screenshots and videos
Image Image
主要语言
C#
星标
26.7k
派生
955
平均合并
1 天 30 分钟
30 天内合并 PR
76

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Devolutions/UniGetUI 的其他 Issue

查看 Devolutions/UniGetUI 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。