Skip to content
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

[Package Issue]: Xmake-io.Xmake #138172

Closed
1 task done
Dragon1573 opened this issue Feb 6, 2024 · 0 comments · Fixed by #138180
Closed
1 task done

[Package Issue]: Xmake-io.Xmake #138172

Dragon1573 opened this issue Feb 6, 2024 · 0 comments · Fixed by #138180
Labels
In-PR Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@Dragon1573
Copy link
Contributor

Dragon1573 commented Feb 6, 2024

Please confirm these before moving forward

  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue

Installation issue.

Brief description of your issue

When installing the latest version of Xmake build utility (x64) (aka. Xmake-io.Xmake) via WinGet, the actual installed version number is 2.8.6+20231226 instead of 2.8.6. WinGet will regard v2.8.6 newer than v2.8.6+20231226.

It should ...

  • either update the PackageVersion of Xmake-io.Xmake.
  • or Add AppsAndFeaturesEntries of this package, telling ARP version and manifest version apart.

Steps to reproduce

  1. Try winget install -e Xmake-io.Xmake, winget.exe should find current latest version 2.8.6
  2. Try winget update to see if there's any updates.

Actual behavior

pwsh> winget list XMake
名称                      ID             版本           可用  源
--------------------------------------------------------------------
Xmake build utility (x64) Xmake-io.Xmake 2.8.6+20231226 2.8.6 winget

Expected behavior

NO newer versions of XMake, as we JUST installed the current latest version.

Environment

Windows 程序包管理器(预览) v1.7.3481-preview
版权所有 (C) Microsoft Corporation。保留所有权利。

Windows: Windows.Desktop v10.0.22635.3139
系统体系结构: X64
软件包: Microsoft.DesktopAppInstaller v1.22.3481.0

Winget 目录
-------------------------------------------------------------------------------------------------------------------
日志                   %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
用户设置               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
可移植链接目录(用户)   %LOCALAPPDATA%\Microsoft\WinGet\Links
可移植链接目录(计算机) C:\Program Files\WinGet\Links
可移植包根目录(用户)   D:\Applications\WinGet\Portable\Users\
可移植包根目录         D:\Applications\WinGet\Portable\Global\
可移植包根目录 (x86)   D:\Applications\WinGet\Portable\Global\
安装程序下载           D:\Download\Aria2

链接
----------------------------------------------------------------------------
隐私声明             https://aka.ms/winget-privacy
许可协议             https://aka.ms/winget-license
第三方声明           https://aka.ms/winget-3rdPartyNotice
主页                 https://aka.ms/winget
Windows 应用商店条款 https://www.microsoft.com/en-us/storedocs/terms-of-sale

管理员设置                                状态
------------------------------------------------
LocalManifestFiles                        已启用
BypassCertificatePinningForMicrosoftStore 已禁用
InstallerHashOverride                     已禁用
LocalArchiveMalwareScanOverride           已禁用

Screenshots and Logs

pwsh> winget update
名称                      ID             版本           可用  源
--------------------------------------------------------------------
Xmake build utility (x64) Xmake-io.Xmake 2.8.6+20231226 2.8.6 winget
1 升级可用。
1 程序包的版本号无法确定。使用 --include-unknown 查看所有结果。
3 程序包拥有阻止升级的包钉。使用 'winget pin' 命令查看和编辑包钉。使用 --include-pinned 参数可能显示更多结果。

pwsh> sudo winget update --all
名称                      ID             版本           可用  源
--------------------------------------------------------------------
Xmake build utility (x64) Xmake-io.Xmake 2.8.6+20231226 2.8.6 winget
1 升级可用。
1 程序包的版本号无法确定。使用 --include-unknown 查看所有结果。
3 程序包拥有阻止升级的包钉。使用 'winget pin' 命令查看和编辑包钉。使用 --include-pinned 参数可能显示更多结果。

(1/1) 已找到 XMake build utility [Xmake-io.Xmake] 版本 2.8.6
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责,也不向第三方程序包授予任何许可证。
正在下载 https://github.com/xmake-io/xmake/releases/download/v2.8.6/xmake-v2.8.6.win64.exe
  ██████████████████████████████  3.80 MB / 3.80 MB
已成功验证安装程序哈希
正在启动程序包安装...
已成功安装

1 程序包的版本号无法确定。使用 --include-unknown 查看所有结果。

pwsh> sudo winget update --all
名称                      ID             版本           可用  源
--------------------------------------------------------------------
Xmake build utility (x64) Xmake-io.Xmake 2.8.6+20231226 2.8.6 winget
1 升级可用。
1 程序包的版本号无法确定。使用 --include-unknown 查看所有结果。
3 程序包拥有阻止升级的包钉。使用 'winget pin' 命令查看和编辑包钉。使用 --include-pinned 参数可能显示更多结果。

(1/1) 已找到 XMake build utility [Xmake-io.Xmake] 版本 2.8.6
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责,也不向第三方程序包授予任何许可证。
正在下载 https://github.com/xmake-io/xmake/releases/download/v2.8.6/xmake-v2.8.6.win64.exe
  ██████████████████████████████  3.80 MB / 3.80 MB
已成功验证安装程序哈希
正在启动程序包安装...
已成功安装

1 程序包的版本号无法确定。使用 --include-unknown 查看所有结果。

pwsh> xmake --version
xmake v2.8.6+HEAD.211710b67, A cross-platform build utility based on Lua
Copyright (C) 2015-present Ruki Wang, tboox.org, xmake.io
                         _
    __  ___ __  __  __ _| | ______
    \ \/ / |  \/  |/ _  | |/ / __ \
     >  <  | \__/ | /_| |   <  ___/
    /_/\_\_|_|  |_|\__ \|_|\_\____|
                         by ruki, xmake.io

    👉  Manual: https://xmake.io/#/getting_started
    🙏  Donate: https://xmake.io/#/sponsor

Tasks

  1. Azure-Pipeline-Passed Moderator-Approved New-Manifest Publish-Pipeline-Succeeded Validation-Completed
@Dragon1573 Dragon1573 added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Feb 6, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage This work item needs to be triaged by a member of the core team. label Feb 6, 2024
@stephengillie stephengillie removed the Needs-Triage This work item needs to be triaged by a member of the core team. label Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
In-PR Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants