microsoft / winget-pkgs

The Microsoft community Windows Package Manager manifest repository
MIT License
8.53k stars 4.43k forks source link

[Package Issue]: Nvidia.CUDA #174522

Open Scavy opened 1 day ago

Scavy commented 1 day ago

Please confirm these before moving forward

Category of the issue

Other

Brief description of your issue

Every time I Winget it will show that there's a new version of CUDA and on Winget install -all, it will download the full 3GB and use a long time to install the same version as was installed last time. every single time.

Name                     Id                  Version       Available     Source
-------------------------------------------------------------------------------
NVIDIA CUDA Toolkit 12.6 Nvidia.CUDA         12.6          12.6.1        winget

Steps to reproduce

Run: Winget upgrade or Winget upgrade -all

Actual behavior

It's installing the same CUDA version every time.

(1/2) Found NVIDIA CUDA Toolkit [Nvidia.CUDA] Version 12.6.1
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://developer.download.nvidia.com/compute/cuda/12.6.1/local_installers/cuda_12.6.1_560.94_windows.exe
  ██████████████████████████████  3.00 GB / 3.00 GB
Successfully verified installer hash
Starting package install...
Successfully installed

Expected behavior

It should only install a new CUDA version when there's a new one available.

Environment

Windows Package Manager v1.8.1911
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.4169
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.1911.0

Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled

Screenshots and Logs

No response

similar-issues-ai[bot] commented 1 day ago

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

aisgbnok commented 17 hours ago

I have this issue as well. It seems to be from #172785 and #172790.

See: https://github.com/microsoft/winget-pkgs/pull/172790#issuecomment-2344118246, https://github.com/microsoft/winget-pkgs/pull/172790#issuecomment-2365016969